I'm trying to use CLion (latest version - 2019.3) to work on a source repository of mine, which already uses CMake (i.e. has a CMakeLists.txt
). Now, the package has some options regarding which targets to build; by default it builds just a few, but if you set an option to ON
, then a bunch of tests are compiled and built.
Unfortunately, I don't quite see where CLion lets you set CMake option values for the build subdirectories it generates. Is it really forcing the defaults on you, or am I missing something in the main UI or the preferences?
-D
options in CMake options field? – Winegar