Entries tagged “#cmake”

Sat 02 March 2019

Is it worth using make?

You may think you've created a nice and tidy Makefile, which tracks dependencies and works across many different operating systems, but ask yourself these questions (and answer honestly): Which compiler does your Makefile support? Is it GCC? Or Clang? Some of their options are pretty similar, so it may not … read more
Wed 21 November 2018

Generating preprocessed sources in CMake projects

Hi, It appears you can use CMake to quickly generate preprocessed source of your chosen .cpp file without modifying the CMakeLists.txt project file. This trick works only when your generator is make -- meaning, it won't work with the ninja builder. But still, if you're using make as your generator … read more