Hi, 

suppose I have one source file that is compiled with -DFOO=1 for one target 
(app_foo), and with -DBAR=1 for another target (app_bar) in the same 
CMakeLists.txt. 

How do I do that? add_definitions() seems to be applied to all targets in one 
CMakeLists.txt.

-- 
Dirk//\
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to