Files
qhttpengine/examples/chatserver/CMakeLists.txt

14 lines
239 B
CMake

set(SRC
apihandler.cpp
main.cpp
)
qt5_add_resources(QRC resources.qrc)
add_executable(chatserver ${SRC} ${QRC})
target_link_libraries(chatserver QHttpEngine)
install(TARGETS chatserver
RUNTIME DESTINATION "${EXAMPLE_DIR}"
)