Closed sloretz closed 6 years ago
Can you try quoting the argument? colcon build --cmake-args " -DCMAKE_BUILD_TYPE=Debug"
(from the windows nightly console output https://ci.ros2.org/view/nightly/job/nightly_win_deb/860)
Edit: Oh I missed the end of the comment, sorry about that
Addressed by the referenced PRs.
Platform: windows 10 Shell: cmd Installed via pip (freeze below)
The documentation for
--cmake-args
says arugments beginning with-
must have an escaped space in front. It looks like escaping a space does not stop colcon's argument parser from trying to parse the cmake argument using thecmd
shell on windows.Quoting a space in front of the cmake argument works fine.
Installed versions