Reputation: 319
The title says it all. I want a way equivalent to adding the "-c" flag in GCC.
Upvotes: 0
Views: 1876
Reputation: 7119
Referred questions and answers look out of date (and strange some time). Nowadays CMake is capable to do exactly what you want. All that you need is to add an object library.
Upvotes: 1