Re: [CMake] How to invoke 64 bit cmd.exe from cmake script onWindows 7 (x64).

2010-08-23 Thread Rolf Eike Beer
Am Monday 23 August 2010 schrieb Eric Noulard: > I'm not a windows expert but since execute_process somehow > Fork/CreateThread/CreateProcess from 32 bits CMake I doubt > that this 32bits app may fork a 64bits one. You can start a 64 bit process from a 32 one as you can do the other way round. Y

[CMake] Proposal for fixing DESTDIR and absolute installed files for DEB and RPM

2010-08-23 Thread Eric Noulard
Hi All, I've just updated a proposal for fixing the long running issue: http://public.kitware.com/Bug/view.php?id=7000 Patches are on the tracker of changes may be pulled from: http://github.com/TheErk/CMake/tree/CPack-FixDESTDIR-Issue7000 -- Erk Membre de l'April - « promouvoir et défendre le

Re: [CMake] Setting CMAKE_CXX_FLAGS..., CMAKE_C_FLAGS... and CMAKE_C_STANDARD_LIBRARIES_INIT and friends on a per target basis

2010-08-23 Thread Brian Davis
I'll give COMPILE_FLAGS another try. There is always a chance with how I was using it that it had no effect or a bug/typo in my usage.. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensou

Re: [CMake] Support for multiple components in cpack (reloaded)

2010-08-23 Thread Eric Noulard
2010/8/23 Clinton Stimpson : > On 08/22/2010 10:47 AM, Eric Noulard wrote: >> >> 2010/8/22 Eric Noulard: >> >>> >>> 2010/8/21 Clinton Stimpson: >>> I wondered if one would typically use groups if their project contained sub projects, and the sub projects had different conventions for

Re: [CMake] Support for multiple components in cpack (reloaded)

2010-08-23 Thread Kishore
On Monday 23 Aug 2010 7:57:28 pm Clinton Stimpson wrote: > On 08/22/2010 10:47 AM, Eric Noulard wrote: > > 2010/8/22 Eric Noulard: > >> 2010/8/21 Clinton Stimpson: > >>> I wondered if one would typically use groups if their project contained > >>> sub projects, and the sub projects had different co

Re: [CMake] Support for multiple components in cpack (reloaded)

2010-08-23 Thread Clinton Stimpson
On 08/22/2010 10:47 AM, Eric Noulard wrote: 2010/8/22 Eric Noulard: 2010/8/21 Clinton Stimpson: I wondered if one would typically use groups if their project contained sub projects, and the sub projects had different conventions for the component names. I do not usually wor

Re: [CMake] Problem with CTest and configuration specific binary paths

2010-08-23 Thread David Cole
The behavior you're seeing is intentional. In CMake itself we do the following 3 things to force a configuration even if the user does not run ctest with -C : (1) In the main CMakeLists.txt file: # Set up test-time configuration. SET_DIRECTORY_PROPERTIES(PROPERTIES TEST_INCLUDE_FILE "${CMa

Re: [CMake] Problem with CTest and configuration specific binary paths

2010-08-23 Thread Iman Brouwer
Hi Michael, I had tried the syntax you mention: ADD_TEST(NAME "python test" COMMAND ${PYTHON_EXECUTABLE} $) But what happened is that the test gets put in configuration-dependent if statements, e.g. the cTestTestfile.cmake looks similar to: IF("${CTEST_CONFIGURATION_TYPE}" MATCHES "^([D

Re: [CMake] How to invoke 64 bit cmd.exe from cmake script onWindows 7 (x64).

2010-08-23 Thread Eric Noulard
2010/8/23 Alexander Tarnopolsky : > Thanks for prompt reply. > > In a simple case I invoke just interactive shell using full path to > 64bit cmd.exe : > > file (TO_NATIVE_PATH "$ENV{COMSPEC}" SHELL) > SET (ARGS /k) > execute_process (COMMAND ${SHELL} ${ARGS}) > > Still I see that the cmd process ru

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-23 Thread Brad King
On 08/21/2010 03:31 AM, Claus Klein wrote: > can you please check if this may related also to this BUG: > > http://cmake.org/Bug/view.php?id=11153 > > It happens on Windows only at a root dir. That looks like the same problem. Please try our nightly build version "cmake-2.8.2.20100819-gc7c6":

Re: [CMake] Calling qmake from cmake

2010-08-23 Thread Michael Wild
On 23. Aug, 2010, at 11:43 , norulez wrote: > Hello, > > I've 3rdparty projects which are using qmake as the build system. How can I > execute qmake from within an existing project to integrate such projects into > the build process? > > Thanks in advance > > Best Regards > NoRulez Probably

Re: [CMake] How to invoke 64 bit cmd.exe from cmake script onWindows 7 (x64).

2010-08-23 Thread Alexander Tarnopolsky
Thanks for prompt reply. In a simple case I invoke just interactive shell using full path to 64bit cmd.exe : file (TO_NATIVE_PATH "$ENV{COMSPEC}" SHELL) SET (ARGS /k) execute_process (COMMAND ${SHELL} ${ARGS}) Still I see that the cmd process running as 32bit (in TaskManager). Alexander Tarnopo

[CMake] Calling qmake from cmake

2010-08-23 Thread norulez
Hello, I've 3rdparty projects which are using qmake as the build system. How can I execute qmake from within an existing project to integrate such projects into the build process? Thanks in advance Best Regards NoRulez ___ Powered by www.kitware.com

[CMake] CMake/add_subdirectory but not subdirs in CTestTestfile.cmake

2010-08-23 Thread Vlad-Mihai Sima
I have the following structure project structure module1 module2 Module1 uses functions from module2 and the other way around. (they are independent modules of a bigger application, which can be invoked also separately). I use add_subdirectory command and if-s in the CMake-s so that the correct