&gt; Shouldn&#39;t this be COMPILE_FLAGS?<br><br><a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_dir:COMPILE_DEFINITIONS">http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_dir:COMPILE_DEFINITIONS</a><br>
<br>Under properties on directories<br><br> Preprocessor definitions for compiling a directory&#39;s sources.<br>
    The COMPILE_DEFINITIONS property may be set to a 
semicolon-separated list of processor definitions using the syntax 
VAR or VAR=value.  Function-style definitions are not supported.  <br><br>and Under properties on targets<br><br><a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:COMPILE_DEFINITIONS">http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:COMPILE_DEFINITIONS</a><br>
<br>Under properties on source files<br><br><a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_sf:COMPILE_DEFINITIONS">http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_sf:COMPILE_DEFINITIONS</a><br>
<br>From:<br><br><a href="https://mail.google.com/mail/?hl=en&amp;shva=1#label/CMake+Users/129d1aae591a200d">https://mail.google.com/mail/?hl=en&amp;shva=1#label/CMake+Users/129d1aae591a200d</a><br><ul><li>
    <a name="prop_tgt:COMPILE_FLAGS"><b><code>COMPILE_FLAGS</code></b></a>:
 Additional flags to use when compiling this target&#39;s sources.<br>
    <p>The COMPILE_FLAGS property sets additional compiler flags used to
 build sources within the target.  Use COMPILE_DEFINITIONS to pass 
additional preprocessor definitions.
  
  </p></li></ul>-snip-<br><pre>  CUDA_ADD_EXECUTABLE( cuda_target file0 file1 ...<br>                       [WIN32] [MACOSX_BUNDLE] [EXCLUDE_FROM_ALL] [OPTIONS ...] )<br>  -- Creates an executable &quot;cuda_target&quot; which is made up of the files<br>
     specified.  All of the non CUDA C files are compiled using the standard<br>     build rules specified by CMAKE and the cuda files are compiled to object<br>     files using nvcc and the host compiler.  In addition CUDA_INCLUDE_DIRS is<br>
     added automatically to include_directories().  Standard CMake target calls<br>     can be used on the target after calling this macro<br>     (e.g. set_target_properties and target_link_libraries).<br></pre>
    <p><br></p><pre>  CUDA_ADD_LIBRARY( cuda_target file0 file1 ...<br>                    [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [OPTIONS ...] )<br>  -- Same as CUDA_ADD_EXECUTABLE except that a library is created</pre>
<br>--end snip--<br><br>Note above reference to set_target_properties<br>
<br><br>Am I using this incorrectly?  I have tried it with/without -D prepended.  I will try COMPILE_FLAGS heck if it works maybe that&#39;s &quot;what I get for reading the instructions&quot; (CMake manual) :-).  Can I officialy call out shananigans (in reference to CMake Manual)?  Shananigans!<br>
<br><a href="http://encarta.msn.com/dictionary_/shenanigans.html">http://encarta.msn.com/dictionary_/shenanigans.html</a> (2nd definition)<br><br><br>