CMakeLists.txt 284 B

12345678910
  1. aux_source_directory(src HTTP_SRC)
  2. include_directories(src 3rdparty)
  3. add_definitions(-DQHTTP_EXPORT)
  4. set(CMAKE_AUTOMOC ON)
  5. add_library(qhttp STATIC ${HTTP_SRC} 3rdparty/http-parser/http_parser.c)
  6. target_link_libraries(qhttp)
  7. set_target_properties(qhttp PROPERTIES CXX_STANDARD 11)