diff options
author | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
commit | 60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch) | |
tree | b2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/ThirdParty/Box2D/unit-test/CMakeLists.txt |
+init
Diffstat (limited to 'Client/ThirdParty/Box2D/unit-test/CMakeLists.txt')
-rw-r--r-- | Client/ThirdParty/Box2D/unit-test/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Client/ThirdParty/Box2D/unit-test/CMakeLists.txt b/Client/ThirdParty/Box2D/unit-test/CMakeLists.txt new file mode 100644 index 0000000..d941579 --- /dev/null +++ b/Client/ThirdParty/Box2D/unit-test/CMakeLists.txt @@ -0,0 +1,18 @@ +add_executable(unit_test + doctest.h + hello_world.cpp + collision_test.cpp + joint_test.cpp + math_test.cpp + world_test.cpp +) + +set_target_properties(unit_test PROPERTIES + CXX_STANDARD 11 + CXX_STANDARD_REQUIRED YES + CXX_EXTENSIONS NO +) +target_link_libraries(unit_test PUBLIC box2d) + +source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES doctest.h + hello_world.cpp collision_test.cpp joint_test.cpp math_test.cpp world_test.cpp ) |