mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Added cmake file for httpserver
This commit is contained in:
parent
4adf80abc3
commit
19bd6b9bb3
@ -587,6 +587,7 @@ if (BUILD_DEBIAN)
|
||||
add_subdirectory(liblimesuite)
|
||||
endif (BUILD_DEBIAN)
|
||||
|
||||
add_subdirectory(httpserver)
|
||||
add_subdirectory(devices)
|
||||
add_subdirectory(plugins)
|
||||
|
||||
|
51
httpserver/CMakeLists.txt
Normal file
51
httpserver/CMakeLists.txt
Normal file
@ -0,0 +1,51 @@
|
||||
project(httpserver)
|
||||
|
||||
set(httpserver_SOURCES
|
||||
httpglobal.cpp
|
||||
httplistener.cpp
|
||||
httpconnectionhandler.cpp
|
||||
httpconnectionhandlerpool.cpp
|
||||
httprequest.cpp
|
||||
httpresponse.cpp
|
||||
httpcookie.cpp
|
||||
httprequesthandler.cpp
|
||||
httpsession.cpp
|
||||
httpsessionstore.cpp
|
||||
staticfilecontroller.cpp
|
||||
)
|
||||
|
||||
set(httpserver_HEADERS
|
||||
httpglobal.h
|
||||
httplistener.h
|
||||
httpconnectionhandler.h
|
||||
httpconnectionhandlerpool.h
|
||||
httprequest.h
|
||||
httpresponse.h
|
||||
httpcookie.h
|
||||
httprequesthandler.h
|
||||
httpsession.h
|
||||
httpsessionstore.h
|
||||
staticfilecontroller.h
|
||||
)
|
||||
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
#include(${QT_USE_FILE})
|
||||
add_definitions(${QT_DEFINITIONS})
|
||||
add_definitions(-DQT_SHARED)
|
||||
|
||||
add_library(httpserver SHARED
|
||||
${httpserver_SOURCES}
|
||||
${httpserver_HEADERS_MOC}
|
||||
)
|
||||
|
||||
target_link_libraries(httpserver
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
qt5_use_modules(httpserver Core Network)
|
||||
|
||||
install(TARGETS httpserver DESTINATION lib)
|
Loading…
Reference in New Issue
Block a user