-
Notifications
You must be signed in to change notification settings - Fork 299
/
CMakeLists.txt
21 lines (16 loc) · 984 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cmake_minimum_required(VERSION 3.22)
project(Sofa.Component.Constraint.Projective_test)
set(SOURCE_FILES
AffineMovementProjectiveConstraint_test.cpp
FixedProjectiveConstraint_test.cpp
FixedPlaneProjectiveConstraint_test.cpp
PartialFixedProjectiveConstraint_test.cpp
DirectionProjectiveConstraint_test.cpp
LineProjectiveConstraint_test.cpp
PlaneProjectiveConstraint_test.cpp
PointProjectiveConstraint_test.cpp
)
add_executable(${PROJECT_NAME} ${SOURCE_FILES})
target_link_libraries(${PROJECT_NAME} Sofa.Testing Sofa.Component.Topology.Testing SceneCreator)
target_link_libraries(${PROJECT_NAME} Sofa.Component.Constraint.Projective Sofa.Component.StateContainer Sofa.Component.Topology.Container.Dynamic Sofa.Component.Mass Sofa.Component.SolidMechanics.Spring Sofa.Component.MechanicalLoad Sofa.Component.LinearSolver.Iterative Sofa.Component.ODESolver.Backward Sofa.Component.Engine.Select)
add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME})