[CMake] build location when using Xcode generator

David Cole david.cole at kitware.com
Mon Jun 4 15:35:47 EDT 2012


On Mon, Jun 4, 2012 at 3:26 PM, James Walker <jamesw at frameforge3d.com>wrote:

> Hi, I am new to CMake and trying to get started on the Smartbody project (
> http://smartbody.ict.usc.edu/**).  The project was set up to use the Unix
> makefiles generator, but I switched it to Xcode because that's more
> familiar to me.  However, the executable is not going where it's supposed
> to.  In CMakeLists.txt, it says
>
> install(
>
>        TARGETS ${EXEC_LIST}
>        RUNTIME DESTINATION core/smartbody/sbm/bin
> )
>
> but when I look in the Xcode build settings for the target, the path
> core/smartbody/sbm/bin is not present under Build Locations or Installation
> Directory or anywhere else.  Any suggestions?
>
> (In case it matters: OS X 10.6.8, Xcode 3.2.6, CMake 2.8.8)
> --
>  James W. Walker, Innoventive Software LLC
>  <http://www.frameforge3d.com/>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>


Your path should appear in the file "cmake_install.cmake" which is run as a
CMake -P script when you build the install target.

Do the files appear in the expected location after building the install
target?


HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120604/13691eaf/attachment.htm>


More information about the CMake mailing list