[CMake] How to get ADD_DEFINITIONS variable?

"Sören Freudiger" muffmolch at gmx.de
Tue Nov 17 04:40:09 EST 2009


Hi @all
In our project we are several times adding preprocessor defines via ADD_DEFINITIONS.
Now I need to get these defines to add them for a ADD_CUSTOM_COMMAND (pre build via swig ).

The documentations says that these defines are stored in 
	COMPILE_DEFINITIONS
but this variable is empty!!!

Is there any way to obtain the preprocessor defines?

Best,
SirAnn

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the CMake mailing list