No subject


Thu May 27 11:52:52 EDT 2010


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.

--e0cb4e88781179c4cf048b5e4b48
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"im">&gt;&gt; Try changing your macro into a function=20
instead.<br><br></div>I did try as you suggest and it works exactly the=20
same as if it were a macro.=A0 <br><br>From my cmake gui output debug=20
messages the macro or function is seeing the CPU_RECON and GPU_RECON.<br>
<span style=3D"color: rgb(255, 0, 0);"><br>ARG_SRCDIRS =3D </span>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CPP_SOURCES =3D gpuPMatrixRecon.cpp;CUDADeviceProperties.cpp</s=
pan></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CU_SOURCES =3D gpuPMatrixRecon.cu</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_LINK_LIBS=3D </span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">DEFINE_STR =3D CUDADeviceProperties_DLLExport=3Dyes</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">DEFINE_STR =3D GPU_RECON=3Dyes</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CU_SOURCES is defined as =3D gpuPMatrixRecon.cu</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_SRCDIRS =3D </span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CPP_SOURCES =3D gpuPMatrixRecon.cpp;CUDADeviceProperties.cpp</s=
pan></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CU_SOURCES =3D gpuPMatrixRecon.cu</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_LINK_LIBS=3D </span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">DEFINE_STR =3D CUDADeviceProperties_DLLExport=3Dyes</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">DEFINE_STR =3D CPU_RECON=3Dyes</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CU_SOURCES is defined as =3D gpuPMatrixRecon.cu</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">INSTALL_PREFIX/include =3D C:/Users/bdavis5/Documents/QS/QS-NIH/sou=
rce/branches/trunk/build/Windows-6.0/install/include</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_SRCDIRS =3D </span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CPP_SOURCES =3D fmt.cpp</span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CU_SOURCES =3D </span></p>
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_LINK_LIBS=3D </span></p><div class=3D"im">
<p style=3D"margin: 0px; text-indent: 0px;"><span style=3D"color: rgb(255, =
0, 0);">ARG_CU_SOURCES is not defined</span></p><br></div>Thanks for the
 idea through... any others?<br><font color=3D"#888888"><br>B.</font>

--e0cb4e88781179c4cf048b5e4b48--


More information about the CMake mailing list