Re: [CMake] Problem with Xcode... solved?

2008-07-16 Thread Carminati Federico
Hello, I think you are right. Best, Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 79480 Mobile: +41 76 487 4843 On 16 Jul 2008, at 14:22, Bill Hoffman wrote: Carminati Federico wrote: OK, I solved this by defining the command as DYLD_LIBRARY_PATH

Re: [CMake] Problem with Xcode... solved?

2008-07-16 Thread Bill Hoffman
Carminati Federico wrote: OK, I solved this by defining the command as DYLD_LIBRARY_PATH= rootcint but this is platform specific and not very nice Sounds like rootcint needs to be built better or installed better. Not really cmake's fault. -Bill ___

Re: [CMake] Problem with Xcode... solved?

2008-07-16 Thread Carminati Federico
OK, I solved this by defining the command as DYLD_LIBRARY_PATH= rootcint but this is platform specific and not very nice Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 79480 Mobile: +41 76 487 4843 On 15 Jul 2008, at 17:57, Bill Hoffman wro

Re: [CMake] Problem with Xcode... solved?

2008-07-15 Thread Bill Hoffman
Carminati Federico wrote: Dear Bill, this works, however this program loads shared libs supposed to be in a directory pointed to by DYLD_LIBRARY_PATH, so it fails to load. Any idea? Best regards, Build the program so that it uses built in run-time paths. The only other option is to run

Re: [CMake] Problem with Xcode... solved?

2008-07-15 Thread Carminati Federico
Dear Bill, this works, however this program loads shared libs supposed to be in a directory pointed to by DYLD_LIBRARY_PATH, so it fails to load. Any idea? Best regards, Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 79480 Mobile: +41 76 487 4843

Re: [CMake] Problem with Xcode... solved?

2008-07-15 Thread Bill Hoffman
Carminati Federico wrote: As part of my make process I am running a custom program that usually is in my path in a non-standard directory. When I try building the target with Xcode, the PATH variable is not affected by my shell settings, and it default to the standard on my machine. This does

Re: [CMake] Problem with Xcode... solved?

2008-07-15 Thread Carminati Federico
Hello Bill, See below Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 79480 Mobile: +41 76 487 4843 On 15 Jul 2008, at 16:30, Bill Hoffman wrote: Carminati Federico wrote: Hello Bill, thanks a lot for your answer. I have few more questions: 1. I

Re: [CMake] Problem with Xcode... solved?

2008-07-15 Thread Bill Hoffman
Carminati Federico wrote: Hello Bill, thanks a lot for your answer. I have few more questions: 1. I am running some custom commands in the makefile. Of course Xcode does not have hte path. Should I quote them with the full path or can I indicate a path to xcode via cmake? I am not sure w

Re: [CMake] Problem with Xcode... solved?

2008-07-15 Thread Bill Hoffman
Carminati Federico wrote: Hello, following my previous posting, I have identified the problem with Xcode generation. The following CMakeList.txt would generate correct Unix Makefiles but wrong Xcode project Project(Test) Cmake_Minimum_Required(VERSION 2.6) Set(CMAKE_VERBOSE_MAKEFILE ON) S

[CMake] Problem with Xcode... solved?

2008-07-15 Thread Carminati Federico
Hello, following my previous posting, I have identified the problem with Xcode generation. The following CMakeList.txt would generate correct Unix Makefiles but wrong Xcode project Project(Test) Cmake_Minimum_Required(VERSION 2.6) Set(CMAKE_VERBOSE_MAKEFILE ON) Set_source_files_propertie