Skip to content
New issue

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

Enable catkin_make to use cmake's -C arg #376

Closed
stonier opened this issue Mar 5, 2013 · 2 comments
Closed

Enable catkin_make to use cmake's -C arg #376

stonier opened this issue Mar 5, 2013 · 2 comments

Comments

@stonier
Copy link
Contributor

stonier commented Mar 5, 2013

We use 'cmake -C ' to preload the cmake cache quite frequently when cross compiling (usually to load up platform specific variables). I'm sure others also have or will have cause to occasionally use cmake's -C arg.

catkin_make however overrides this arg ('-C' '--directory'). Could this short option tag be changed and have catkin_make drop -D, -G and -C options into the cmake_args?

@dirk-thomas
Copy link
Member

Since cmake and make both have a -C option it would be very confusion if catkin_make would pass it to only one of the tools. But we can add options which get passed to CMake - either specifically --cmake-C or generically everything behind --cmake?

@stonier
Copy link
Contributor Author

stonier commented Mar 5, 2013

I like the latter option - everything behind --cmake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants