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

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to