Re: [CMake] CMake list and Single square brackets

2009-07-27 Thread t m
Looks like a bug. Submitted: http://public.kitware.com/Bug/view.php?id=9317 Regards, Tomek. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

[CMake] Script running gcc does not come back

2009-07-27 Thread Jörg Förstner
Hi, I try to bypass CMake's direct call of gcc, by running a script compile.sh instead. The script would allow me to first extend the gcc arguments to my needs and then call gcc. After calling make everything is built fine, but in the end, the prompt does not come back. I have to press CTRL-C

[CMake] Conditional install

2009-07-27 Thread rozelak
Dear all, I would like to ask, if CMake supports something like conditional installation. My CMakeLists.txt includes the following: # The source files of the application (binary) add_directory(src) # The subdirectories with the required libraries. They are included # through svn:externals #

Re: [CMake] Conditional install

2009-07-27 Thread Tyler Roscoe
On Mon, Jul 27, 2009 at 04:19:48PM +0200, roze...@volny.cz wrote: When 'make' is called, both libraries are built and then STATICALLY linked to the application - works perfectly. However, when 'make install' is called, the libraries are installed as well (right, they contain INSTALL()

Re: [CMake] Script running gcc does not come back

2009-07-27 Thread Jörg Förstner
Hi, I could solve the problem in the meantime. I've put exit at the end of the script and I found out that calling g++ also with the linker flags was a problem. @Tyler: With this script I've now solved the problem adding -frandom-seed=checksum to gcc's argument list by bypassing the direct

Re: [CMake] How to handle generated arguments list in CMake

2009-07-27 Thread Jörg Förstner
Hi Carter, Maybe my solution may help you too: Please see my latest thread/post with the subject Script running gcc does not come back. I had the problem how to add an option -frandom-seed=checksum-of-source-file to the gcc call. Joerg Von:

[CMake] TRY_COMPILE help...

2009-07-27 Thread Ashwin Chandra
I am using a custom compiler and during the initialization of CMake, the CMakeTestCCompiler.cmake is invoked which tries to compile a simple program. However the compile fails it is because of the flags passed to the compiler. For example, the command line that is generated by CMake is:

[CMake] GUI or commandline

2009-07-27 Thread Steven Wilson
Is there a programmatic way for a CMakeLists.txt file to determine if it is being processed by the command line cmake or the gui cmake? Thanks, Steve ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] GUI or commandline

2009-07-27 Thread Bill Hoffman
Steven Wilson wrote: Is there a programmatic way for a CMakeLists.txt file to determine if it is being processed by the command line cmake or the gui cmake? No, but it should not matter -Bill ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] specific target to gettext

2009-07-27 Thread alexis lameire
grumf :/ i have try this, can you help me to look what that don't match http://pastie.org/561035 he don't compile the po file :/ and i don't found the mo target dependancies From: alexisis-pristont...@hotmail.com To: cmake@cmake.org Subject: RE: [CMake] specific target to gettext Date: Sun, 26