21 Jul
2017
21 Jul
'17
8:12 p.m.
The rest can be implemented straightforwardly as cache options so that you can run cmake with options like
-Dvalgrind=OFF -Dtransactional-memory=ON -Dsegmented-stacks=ON [-D…]
Firstly, valgrind belongs in ctest, not cmake. Very easy to use there. Secondly, in cmake 3 we try not to configure things using -D as we did in cmake 2. Instead we make targets customised for that build combination. The user then chooses to make or link to those targets if they want those targets. You can, and of course do, select a small subset of the available target graphs as the default. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/