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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to