[CMake] FindGSL.cmake

2008-07-09 Thread Joel Pitt
Hi all, I recently asked Jan.. one of the authors of FindGSL.cmake, whether he would mind have the script under the BSD license so that it could be included with the standard CMake modules. He said that it would be fine so long as the author names remain in the file. Please find the file

Re: [CMake] Problem with Static Pattern Rules

2008-07-09 Thread Carminati Federico
Dear Alex, Thanks a lot for the answer. Now I hit another problem. I have to add a command of the kind Foreach(_checkFile ${CXXSRCS}) String(REGEX REPLACE ([^;]*).cxx ${CMAKE_CURRENT_BINARY_DIR}/ check/\\1.viol _violFile ${_checkFile}) Set(_command ${CMAKE_CXX_COMPILER} -E

[CMake] Building Mac kext from CMake

2008-07-09 Thread Tim Schooley
Hi folks! Has anyone managed to take an XCode project (yuk) and build it from CMake? I have a kernel extension that I would like to build from CMake in order to include it in CPack. I guess I could just add a custom target, but I was hoping someone may have a better suggestion. Thanks for any

[CMake] Rpath removed from installed libraries?

2008-07-09 Thread George Petasis
Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is built, -Wl,-rpath,... is added to the compiler flags. Also, I can see the rpath of the built with readelf -d. But the installed shared library has no rpath, and readelf -d does

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Alexander Neundorf
On Wednesday 09 July 2008, George Petasis wrote: Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is built, -Wl,-rpath,... is added to the compiler flags. Also, I can see the rpath of the built with readelf -d. But the

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Georgios Petasis
O/H Alexander Neundorf ??: On Wednesday 09 July 2008, George Petasis wrote: Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is built, -Wl,-rpath,... is added to the compiler flags. Also, I can see the rpath of the built

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Alexander Neundorf
On Wednesday 09 July 2008, Georgios Petasis wrote: O/H Alexander Neundorf ??: On Wednesday 09 July 2008, George Petasis wrote: Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is built, -Wl,-rpath,... is added to the

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Georgios Petasis
O/H Alexander Neundorf ??: On Wednesday 09 July 2008, Georgios Petasis wrote: O/H Alexander Neundorf ??: On Wednesday 09 July 2008, George Petasis wrote: Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Alexander Neundorf
On Wednesday 09 July 2008, Georgios Petasis wrote: O/H Alexander Neundorf ??: ... Which dirs are that exactly ? Are they all outside the build dir ? Alex Two are in the build dir, but one is the perl library, in /usr/lib/perl5/ I think that one should stay... Could you try to

[CMake] custom_command from cmake macros?

2008-07-09 Thread cOre dUmPeR
Hello All. I wrote some cmake macros to generate some header files. The macros read text files and generate different headers based on an option the user determines. Now since these are macros, the headers are generated at cmake time. I think what I really want, is for these header files to be

Re: [CMake] custom_command from cmake macros?

2008-07-09 Thread Alexander Neundorf
On Wednesday 09 July 2008, cOre dUmPeR wrote: Hello All. I wrote some cmake macros to generate some header files. The macros read text files and generate different headers based on an option the user determines. Now since these are macros, the headers are generated at cmake time. I think

Re: [CMake] Building Mac kext from CMake

2008-07-09 Thread Alan W. Irwin
On 2008-07-09 12:28-0400 Sean McBride wrote: On 7/9/08 5:06 PM, Tim Schooley said: I have a kernel extension that I would like to build from CMake in order to include it in CPack. You are very likely the first to try that, and I'd be surprised if it went smoothly. IIRC, building kexts