mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 15:51:47 -05:00
1df07b21ae
Add BUILD_BENCH, BUILD_SHARED_LIBS, ENABLE_AARONIARTSA and ENABLE_METIS options.
48 lines
865 B
CMake
48 lines
865 B
CMake
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
|
|
httplistenersettings.h
|
|
httpdocrootsettings.h
|
|
httpsessionssettings.h
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
)
|
|
|
|
add_library(httpserver
|
|
${httpserver_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(httpserver
|
|
Qt::Core
|
|
Qt::Network
|
|
)
|
|
|
|
install(TARGETS httpserver DESTINATION ${INSTALL_LIB_DIR})
|