[CMake] Setting compile defs with: Cuda, add_subdirectory, and set_target_properties (COMPILE_DEFINITIONS)

Brian Davis bitminer at gmail.com
Mon Aug 16 16:21:59 EDT 2010


One more thing for thoes interested DEFINITIONS_STRING is set in the
following manner:

--snip--
    set( DEFINITIONS_STRING )
    foreach( DEFINE_STR ${ARG_DEFINES} )
        set( DEFINITIONS_STRING ${DEFINITIONS_STRING} -D${DEFINE_STR} )

    endforeach()
--end snip--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100816/27cb4b62/attachment.htm>


More information about the CMake mailing list