--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.
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake