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

Brian Davis bitminer at gmail.com
Thu Jul 15 10:00:19 EDT 2010


--snip--
Ah you're on windows, make sure that you deselect the option to
associate the build rule with cu files as this does the wrong thing
when you're compiling the same file multiple times with different
defines.
--end snip--

Can you give me more info on this?  I have looked in CMake variables using
search in CMake GUI, and googled on the web snippets of your text, but I did
not find anything.  I'll keep looking.

B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100715/3aa104a5/attachment.htm>


More information about the CMake mailing list