[CMake] COMPILE_FLAGS

Filipe Sousa natros at gmail.com
Mon Mar 26 12:38:07 EST 2007


Kishore, Jonnalagadda (IE10) wrote:
> Is there a variable with all the compile options concatenated? A
> variable with common CMAKE_C_FLAGS + CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE} +
> ADD_DEFINITIONS() + INCLUDE_DIRECTORIES?
> 
>  
> 
> I am looking for this for passing them to the assembler macro where I
> use ADD_CUSTOM_COMMAND.
> 
>  
> 
> What are variables where the information for each of the above is
> stored? Especially for ADD_DEFINITIONS and INCLUDE_DIRECTORIES.

GET_DIRECTORY_PROPERTY(defs DEFINITIONS)
GET_DIRECTORY_PROPERTY(includes INCLUDE_DIRECTORIES)

--
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070326/1d80eb19/signature.pgp


More information about the CMake mailing list