[CMake] IPhone SDK and Frameworks

2009-10-16 Thread Clemens Arth
Hi, I know this topic comes up now and then, but I could not find a sufficiently documented solution to this issue yet. I still think the know-how must be out there. I wanted to set up a project to build on the iPhone or the iPhone simulator with XCode. What I found to be most informative are

[CMake] CTest and multiple repositories

2009-10-16 Thread Martin Santa María
Hello everybody, I don't know if we can post non-cmake questions here. But I have a problem with ctest and perhaps one of you can help me. My project is build up as a directory structure. This directory structure is composed by differents checkouts from differents repositories. root

Re: [CMake] Updating cache entries on variable modification

2009-10-16 Thread Theodore Papadopoulo
Tyler Roscoe wrote: On Wed, Oct 14, 2009 at 04:59:17PM +0200, Theodore Papadopoulo wrote: We have a project which can be built either with static or dynamic libraries. The toggle is defined via an option named BUILD_SHARED which has some default value (let's say static). Unfortunately,

Re: [CMake] Endless Regeneration of Visual Studio Files

2009-10-16 Thread Mike Jackson
Just following up with this I believe there was a problem with the clock on the computer I was using as this symptom was NOT displayed on another VS 2008 installation on another computer. I ended up completely wiping out the source and pulling a new clone from the master git repository. After

[CMake] install(FILES mylib-config.cmake DESTINATION lib/myproj)

2009-10-16 Thread Mathieu Malaterre
Hi there, I am trying some new functionalities in CMake, in particular: http://www.cmake.org/Wiki/CMake_2.6_Notes#Packaging_and_Exporting However using cmake 2.8, I get an error: CMake Error at cmake_install.cmake:64 (FILE): file INSTALL cannot find

[CMake] temporary build directory for header files

2009-10-16 Thread James C. Sutherland
I have a fairly large project where the header files from various subdirectories are combined into a single include directory when the project is installed. For example, header a.h may be located in: /root/subproject1/ in the source tree, it is located in /include/MyProject/

Re: [CMake] temporary build directory for header files

2009-10-16 Thread Mike Jackson
configure_file(InputFile OutputFile [COPYONLY] [ESCAPE_QUOTES] [...@only]) The Input and Output files have to have full paths. This command replaces any variables in the input file referenced as ${VAR} or @VAR@ with their values as determined by CMake. If a variable is not defined, it will be

[CMake] Post install scripts for debian

2009-10-16 Thread as
Hello: We are using CMake to create inhouse deb packages for our project. We need to run a script after installing the package: postinst script which is possible in Debian. I don't know how to enable this from CMake - do I set some flags? Do I just put the file in a particular location? I'm not

Re: [CMake] Post install scripts for debian

2009-10-16 Thread Eric Noulard
2009/10/16 as rmct...@gmail.com: Hello: We are using CMake to create inhouse deb packages for our project. We need to run a script after installing the package: postinst script which is possible in Debian. I don't know how to enable this from CMake - do I set some flags? Do I just put the

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread John Drescher
On Fri, Oct 16, 2009 at 2:16 PM, Steven Wilson steven.wesley.wil...@gmail.com wrote: Is there a way to turn off all the extra options that CMake tries to append to compiler flags, linker flags, etc for the Visual Studio generators?   I have a project that I want to explicity control every

[CMake] Turning off extra Visual Studio options

2009-10-16 Thread Steven Wilson
Is there a way to turn off all the extra options that CMake tries to append to compiler flags, linker flags, etc for the Visual Studio generators? I have a project that I want to explicity control every option for some of my exes/libs. Thanks, Steve

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread Tyler Roscoe
On Fri, Oct 16, 2009 at 12:16:12PM -0600, Steven Wilson wrote: Is there a way to turn off all the extra options that CMake tries to append to compiler flags, linker flags, etc for the Visual Studio generators? I have a project that I want to explicity control every option for some of my

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread Philip Lowman
You may want to also look into platform override files. See the FAQ and search for override. On Oct 16, 2009 3:50 PM, Tyler Roscoe ty...@cryptio.net wrote: On Fri, Oct 16, 2009 at 12:16:12PM -0600, Steven Wilson wrote: Is there a way to turn off all the ... I don't know of an easy way. I

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread John Drescher
On Fri, Oct 16, 2009 at 4:14 PM, Philip Lowman phi...@yhbt.com wrote: You may want to also look into platform override files.   See the FAQ and search for override. Found that: http://www.itk.org/Wiki/CMake_FAQ#Make_Override_Files Thanks. I will have to bookmark that.. John

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread Steven Wilson
Thanks for the help! On Fri, Oct 16, 2009 at 2:52 PM, Philip Lowman phi...@yhbt.com wrote: Thanks for linking. Posting via mobile :) On Oct 16, 2009 4:27 PM, John Drescher dresche...@gmail.com wrote: On Fri, Oct 16, 2009 at 4:14 PM, Philip Lowman phi...@yhbt.com wrote: You may want to