33 lines
619 B
CMake
Executable File
33 lines
619 B
CMake
Executable File
# Modified CMakeLists.txt from github.com/wille-io/httq
|
|
|
|
set(src
|
|
include/http_parser.h
|
|
include/http_parser.c # TODO: move out of include dir
|
|
|
|
include/httq/AbstractServer.h
|
|
include/httq/DataStream.h
|
|
include/httq/HttpRequest.h
|
|
include/httq/Logger.h
|
|
|
|
AbstractServer.cpp
|
|
DataStream.cpp
|
|
HttpRequest.cpp
|
|
Logger.cpp
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(SV WS httq SHARED ${src})
|
|
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(httq
|
|
PUBLIC
|
|
${CMAKE_CURRENT_BINARY_DIR}/../ # export file
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/
|
|
)
|
|
|
|
NGL_TARGET_LINK_LIBRARIES(httq
|
|
Qt5::Core
|
|
Qt5::Network
|
|
Qt5::WebSockets
|
|
)
|
|
|
|
NGL_INSTALL_TARGET(httq)
|