From f33fd04448141554eab8f4de378e1d40c1d0d212 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Fri, 22 Mar 2024 12:35:28 -0700 Subject: [PATCH] [app] Update required DART version to 6.14.0 --- examples/atlas_puppet/CMakeLists.txt | 2 +- examples/atlas_simbicon/CMakeLists.txt | 2 +- examples/biped_stand/CMakeLists.txt | 2 +- examples/box_stacking/CMakeLists.txt | 2 +- .../glut_add_delete_skels/CMakeLists.txt | 2 +- .../glut_atlas_simbicon/CMakeLists.txt | 2 +- .../glut_biped_stand/CMakeLists.txt | 2 +- .../glut_hardcoded_design/CMakeLists.txt | 2 +- .../glut_human_joint_limits/CMakeLists.txt | 2 +- .../glut_hybrid_dynamics/CMakeLists.txt | 2 +- .../glut_joint_constraints/CMakeLists.txt | 2 +- .../glut_mixed_chain/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../glut_rigid_chain/CMakeLists.txt | 2 +- .../glut_rigid_cubes/CMakeLists.txt | 2 +- .../glut_rigid_loop/CMakeLists.txt | 2 +- .../glut_rigid_shapes/CMakeLists.txt | 2 +- .../glut_simple_frames/CMakeLists.txt | 2 +- .../glut_soft_bodies/CMakeLists.txt | 2 +- .../glut_vehicle/CMakeLists.txt | 2 +- examples/drag_and_drop/CMakeLists.txt | 2 +- examples/empty/CMakeLists.txt | 2 +- examples/fetch/CMakeLists.txt | 2 +- examples/heightmap/CMakeLists.txt | 2 +- examples/hello_world/CMakeLists.txt | 2 +- examples/hubo_puppet/CMakeLists.txt | 2 +- examples/imgui/CMakeLists.txt | 2 +- .../operational_space_control/CMakeLists.txt | 2 +- examples/point_cloud/CMakeLists.txt | 2 +- examples/rerun/CMakeLists.txt | 19 +++++++++++++++++++ examples/rigid_shapes/CMakeLists.txt | 2 +- examples/soft_bodies/CMakeLists.txt | 2 +- examples/speed_test/CMakeLists.txt | 2 +- examples/tinkertoy/CMakeLists.txt | 2 +- examples/wam_ikfast/CMakeLists.txt | 2 +- tutorials/tutorial_biped/CMakeLists.txt | 2 +- .../tutorial_biped_finished/CMakeLists.txt | 2 +- tutorials/tutorial_collisions/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- tutorials/tutorial_dominoes/CMakeLists.txt | 2 +- .../tutorial_dominoes_finished/CMakeLists.txt | 2 +- .../tutorial_multi_pendulum/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- 43 files changed, 61 insertions(+), 42 deletions(-) create mode 100644 examples/rerun/CMakeLists.txt diff --git a/examples/atlas_puppet/CMakeLists.txt b/examples/atlas_puppet/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/atlas_puppet/CMakeLists.txt +++ b/examples/atlas_puppet/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/atlas_simbicon/CMakeLists.txt b/examples/atlas_simbicon/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/atlas_simbicon/CMakeLists.txt +++ b/examples/atlas_simbicon/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/biped_stand/CMakeLists.txt b/examples/biped_stand/CMakeLists.txt index 431236bf07ff5..4119a1700da82 100644 --- a/examples/biped_stand/CMakeLists.txt +++ b/examples/biped_stand/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/box_stacking/CMakeLists.txt b/examples/box_stacking/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/box_stacking/CMakeLists.txt +++ b/examples/box_stacking/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_add_delete_skels/CMakeLists.txt b/examples/deprecated_examples/glut_add_delete_skels/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_add_delete_skels/CMakeLists.txt +++ b/examples/deprecated_examples/glut_add_delete_skels/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_atlas_simbicon/CMakeLists.txt b/examples/deprecated_examples/glut_atlas_simbicon/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_atlas_simbicon/CMakeLists.txt +++ b/examples/deprecated_examples/glut_atlas_simbicon/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_biped_stand/CMakeLists.txt b/examples/deprecated_examples/glut_biped_stand/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_biped_stand/CMakeLists.txt +++ b/examples/deprecated_examples/glut_biped_stand/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_hardcoded_design/CMakeLists.txt b/examples/deprecated_examples/glut_hardcoded_design/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_hardcoded_design/CMakeLists.txt +++ b/examples/deprecated_examples/glut_hardcoded_design/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_human_joint_limits/CMakeLists.txt b/examples/deprecated_examples/glut_human_joint_limits/CMakeLists.txt index 216948dc4284a..e9bfe3ff405ec 100644 --- a/examples/deprecated_examples/glut_human_joint_limits/CMakeLists.txt +++ b/examples/deprecated_examples/glut_human_joint_limits/CMakeLists.txt @@ -41,7 +41,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_hybrid_dynamics/CMakeLists.txt b/examples/deprecated_examples/glut_hybrid_dynamics/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_hybrid_dynamics/CMakeLists.txt +++ b/examples/deprecated_examples/glut_hybrid_dynamics/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_joint_constraints/CMakeLists.txt b/examples/deprecated_examples/glut_joint_constraints/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_joint_constraints/CMakeLists.txt +++ b/examples/deprecated_examples/glut_joint_constraints/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_mixed_chain/CMakeLists.txt b/examples/deprecated_examples/glut_mixed_chain/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_mixed_chain/CMakeLists.txt +++ b/examples/deprecated_examples/glut_mixed_chain/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_operational_space_control/CMakeLists.txt b/examples/deprecated_examples/glut_operational_space_control/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_operational_space_control/CMakeLists.txt +++ b/examples/deprecated_examples/glut_operational_space_control/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_rigid_chain/CMakeLists.txt b/examples/deprecated_examples/glut_rigid_chain/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_rigid_chain/CMakeLists.txt +++ b/examples/deprecated_examples/glut_rigid_chain/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_rigid_cubes/CMakeLists.txt b/examples/deprecated_examples/glut_rigid_cubes/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_rigid_cubes/CMakeLists.txt +++ b/examples/deprecated_examples/glut_rigid_cubes/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_rigid_loop/CMakeLists.txt b/examples/deprecated_examples/glut_rigid_loop/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_rigid_loop/CMakeLists.txt +++ b/examples/deprecated_examples/glut_rigid_loop/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_rigid_shapes/CMakeLists.txt b/examples/deprecated_examples/glut_rigid_shapes/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_rigid_shapes/CMakeLists.txt +++ b/examples/deprecated_examples/glut_rigid_shapes/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_simple_frames/CMakeLists.txt b/examples/deprecated_examples/glut_simple_frames/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_simple_frames/CMakeLists.txt +++ b/examples/deprecated_examples/glut_simple_frames/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_soft_bodies/CMakeLists.txt b/examples/deprecated_examples/glut_soft_bodies/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_soft_bodies/CMakeLists.txt +++ b/examples/deprecated_examples/glut_soft_bodies/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/deprecated_examples/glut_vehicle/CMakeLists.txt b/examples/deprecated_examples/glut_vehicle/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/deprecated_examples/glut_vehicle/CMakeLists.txt +++ b/examples/deprecated_examples/glut_vehicle/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/drag_and_drop/CMakeLists.txt b/examples/drag_and_drop/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/drag_and_drop/CMakeLists.txt +++ b/examples/drag_and_drop/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/empty/CMakeLists.txt b/examples/empty/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/empty/CMakeLists.txt +++ b/examples/empty/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/fetch/CMakeLists.txt b/examples/fetch/CMakeLists.txt index a57d0b9fd39c3..dfc622f5cdbb0 100644 --- a/examples/fetch/CMakeLists.txt +++ b/examples/fetch/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/heightmap/CMakeLists.txt b/examples/heightmap/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/heightmap/CMakeLists.txt +++ b/examples/heightmap/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/hello_world/CMakeLists.txt b/examples/hello_world/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/hello_world/CMakeLists.txt +++ b/examples/hello_world/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/hubo_puppet/CMakeLists.txt b/examples/hubo_puppet/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/hubo_puppet/CMakeLists.txt +++ b/examples/hubo_puppet/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/imgui/CMakeLists.txt b/examples/imgui/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/imgui/CMakeLists.txt +++ b/examples/imgui/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/operational_space_control/CMakeLists.txt b/examples/operational_space_control/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/operational_space_control/CMakeLists.txt +++ b/examples/operational_space_control/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/point_cloud/CMakeLists.txt b/examples/point_cloud/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/point_cloud/CMakeLists.txt +++ b/examples/point_cloud/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/rerun/CMakeLists.txt b/examples/rerun/CMakeLists.txt new file mode 100644 index 0000000000000..7d117e0fec73e --- /dev/null +++ b/examples/rerun/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required(VERSION 3.22.1) + +get_filename_component(example_name ${CMAKE_CURRENT_LIST_DIR} NAME) + +project(${example_name}) + +set(required_components utils-urdf) +set(required_libraries dart dart-utils-urdf) + +if(DART_IN_SOURCE_BUILD) + dart_build_example_in_source(${example_name} LINK_LIBRARIES ${required_libraries}) + return() +endif() + +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) + +file(GLOB srcs "*.cpp" "*.hpp") +add_executable(${example_name} ${srcs}) +target_link_libraries(${example_name} PUBLIC ${required_libraries}) diff --git a/examples/rigid_shapes/CMakeLists.txt b/examples/rigid_shapes/CMakeLists.txt index 1df3296777517..ca226d839c86c 100644 --- a/examples/rigid_shapes/CMakeLists.txt +++ b/examples/rigid_shapes/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/soft_bodies/CMakeLists.txt b/examples/soft_bodies/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/soft_bodies/CMakeLists.txt +++ b/examples/soft_bodies/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/speed_test/CMakeLists.txt b/examples/speed_test/CMakeLists.txt index b6fc5aac5fb20..e912116a765b7 100644 --- a/examples/speed_test/CMakeLists.txt +++ b/examples/speed_test/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/tinkertoy/CMakeLists.txt b/examples/tinkertoy/CMakeLists.txt index 29e3dd7042e68..444b2dfbfee04 100644 --- a/examples/tinkertoy/CMakeLists.txt +++ b/examples/tinkertoy/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/examples/wam_ikfast/CMakeLists.txt b/examples/wam_ikfast/CMakeLists.txt index cc33dadd81f3b..9cb6799ea98f7 100644 --- a/examples/wam_ikfast/CMakeLists.txt +++ b/examples/wam_ikfast/CMakeLists.txt @@ -14,7 +14,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_biped/CMakeLists.txt b/tutorials/tutorial_biped/CMakeLists.txt index 4b0e7c88deaa8..7d82e65fe177d 100644 --- a/tutorials/tutorial_biped/CMakeLists.txt +++ b/tutorials/tutorial_biped/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_biped_finished/CMakeLists.txt b/tutorials/tutorial_biped_finished/CMakeLists.txt index 4b0e7c88deaa8..7d82e65fe177d 100644 --- a/tutorials/tutorial_biped_finished/CMakeLists.txt +++ b/tutorials/tutorial_biped_finished/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_collisions/CMakeLists.txt b/tutorials/tutorial_collisions/CMakeLists.txt index 7714e174ffff8..a7d0ac8a2b66c 100644 --- a/tutorials/tutorial_collisions/CMakeLists.txt +++ b/tutorials/tutorial_collisions/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_collisions_finished/CMakeLists.txt b/tutorials/tutorial_collisions_finished/CMakeLists.txt index 7714e174ffff8..a7d0ac8a2b66c 100644 --- a/tutorials/tutorial_collisions_finished/CMakeLists.txt +++ b/tutorials/tutorial_collisions_finished/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_dominoes/CMakeLists.txt b/tutorials/tutorial_dominoes/CMakeLists.txt index 7714e174ffff8..a7d0ac8a2b66c 100644 --- a/tutorials/tutorial_dominoes/CMakeLists.txt +++ b/tutorials/tutorial_dominoes/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_dominoes_finished/CMakeLists.txt b/tutorials/tutorial_dominoes_finished/CMakeLists.txt index 7714e174ffff8..a7d0ac8a2b66c 100644 --- a/tutorials/tutorial_dominoes_finished/CMakeLists.txt +++ b/tutorials/tutorial_dominoes_finished/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_multi_pendulum/CMakeLists.txt b/tutorials/tutorial_multi_pendulum/CMakeLists.txt index 7714e174ffff8..a7d0ac8a2b66c 100644 --- a/tutorials/tutorial_multi_pendulum/CMakeLists.txt +++ b/tutorials/tutorial_multi_pendulum/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs}) diff --git a/tutorials/tutorial_multi_pendulum_finished/CMakeLists.txt b/tutorials/tutorial_multi_pendulum_finished/CMakeLists.txt index 7714e174ffff8..a7d0ac8a2b66c 100644 --- a/tutorials/tutorial_multi_pendulum_finished/CMakeLists.txt +++ b/tutorials/tutorial_multi_pendulum_finished/CMakeLists.txt @@ -12,7 +12,7 @@ if(DART_IN_SOURCE_BUILD) return() endif() -find_package(DART 6.6.0 REQUIRED COMPONENTS ${required_components} CONFIG) +find_package(DART 6.14.0 REQUIRED COMPONENTS ${required_components} CONFIG) file(GLOB srcs "*.cpp" "*.hpp") add_executable(${example_name} ${srcs})