Open stonier opened 3 years ago
Attempting to switch the order (i.e. put args.path
to the end) in:
Q: Are there any ramifications to moving the specified source directory to the end of this list of arguments?
This makes sense to me. @dirk-thomas ?
@stonier would you be willing to submit a patch?
Sounds reasonable to me. I haven't tried or tested the suggestion though.
So, loads fine, but fails because it confuses the initial cache path with the source directory. Digging into an example of the actual command that colcon uses for cmake (use
--log-level=debug
with colcon):Here the source directory is specified prior to the
-C
argument (as well as the other arguments). While this works for other cmake args, it does not work for the-C
argument. In addition, this would appear not to be a cmake problem - cmake does in fact suggest options should come first:Q: Are there any ramifications to moving the specified source directory to the end of this list of arguments?