Re: [CMake] get complete list of compile definitions

2017-04-04 Thread Magnus Therning
Robert Schwarzelt writes: > Hi all, > I need to implement a code export function, that will only export code used > in a specific project configuration. > For this purpose I want to use unifdef (http://dotat.at/prog/unifdef/), > which is capable of removing unused #ifdef blocks. > > The project

Re: [CMake] Is it possible to run ctest outside build tree?

2017-04-04 Thread Patrick Boettcher
Hi, Answering a little bit late: I had a similar problem I wanted to run only parts of my tests (-R) dedicated test-reports. As cmake is using absolute paths to the executable the only thing I needed to copy were the CTestFiles in all sub-directories. # copy all ctest-files to the current dir