]> git.proxmox.com Git - ceph.git/blame - ceph/src/Beast/test/CMakeLists.txt
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / test / CMakeLists.txt
CommitLineData
7c673cae
FG
1# Part of Beast
2
3GroupSources(extras/beast extras)
4GroupSources(include/beast beast)
5GroupSources(test "/")
6
7add_executable (lib-tests
8 ${BEAST_INCLUDES}
9 ${EXTRAS_INCLUDES}
10 ../extras/beast/unit_test/main.cpp
11 config.cpp
12 core.cpp
13 http.cpp
14 version.cpp
15 websocket.cpp
16 zlib.cpp
17)
18
19if (NOT WIN32)
20 target_link_libraries(lib-tests ${Boost_LIBRARIES} Threads::Threads)
21else()
22 target_link_libraries(lib-tests ${Boost_LIBRARIES})
23endif()
24
25if (MINGW)
26 set_target_properties(lib-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj")
27endif()