[cmake-developers] [CMake 0012352]: Error in the formation of variable versions of

2011-07-20 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12352 == Reported By:Dubrovskiy Viacheslav Assigned To:

[cmake-developers] [CMake 0012353]: The error in files and FindQt3.cmake FindQt4.cmake

2011-07-20 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12353 == Reported By:Dubrovskiy Viacheslav Assigned To:

Re: [cmake-developers] Avoid merging stderr/stdout in RunSingleCommand

2011-07-20 Thread Johan Björk
Hi Brad, Finally got around to fix this properly. Let me know what you think. Cheers /Johan On Mon, May 16, 2011 at 6:58 PM, Brad King brad.k...@kitware.com wrote: On 05/16/2011 10:05 AM, Johan Björk wrote: Would it be possible to change the verbose flag to output the results on the

[cmake-developers] [CMake 0012354]: Support for new modules in OpenSceneGraph 3.0 is missing

2011-07-20 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12354 == Reported By:Leandro Motta Barros Assigned To:

[CMake] Disabling regexing paths?

2011-07-20 Thread Jookia
Greetings from the world of CMake problems, I've been using CMake for a while (love it!) but a while back I sent my project off to a person and he tried to generate the CMake project, but it failed. Why? Because he for some reason keeps all his data in /s . So when CMake had the path

[CMake] failures on windows INSTALL target: file INSTALL cannot copy file

2011-07-20 Thread Florian Reinhard
Hi! I just compiled cmake on windows7 x64 with MinGW but the make install fails: -- Installing: C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/SquishRunTestCase.bat CMake Error at cmake_install.cmake:35 (FILE): file INSTALL cannot copy file

Re: [CMake] failures on windows INSTALL target: file INSTALL cannot copy file

2011-07-20 Thread Lecourt Maxime
I have been using CMake and MinGW and I had problems when using the Program Files (x86) directory. Changing to another directory without special characters ( ) solved the problem for me. Regards, Maxime Le 20/07/2011 11:31, Florian Reinhard a écrit : Hi! I just compiled cmake on windows7

Re: [CMake] failures on windows INSTALL target: file INSTALL cannot copy file

2011-07-20 Thread Florian Reinhard
2011/7/20 Lecourt Maxime maxime.leco...@gmail.com: Changing to another directory without special characters ( ) solved the problem for me. Thank you, overriding the default install prefix for cmake fixed this for me too. Maybe this should be added to the Readme.txt as long as there is no fix

Re: [CMake] How to fetch exit status of INSTALL(CODE ...)

2011-07-20 Thread Jean-Christophe Fillion-Robin
Hi Marcel, Aware I won't be answering your question regarding the exit code associated with INSTALL(CODE ...), I still would like to suggest you an approach that could help you addressing your issue. What about byte-compiling the python source at build time ? In that case, the build step would

Re: [CMake] How to fetch exit status of INSTALL(CODE ...)

2011-07-20 Thread Marcel Loose
Hi Jc, Thanks for the tip. It makes sense to let the build fail early (i.e. during compilation, instead of installation). I'll take it into consideration. Regards, Marcel Loose. On Wed, 2011-07-20 at 06:41 -0400, Jean-Christophe Fillion-Robin wrote: Hi Marcel, Aware I won't be answering

Re: [CMake] Disabling regexing paths?

2011-07-20 Thread Bill Hoffman
On 7/20/2011 2:18 AM, Jookia wrote: Greetings from the world of CMake problems, I've been using CMake for a while (love it!) but a while back I sent my project off to a person and he tried to generate the CMake project, but it failed. Why? Because he for some reason keeps all his data in /s .

[CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-20 Thread Florian Reinhard
Hi, in 2.8.4 i added these lines to my project and had .asm files compiled correctly: ...set C/CXX compiler and how they are called... ENABLE_LANGUAGE(ASM) SET (CMAKE_ASM_COMPILE_OBJECT CMAKE_C_COMPILER -fr=OBJECT_DIR -eo=.asm.obj DEFINES FLAGS SOURCE) PROJECT (myproject) ...add soruces,

Re: [CMake] Add linker command file to object files

2011-07-20 Thread Florian Reinhard
Hi Michael, Thank you for that long and well explained resonse! I just gave your EXTERNAL_OBJECT approach with a patched cmake version a try. Unfortunately this is just almost a solution. That way the linker.cmd appears in the list of files that are fed to the linker, but it doesn't keep the

Re: [CMake] Generating C++ code from Idl language with variable number of files as output

2011-07-20 Thread Clifford Yapp
On Mon, Jul 18, 2011 at 8:42 AM, Valentin-Daniel Boca db...@eservicios.indracompany.com wrote: gen_code xxx.idl - xxxIdl.h, xxxIdl.cc, xWrappers.h and xxxWData.h So for every keyword struct there is one more file generated. The first three files are always the same. Given this, I can't know

Re: [CMake] How to fetch exit status of INSTALL(CODE ...)

2011-07-20 Thread David Cole
To produce an error from an install(CODE snippet, simply add: if(error) message(FATAL_ERROR \error message here\) endif() inside the CODE based on some other error flag also in your CODE... On Wed, Jul 20, 2011 at 7:45 AM, Marcel Loose lo...@astron.nl wrote: Hi Jc, Thanks for the

[CMake] Fwd: How pass a -spec parameter to FindQt4.cmake?

2011-07-20 Thread Daniel Näslund
-- Forwarded message -- From: Daniel Näslund dan...@dannas.name Date: Wed, Jul 20, 2011 at 4:41 PM Subject: Re: [CMake] How pass a -spec parameter to FindQt4.cmake? To: clin...@elemtech.com clin...@elemtech.com Hi Clint and thanks for your advices (sorry about the delayed

Re: [CMake] Fwd: How pass a -spec parameter to FindQt4.cmake?

2011-07-20 Thread Eric Noulard
2011/7/20 Daniel Näslund dan...@dannas.name: Then, if you need to help it some more, you may set the path to the QtCore library manually, or other variables manually. Managed to compile and link when I added the following snippet to the toolchain file:    set(QT_HEADERS_DIR

Re: [CMake] How to fetch exit status of INSTALL(CODE ...)

2011-07-20 Thread Marcel Loose
Thanks David, I never realized you can use just about any CMake-construct inside CODE... Regards, Marcel Loose. On Wed, 2011-07-20 at 10:41 -0400, David Cole wrote: To produce an error from an install(CODE snippet, simply add: if(error) message(FATAL_ERROR \error message here\)

[CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Marcel Loose
Hi all, As a spin-off of my question earlier today on INSTALL(CODE...) -- http://www.mail-archive.com/cmake@cmake.org/msg37292.html -- I followed the link https://github.com/commontk/CTK/blob/master/CMake/ctkMacroCompilePythonScript.cmake that was supplied in the first reply and finally arrived

Re: [CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Jean-Christophe Fillion-Robin
Hi Marcel, Before CMAKE_PARSE_ARGUMENT [1] was integrated (11 months ago by Alex Neundorf), within CTK, we created a macro named ctkMacroParseArgument based on [2]. We will need to re-evaluate which minimum version of CMake we want to depend on and if possible, use the one provided by CMake. If

[CMake] Shouldn't CMAKE_VERBOSE_MAKEFILE add SuppressStartupBannerfalse/... to VS 2010 vcxproj files?

2011-07-20 Thread Niels Dekker - address until 2014
When I choose Visual Studio 9 (MSVC 2008) as generator, switching on CMAKE_VERBOSE_MAKEFILE causes an extra line in the generated vcproj file, saying: SuppressStartupBanner=FALSE However, when I choose Visual Studio 10 (MSVC 2010), switching on CMAKE_VERBOSE_MAKEFILE does not seem to have

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-20 Thread Alexander Neundorf
On Wednesday 20 July 2011, Florian Reinhard wrote: Hi, in 2.8.4 i added these lines to my project and had .asm files compiled correctly: ...set C/CXX compiler and how they are called... ENABLE_LANGUAGE(ASM) SET (CMAKE_ASM_COMPILE_OBJECT CMAKE_C_COMPILER -fr=OBJECT_DIR -eo=.asm.obj

Re: [CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Alexander Neundorf
On Wednesday 20 July 2011, Jean-Christophe Fillion-Robin wrote: Hi Marcel, Before CMAKE_PARSE_ARGUMENT [1] was integrated (11 months ago by Alex Neundorf), within CTK, we created a macro named ctkMacroParseArgument based on [2]. Yes, so it is in cmake since 2.8.3. Alex

Re: [CMake] Disabling regexing paths?

2011-07-20 Thread Jookia
Running the follow file causes problems: if(NOT ${CMAKE_BINARY_DIR} MATCHES ${CMAKE_SOURCE_DIR}) endif() ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] Fwd: How pass a -spec parameter to FindQt4.cmake?

2011-07-20 Thread Daniel Näslund
On Wed, Jul 20, 2011 at 4:52 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/7/20 Daniel Näslund dan...@dannas.name:    set(QT_HEADERS_DIR /opt/env/lenny-ppc/usr/lib)    set(QT_LIBRARY_DIR /opt/env/lenny-ppc/usr/include/qt4) May those two should be reversed ? HEADER seems to point to lib

Re: [CMake] Disabling regexing paths?

2011-07-20 Thread Michael Wild
On 07/21/2011 07:07 AM, Jookia wrote: Running the follow file causes problems: if(NOT ${CMAKE_BINARY_DIR} MATCHES ${CMAKE_SOURCE_DIR}) endif() MATCHES matches the LHS string against the regex on the RHS. Probably you wanted to use STREQUAL instead. Michael