ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Check this:
OPTION(BUILD_PACKAGE_X "Build package X")
# switch it ON or OFF depending on what you want
set(BUILD_PACKAGE_X ON)
if (BUILD_PACKAGE_X)
# put all your CMakeLists text
#endif()
Another solution:
put an empty file with the name CATKIN_IGNORE
into the package directory.
2 | No.2 Revision |
Check this:Add this to your CMakeLists.txt :
OPTION(BUILD_PACKAGE_X "Build package X")
# switch it ON or OFF depending on what you want
set(BUILD_PACKAGE_X ON)
if (BUILD_PACKAGE_X)
# put all your CMakeLists text
#endif()
Another solution:
put an empty file with the name CATKIN_IGNORE
into the package directory.
3 | No.3 Revision |
Add this to your CMakeLists.txt :
OPTION(BUILD_PACKAGE_X "Build package X")
# switch it ON or OFF depending on what you want
set(BUILD_PACKAGE_X ON)
if (BUILD_PACKAGE_X)
# put all paste your CMakeLists text
text here
#endif()
Another solution:
put an empty file with the name CATKIN_IGNORE
into the package directory.