CMakeLists.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. add_executable(oatppAllTests
  2. oatpp/AllTestsMain.cpp
  3. oatpp/core/base/CommandLineArgumentsTest.cpp
  4. oatpp/core/base/CommandLineArgumentsTest.hpp
  5. oatpp/core/base/RegRuleTest.cpp
  6. oatpp/core/base/RegRuleTest.hpp
  7. oatpp/core/base/collection/LinkedListTest.cpp
  8. oatpp/core/base/collection/LinkedListTest.hpp
  9. oatpp/core/base/memory/MemoryPoolTest.cpp
  10. oatpp/core/base/memory/MemoryPoolTest.hpp
  11. oatpp/core/base/memory/PerfTest.cpp
  12. oatpp/core/base/memory/PerfTest.hpp
  13. oatpp/core/data/mapping/type/TypeTest.cpp
  14. oatpp/core/data/mapping/type/TypeTest.hpp
  15. oatpp/core/data/share/MemoryLabelTest.cpp
  16. oatpp/core/data/share/MemoryLabelTest.hpp
  17. oatpp/encoding/Base64Test.cpp
  18. oatpp/encoding/Base64Test.hpp
  19. oatpp/encoding/UnicodeTest.cpp
  20. oatpp/encoding/UnicodeTest.hpp
  21. oatpp/network/virtual_/InterfaceTest.cpp
  22. oatpp/network/virtual_/InterfaceTest.hpp
  23. oatpp/network/virtual_/PipeTest.cpp
  24. oatpp/network/virtual_/PipeTest.hpp
  25. oatpp/parser/json/mapping/DTOMapperPerfTest.cpp
  26. oatpp/parser/json/mapping/DTOMapperPerfTest.hpp
  27. oatpp/parser/json/mapping/DTOMapperTest.cpp
  28. oatpp/parser/json/mapping/DTOMapperTest.hpp
  29. oatpp/parser/json/mapping/DeserializerTest.cpp
  30. oatpp/parser/json/mapping/DeserializerTest.hpp
  31. oatpp/web/FullAsyncTest.cpp
  32. oatpp/web/FullAsyncTest.hpp
  33. oatpp/web/FullTest.cpp
  34. oatpp/web/FullTest.hpp
  35. oatpp/web/app/Client.hpp
  36. oatpp/web/app/Controller.hpp
  37. oatpp/web/app/ControllerAsync.hpp
  38. oatpp/web/app/DTOs.hpp
  39. )
  40. target_link_libraries(oatppAllTests PRIVATE oatpp PRIVATE oatpp-test)
  41. set_target_properties(oatppAllTests PROPERTIES
  42. CXX_STANDARD 11
  43. CXX_EXTENSIONS OFF
  44. CXX_STANDARD_REQUIRED ON
  45. )
  46. target_include_directories(oatppAllTests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
  47. target_compile_definitions(oatppAllTests
  48. PRIVATE OATPP_ENABLE_ALL_TESTS_MAIN
  49. )
  50. add_test(oatppAllTests oatppAllTests)