mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00

read-only but can be used as regular user which means writing KDED module for it and a bit of config glue code can shape it into the perfect replacement for SMB and NFS shares that requires only a web browser client side (without JS too): https://ibb.co/Dw1V7n0 Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
20 lines
470 B
CMake
20 lines
470 B
CMake
project(khttpd)
|
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|
find_package(KDE4 4.19.0 REQUIRED)
|
|
include(KDE4Defaults)
|
|
include_directories(${KDE4_INCLUDES})
|
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
endif()
|
|
|
|
set(khttpd_sources
|
|
khttpd.cpp
|
|
)
|
|
|
|
add_executable(khttpd ${khttpd_sources})
|
|
target_link_libraries(khttpd
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KDNSSD_LIBS}
|
|
)
|
|
|
|
install(TARGETS khttpd DESTINATION ${KDE4_BIN_INSTALL_DIR})
|