CMakeLists.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. add_executable(oatppAllTests
  2. oatpp/AllTestsMain.cpp
  3. oatpp/core/async/LockTest.cpp
  4. oatpp/core/async/LockTest.hpp
  5. oatpp/core/base/CommandLineArgumentsTest.cpp
  6. oatpp/core/base/CommandLineArgumentsTest.hpp
  7. oatpp/core/base/RegRuleTest.cpp
  8. oatpp/core/base/RegRuleTest.hpp
  9. oatpp/core/base/collection/LinkedListTest.cpp
  10. oatpp/core/base/collection/LinkedListTest.hpp
  11. oatpp/core/base/memory/MemoryPoolTest.cpp
  12. oatpp/core/base/memory/MemoryPoolTest.hpp
  13. oatpp/core/base/memory/PerfTest.cpp
  14. oatpp/core/base/memory/PerfTest.hpp
  15. oatpp/core/data/mapping/type/TypeTest.cpp
  16. oatpp/core/data/mapping/type/TypeTest.hpp
  17. oatpp/core/data/share/MemoryLabelTest.cpp
  18. oatpp/core/data/share/MemoryLabelTest.hpp
  19. oatpp/core/data/stream/ChunkedBufferTest.cpp
  20. oatpp/core/data/stream/ChunkedBufferTest.hpp
  21. oatpp/core/parser/CaretTest.cpp
  22. oatpp/core/parser/CaretTest.hpp
  23. oatpp/encoding/Base64Test.cpp
  24. oatpp/encoding/Base64Test.hpp
  25. oatpp/encoding/UnicodeTest.cpp
  26. oatpp/encoding/UnicodeTest.hpp
  27. oatpp/network/UrlTest.cpp
  28. oatpp/network/UrlTest.hpp
  29. oatpp/network/virtual_/InterfaceTest.cpp
  30. oatpp/network/virtual_/InterfaceTest.hpp
  31. oatpp/network/virtual_/PipeTest.cpp
  32. oatpp/network/virtual_/PipeTest.hpp
  33. oatpp/parser/json/mapping/DTOMapperPerfTest.cpp
  34. oatpp/parser/json/mapping/DTOMapperPerfTest.hpp
  35. oatpp/parser/json/mapping/DTOMapperTest.cpp
  36. oatpp/parser/json/mapping/DTOMapperTest.hpp
  37. oatpp/parser/json/mapping/DeserializerTest.cpp
  38. oatpp/parser/json/mapping/DeserializerTest.hpp
  39. oatpp/web/mime/multipart/StatefulParserTest.cpp
  40. oatpp/web/mime/multipart/StatefulParserTest.hpp
  41. oatpp/web/server/api/ApiControllerTest.cpp
  42. oatpp/web/server/api/ApiControllerTest.hpp
  43. oatpp/web/FullAsyncTest.cpp
  44. oatpp/web/FullAsyncTest.hpp
  45. oatpp/web/FullTest.cpp
  46. oatpp/web/FullTest.hpp
  47. oatpp/web/app/Client.hpp
  48. oatpp/web/app/Controller.hpp
  49. oatpp/web/app/ControllerAsync.hpp
  50. oatpp/web/app/DTOs.hpp
  51. oatpp/web/FullAsyncClientTest.cpp
  52. oatpp/web/FullAsyncClientTest.hpp
  53. )
  54. target_link_libraries(oatppAllTests PRIVATE oatpp PRIVATE oatpp-test)
  55. set_target_properties(oatppAllTests PROPERTIES
  56. CXX_STANDARD 11
  57. CXX_EXTENSIONS OFF
  58. CXX_STANDARD_REQUIRED ON
  59. )
  60. target_include_directories(oatppAllTests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
  61. target_compile_definitions(oatppAllTests
  62. PRIVATE OATPP_ENABLE_ALL_TESTS_MAIN
  63. )
  64. add_test(oatppAllTests oatppAllTests)