[CMake] SET_TARGET_PROPERTIES & COMPILE_DEFINITIONS

Micha Renner Micha.Renner at t-online.de
Wed Apr 22 08:34:28 EDT 2009


Hi,

How can I add more definitions to the target?

In this example:
SET_TARGET_PROPERTIES(${_targetname} PROPERTIES 
	COMPILE_DEFINITIONS "myDefs=\"${flag}\" FC_CACHEDIR=\"${FC_CACHEDIR}\"
FONTCONFIG_PATH=\"${FONTCONFIG_PATH}\"")

only "myDefs" is added. 

Micha




More information about the CMake mailing list