Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bodydynamics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
bodydynamics
Commits
b32654e7
Commit
b32654e7
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Plain Diff
Merge branch 'devel' into 'master'
Release after RAL See merge request
!18
parents
701b437b
c0927fc3
No related branches found
No related tags found
1 merge request
!18
Release after RAL
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
demos/CMakeLists.txt
+65
-63
65 additions, 63 deletions
demos/CMakeLists.txt
with
65 additions
and
63 deletions
demos/CMakeLists.txt
+
65
−
63
View file @
b32654e7
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fext-numeric-literals"
)
# necessary for files using boost
FIND_PACKAGE
(
pinocchio
RE
QUI
RED
)
FIND_PACKAGE
(
multicontact-api
RE
QUI
RED
)
FIND_PACKAGE
(
pinocchio QUI
ET
)
FIND_PACKAGE
(
multicontact-api QUI
ET
)
# SYSTEM disables warnings from library headers
include_directories
(
SYSTEM
${
PINOCCHIO_INCLUDE_DIRS
}
)
add_library
(
mcapi_utils mcapi_utils.cpp
)
# add_executable(mcapi_povcdl_estimation mcapi_povcdl_estimation.cpp)
# target_link_libraries(mcapi_povcdl_estimation
# mcapi_utils
# ${wolfcore_LIBRARIES}
# ${wolfimu_LIBRARIES}
# ${PLUGIN_NAME}
# ${multicontact-api_LIBRARIES}
# ${pinocchio_LIBRARIES}
# )
# target_compile_definitions(mcapi_povcdl_estimation PRIVATE ${PINOCCHIO_CFLAGS_OTHER})
# add_executable(mcapi_pov_estimation mcapi_pov_estimation.cpp)
# target_link_libraries(mcapi_pov_estimation
# mcapi_utils
# ${wolfcore_LIBRARIES}
# ${wolfimu_LIBRARIES}
# ${PLUGIN_NAME}
# ${multicontact-api_LIBRARIES}
# ${pinocchio_LIBRARIES}
# )
# target_compile_definitions(mcapi_pov_estimation PRIVATE ${PINOCCHIO_CFLAGS_OTHER})
add_executable
(
solo_real_povcdl_estimation solo_real_povcdl_estimation.cpp
)
target_link_libraries
(
solo_real_povcdl_estimation
mcapi_utils
${
wolfcore_LIBRARIES
}
${
wolfimu_LIBRARIES
}
${
PLUGIN_NAME
}
${
pinocchio_LIBRARIES
}
/usr/local/lib/libcnpy.so
z
)
add_executable
(
solo_real_pov_estimation solo_real_pov_estimation.cpp
)
target_link_libraries
(
solo_real_pov_estimation
mcapi_utils
${
wolfcore_LIBRARIES
}
${
wolfimu_LIBRARIES
}
${
PLUGIN_NAME
}
${
pinocchio_LIBRARIES
}
/usr/local/lib/libcnpy.so
z
)
add_executable
(
solo_mocap_imu solo_mocap_imu.cpp
)
target_link_libraries
(
solo_mocap_imu
${
wolfcore_LIBRARIES
}
${
wolfimu_LIBRARIES
}
${
PLUGIN_NAME
}
${
pinocchio_LIBRARIES
}
/usr/local/lib/libcnpy.so
z
)
if
(
pinocchio_FOUND
)
# SYSTEM disables warnings from library headers
include_directories
(
SYSTEM
${
PINOCCHIO_INCLUDE_DIRS
}
)
add_library
(
mcapi_utils mcapi_utils.cpp
)
# add_executable(mcapi_povcdl_estimation mcapi_povcdl_estimation.cpp)
# target_link_libraries(mcapi_povcdl_estimation
# mcapi_utils
# ${wolfcore_LIBRARIES}
# ${wolfimu_LIBRARIES}
# ${PLUGIN_NAME}
# ${multicontact-api_LIBRARIES}
# ${pinocchio_LIBRARIES}
# )
# target_compile_definitions(mcapi_povcdl_estimation PRIVATE ${PINOCCHIO_CFLAGS_OTHER})
# add_executable(mcapi_pov_estimation mcapi_pov_estimation.cpp)
# target_link_libraries(mcapi_pov_estimation
# mcapi_utils
# ${wolfcore_LIBRARIES}
# ${wolfimu_LIBRARIES}
# ${PLUGIN_NAME}
# ${multicontact-api_LIBRARIES}
# ${pinocchio_LIBRARIES}
# )
# target_compile_definitions(mcapi_pov_estimation PRIVATE ${PINOCCHIO_CFLAGS_OTHER})
add_executable
(
solo_real_povcdl_estimation solo_real_povcdl_estimation.cpp
)
target_link_libraries
(
solo_real_povcdl_estimation
mcapi_utils
${
wolfcore_LIBRARIES
}
${
wolfimu_LIBRARIES
}
${
PLUGIN_NAME
}
${
pinocchio_LIBRARIES
}
/usr/local/lib/libcnpy.so
z
)
add_executable
(
solo_real_pov_estimation solo_real_pov_estimation.cpp
)
target_link_libraries
(
solo_real_pov_estimation
mcapi_utils
${
wolfcore_LIBRARIES
}
${
wolfimu_LIBRARIES
}
${
PLUGIN_NAME
}
${
pinocchio_LIBRARIES
}
/usr/local/lib/libcnpy.so
z
)
add_executable
(
solo_mocap_imu solo_mocap_imu.cpp
)
target_link_libraries
(
solo_mocap_imu
${
wolfcore_LIBRARIES
}
${
wolfimu_LIBRARIES
}
${
PLUGIN_NAME
}
${
pinocchio_LIBRARIES
}
/usr/local/lib/libcnpy.so
z
)
endif
()
# add_executable(test_cnpy test_cnpy.cpp)
# target_link_libraries(test_cnpy
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment