On 6/4/2012 12:35 PM, David Cole wrote:
On Mon, Jun 4, 2012 at 3:26 PM, James Walker <[email protected]
<mailto:[email protected]>> 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)


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?


Aha, you're right. I hadn't even noticed that there was an install target, I just expected the executable target to put the executable in the right place. Thanks!


--
  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

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

Reply via email to