summaryrefslogtreecommitdiff
path: root/Client/ThirdParty/Box2D/unit-test/CMakeLists.txt
blob: d9415793c4840f8c1ef359c0cb8aca240e0bd613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 )