CMakeLists.txt 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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/buffer/ProcessorTest.cpp
  16. oatpp/core/data/buffer/ProcessorTest.hpp
  17. oatpp/core/data/mapping/type/TypeTest.cpp
  18. oatpp/core/data/mapping/type/TypeTest.hpp
  19. oatpp/core/data/share/LazyStringMapTest.cpp
  20. oatpp/core/data/share/LazyStringMapTest.hpp
  21. oatpp/core/data/share/MemoryLabelTest.cpp
  22. oatpp/core/data/share/MemoryLabelTest.hpp
  23. oatpp/core/data/stream/BufferStreamTest.cpp
  24. oatpp/core/data/stream/BufferStreamTest.hpp
  25. oatpp/core/data/stream/ChunkedBufferTest.cpp
  26. oatpp/core/data/stream/ChunkedBufferTest.hpp
  27. oatpp/core/parser/CaretTest.cpp
  28. oatpp/core/parser/CaretTest.hpp
  29. oatpp/encoding/Base64Test.cpp
  30. oatpp/encoding/Base64Test.hpp
  31. oatpp/encoding/UnicodeTest.cpp
  32. oatpp/encoding/UnicodeTest.hpp
  33. oatpp/network/ConnectionPoolTest.cpp
  34. oatpp/network/ConnectionPoolTest.hpp
  35. oatpp/network/UrlTest.cpp
  36. oatpp/network/UrlTest.hpp
  37. oatpp/network/virtual_/InterfaceTest.cpp
  38. oatpp/network/virtual_/InterfaceTest.hpp
  39. oatpp/network/virtual_/PipeTest.cpp
  40. oatpp/network/virtual_/PipeTest.hpp
  41. oatpp/parser/json/mapping/DTOMapperPerfTest.cpp
  42. oatpp/parser/json/mapping/DTOMapperPerfTest.hpp
  43. oatpp/parser/json/mapping/DTOMapperTest.cpp
  44. oatpp/parser/json/mapping/DTOMapperTest.hpp
  45. oatpp/parser/json/mapping/DeserializerTest.cpp
  46. oatpp/parser/json/mapping/DeserializerTest.hpp
  47. oatpp/web/protocol/http/encoding/ChunkedTest.cpp
  48. oatpp/web/protocol/http/encoding/ChunkedTest.hpp
  49. oatpp/web/mime/multipart/StatefulParserTest.cpp
  50. oatpp/web/mime/multipart/StatefulParserTest.hpp
  51. oatpp/web/server/api/ApiControllerTest.cpp
  52. oatpp/web/server/api/ApiControllerTest.hpp
  53. oatpp/web/server/handler/AuthorizationHandlerTest.cpp
  54. oatpp/web/server/handler/AuthorizationHandlerTest.hpp
  55. oatpp/web/ClientRetryTest.cpp
  56. oatpp/web/ClientRetryTest.hpp
  57. oatpp/web/PipelineTest.cpp
  58. oatpp/web/PipelineTest.hpp
  59. oatpp/web/PipelineAsyncTest.cpp
  60. oatpp/web/PipelineAsyncTest.hpp
  61. oatpp/web/FullAsyncTest.cpp
  62. oatpp/web/FullAsyncTest.hpp
  63. oatpp/web/FullTest.cpp
  64. oatpp/web/FullTest.hpp
  65. oatpp/web/FullAsyncClientTest.cpp
  66. oatpp/web/FullAsyncClientTest.hpp
  67. oatpp/web/app/Client.hpp
  68. oatpp/web/app/BearerAuthorizationController.hpp
  69. oatpp/web/app/BasicAuthorizationController.hpp
  70. oatpp/web/app/Controller.hpp
  71. oatpp/web/app/ControllerAsync.hpp
  72. oatpp/web/app/DTOs.hpp
  73. oatpp/web/app/ControllerWithInterceptors.hpp
  74. oatpp/web/app/ControllerWithInterceptorsAsync.hpp
  75. )
  76. target_link_libraries(oatppAllTests PRIVATE oatpp PRIVATE oatpp-test)
  77. set_target_properties(oatppAllTests PROPERTIES
  78. CXX_STANDARD 11
  79. CXX_EXTENSIONS OFF
  80. CXX_STANDARD_REQUIRED ON
  81. )
  82. target_include_directories(oatppAllTests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
  83. target_compile_definitions(oatppAllTests
  84. PRIVATE OATPP_ENABLE_ALL_TESTS_MAIN
  85. )
  86. add_test(oatppAllTests oatppAllTests)