We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make packages built by developers with colcon respect the symlink-install argument from the command line.
symlink-install
This is very convenient for developers who are rapidly iterating on files that shouldn't require a "make install" every time.
colcon_ros accomplishes this by setting an additional flag AMENT_CMAKE_SYMLINK_INSTALL=1 to be passed to the cmake invocation: https://github.com/colcon/colcon-ros/blob/d7a66047e5aac95ee31eee2ef837f76919e2be9e/colcon_ros/task/ament_cmake/build.py#L50-L53
colcon_ros
AMENT_CMAKE_SYMLINK_INSTALL=1
Given this flag, ament_cmake then overrides the default cmake install() behavior such that symlinks are used, rather than actually copying the files: https://github.com/ament/ament_cmake/tree/966930aca4f8a0b57245a8da9e7be45861de17fc/ament_cmake_core/cmake/symlink_install
ament_cmake
install()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Desired behavior
Make packages built by developers with colcon respect the
symlink-install
argument from the command line.This is very convenient for developers who are rapidly iterating on files that shouldn't require a "make install" every time.
Implementation suggestion
colcon_ros
accomplishes this by setting an additional flagAMENT_CMAKE_SYMLINK_INSTALL=1
to be passed to the cmake invocation: https://github.com/colcon/colcon-ros/blob/d7a66047e5aac95ee31eee2ef837f76919e2be9e/colcon_ros/task/ament_cmake/build.py#L50-L53Given this flag,
ament_cmake
then overrides the default cmakeinstall()
behavior such that symlinks are used, rather than actually copying the files: https://github.com/ament/ament_cmake/tree/966930aca4f8a0b57245a8da9e7be45861de17fc/ament_cmake_core/cmake/symlink_installThe text was updated successfully, but these errors were encountered: