CMakeLists.txt 254 B

12345678
  1. aux_source_directory(src HTTP_SRC)
  2. include_directories(http-parser)
  3. add_library(http-parser STATIC http-parser/http_parser.c)
  4. set(CMAKE_AUTOMOC ON)
  5. add_library(qhttpserver STATIC ${HTTP_SRC} ${PARSER_SRC})
  6. target_link_libraries(qhttpserver http-parser)