Ask Your Question

How to use ament_ignore

asked 2018-05-24 06:59:24 -0600

aks gravatar image

Lets say in my src directory I have 5 packages wherein I dont want to build one...How can i use ament_ignore ?

ament build --symlink-install --AMENT_IGNORE package5

SOmething like this ? and what does symlink install do ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-24 07:44:32 -0600

marguedas gravatar image

To skip building specific packages in your workspace you can use the --skip-packages argument for ament: From ament --help:

--skip-packages [SKIP_PACKAGES [SKIP_PACKAGES ...]] Set of packages to skip

AMENT_IGNORE is a marker file that can be dropped in any directory of your workspace. This will tell the build tool to not enter that directory. It is similar to ROS1's CATKIN_IGNORE

For more information about symlink install you can refer to the "Optional symlinked install" section of the ament design article


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-05-24 06:59:24 -0600

Seen: 151 times

Last updated: May 24 '18