2 #-----------------------------------------------------------------------------
3 # MACRO TO ADD A COMPILER DEFINITION WHICH ADDS ALSO THE DEF
4 # INTO DOXYGEN PREDEFINED VAR
5 # (OTHERWISE DOXYGEN WOULD NOT PARSE THE FILES BLOCKED)
7 MESSAGE(STATUS "* Added definition -D${DEF}")
8 ADD_DEFINITIONS( -D${DEF} )
10 ${CREA_DEFINITIONS};${DEF}
15 MARK_AS_ADVANCED(CREA_DEFINITIONS)
17 #-----------------------------------------------------------------------------
19 #-----------------------------------------------------------------------------
20 # MACRO TO ADD A COMPILER DEFINITION WITH VALUE WHICH ADDS ALSO THE DEF
21 # INTO DOXYGEN PREDEFINED VAR
22 # (OTHERWISE DOXYGEN WOULD NOT PARSE THE FILES BLOCKED)
23 MACRO(CREA_DEFINE_WITH_VAL DEF VAL)
24 MESSAGE(STATUS "* Added definition -D${DEF}=${VAL}")
25 ADD_DEFINITIONS( -D${DEF}=${VAL} )
27 ${CREA_DEFINITIONS};${DEF}=${VAL}
32 MARK_AS_ADVANCED(CREA_DEFINITIONS)
33 ENDMACRO(CREA_DEFINE_WITH_VAL)
34 #-----------------------------------------------------------------------------