kde-playground/khttpd/CMakeLists.txt
Ivailo Monev 9686bc5943 khttpd: new app for directories sharing
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>
2022-05-05 01:26:18 +03:00

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})