[CMake] build location when using Xcode generator
James Walker
jamesw at frameforge3d.com
Mon Jun 4 17:22:08 EDT 2012
On 6/4/2012 12:35 PM, David Cole wrote:
> On Mon, Jun 4, 2012 at 3:26 PM, James Walker <jamesw at frameforge3d.com
> <mailto: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)
> 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/>
More information about the CMake
mailing list