No subject


Mon Aug 10 18:29:21 EDT 2009


TS</div><div>=A0=A0&quot;${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/&qu=
ot;)</div><div><br></div><div>Looks like you do not have a &quot;PROJECT&qu=
ot; statement in your top level CMakeLists.txt file. If you did, the second=
 component of=A0CPACK_INSTALL_CMAKE_PROJECTS would not be the empty string.=
....</div>
<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br></div=
><div><br></div><div class=3D"gmail_quote">On Thu, Aug 13, 2009 at 8:50 AM,=
 Karl Reite <span dir=3D"ltr">&lt;<a href=3D"mailto:Karl.J.Reite at sintef.no"=
>Karl.J.Reite at sintef.no</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hi,<br>
<br>
My problem is that I can not get CPack to create an installer for my projec=
t. I have done this before with success, but this time I can not figure out=
 the problem.<br>
<br>
I work in Visual Studio 2005 SP1. The project compiles without errors. When=
 i try to build the &quot;PACKAGE&quot; project (this calls CPack), I get t=
he error:<br>
<br>
CPack Error: Not enough items on list: CPACK_INSTALL_CMAKE_PROJECTS. CPACK_=
INSTALL_CMAKE_PROJECTS should hold quadruplet of install directory, install=
 project name, install component, and install subdirectory.<br>
<br>
I have tried to remove all install commands and CPack commands except &quot=
;INCLUDE(CPack)&quot;, but still the same error. I notice that the file CPa=
ckConfig.cmake contains the line:<br>
SET(CPACK_INSTALL_CMAKE_PROJECTS &quot;C:/_work/_SSR/IPR/projects/!Demo/bui=
ld/dynamicvis;;ALL;/&quot;)<br>
<br>
But the file CpackSourceConfig.cmake contains the coresponding line<br>
SET(CPACK_INSTALL_CMAKE_PROJECTS &quot;&quot;)<br>
<br>
I am hoping someone may have a clue to what is causing this.<br>
<br>
Thanks,<br>
Karl<br>
<br>
_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href=3D"http:/=
/www.cmake.org/Wiki/CMake_FAQ" target=3D"_blank">http://www.cmake.org/Wiki/=
CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"http://www.cmake.org/mailman/listinfo/cmake" target=3D"_blank">h=
ttp://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>

--000e0cd30fe8d0d2af047107b782--


More information about the CMake mailing list