[CMake] cmake and buildvariants
John Beuving
johnbeuving at gmail.com
Mon Jan 10 11:04:47 EST 2011
I have the following software setup where I need to have build variants
providing different builds for the same (sub)project
- worker ( calls the Qt Processevents function if Qt is enabled for
this project (#define USE_WORKER_QT)
- gui app (uses Qt)
- console app (normal application used for data export)
So the gui application uses Qt and needs to use the worker static
library with the define USE_WORKER_QT set
and the console application needs a variant build of the worker library
where USE_WORKER_QT is not set.
How can I achieve this. Is this even possible with cmake ??
John
More information about the CMake
mailing list