>> Try changing your macro into a function instead. I did try as you suggest and it works exactly the same as if it were a macro.
>From my cmake gui output debug messages the macro or function is seeing the CPU_RECON and GPU_RECON. ARG_SRCDIRS = ARG_CPP_SOURCES = gpuPMatrixRecon.cpp;CUDADeviceProperties.cpp ARG_CU_SOURCES = gpuPMatrixRecon.cu ARG_LINK_LIBS= DEFINE_STR = CUDADeviceProperties_DLLExport=yes DEFINE_STR = GPU_RECON=yes ARG_CU_SOURCES is defined as = gpuPMatrixRecon.cu ARG_SRCDIRS = ARG_CPP_SOURCES = gpuPMatrixRecon.cpp;CUDADeviceProperties.cpp ARG_CU_SOURCES = gpuPMatrixRecon.cu ARG_LINK_LIBS= DEFINE_STR = CUDADeviceProperties_DLLExport=yes DEFINE_STR = CPU_RECON=yes ARG_CU_SOURCES is defined as = gpuPMatrixRecon.cu INSTALL_PREFIX/include = C:/Users/bdavis5/Documents/QS/QS-NIH/source/branches/trunk/build/Windows-6.0/install/include ARG_SRCDIRS = ARG_CPP_SOURCES = fmt.cpp ARG_CU_SOURCES = ARG_LINK_LIBS= ARG_CU_SOURCES is not defined Thanks for the idea through... any others? 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
