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

2010-08-22 Thread Alexander Neundorf
On Sunday 22 August 2010, Eric Noulard wrote: ... > CPack is not aware **AT ALL** of subprojects :-( > > It's even worse, since CPack is not meant to be included more than once > in the same tree. > In fact you already know that because you are the reporter of this: > http://public.kitware.com/Bug/

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-08-22 Thread Alexander Neundorf
On Saturday 21 August 2010, Mr Shore wrote: > Hi there > > The best building tool for Java I know so far seems to be maven, > > but it still doesn't give so much flexibility as cmake at all! > > Anyone knows a cmake-alike tool for java? CMake "supports" Java, but that support is ... needs some wor

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

2010-08-22 Thread Rolf Eike Beer
Am Sunday 22 August 2010 schrieb David Cole: > I do something like this in a batch file to guarantee running 32-bit from a > 64-bit command prompt: > > @rem Workaround allows msys/cygwin rxvt to run on Windows x64 > > @rem(SysWOW64\cmd.exe runs as 32-bit) > > @rem > > @if "%PROCESSOR_ARCHI

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

2010-08-22 Thread David Cole
I do something like this in a batch file to guarantee running 32-bit from a 64-bit command prompt: @rem Workaround allows msys/cygwin rxvt to run on Windows x64 @rem(SysWOW64\cmd.exe runs as 32-bit) @rem @if "%PROCESSOR_ARCHITECTURE%" equ "AMD64" ( @"%WINDIR%\SysWOW64\cmd.exe" /c ""%~f0

Re: [CMake] try_run understanding.

2010-08-22 Thread Alexander Neundorf
On Friday 20 August 2010, Ricardo Tiago wrote: > Hi all, > > How can I use try_run with multiple source files? > > Something like: gcc foo.c foo_fn.c -o newfoo > > So far I've came up with the following.. > > try_run (RUN_RESULT_VAR COMPILE_RESULT_VAR > ${CMAKE_BINARY_DIR} >

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

2010-08-22 Thread Tyler Roscoe
On Sun, Aug 22, 2010 at 07:36:21PM +0100, Alexander Tarnopolsky wrote: > I'm trying to invoke an interactive shell from a cmake script using the > following: > > execute_process (COMMAND ${SHELL} ${ARGS}) > > And the 32bit cmd.exe is invoked on "Windows 7 x64" (since the cmake > itself runs in 3

[CMake] How to invoke 64 bit cmd.exe from cmake script on Windows 7 (x64).

2010-08-22 Thread Alexander Tarnopolsky
Hi, I'm trying to invoke an interactive shell from a cmake script using the following: execute_process (COMMAND ${SHELL} ${ARGS}) And the 32bit cmd.exe is invoked on "Windows 7 x64" (since the cmake itself runs in 32bit environment). But I'm interested in 64bit cmd.exe. Is there a way to invo

Re: [CMake] How to add CORBA idl files to Visual Studio source group

2010-08-22 Thread Michael Hertling
On 08/22/2010 05:21 PM, Claus Klein wrote: > Ok, > I found the solution myself; I have to add: > set_source_files_properties(interface1.idl PROPERTIES HEADER_FILE_ONLY > TRUE) > > But I do not understand why this is needed with VS2005? See

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

2010-08-22 Thread Eric Noulard
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 work with sub-project and I must admit I don't eve

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

2010-08-22 Thread Eric Noulard
2010/8/22 Eric Noulard : > 2010/8/22 Rolf Eike Beer : >> Am Saturday 21 August 2010 schrieb Eric Noulard: >> >>> They change the number and the contents of the generated packages: >>>     3.a) CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE=1 >>>           means you want to get a single package whose co

Re: [CMake] Windows debugger command project settings

2010-08-22 Thread Mike McQuaid
On 20 Aug 2010, at 21:48, Ryan Pavlik wrote: > You might consider using my CreateLaunchers cmake module that will set up the > debugger for you to add whatever directories you like to the PATH (on > windows) so that it can find the dynamic libraries. I haven't tried it in > the case that the

Re: [CMake] How to add CORBA idl files to Visual Studio source group

2010-08-22 Thread Claus Klein
Ok, I found the solution myself; I have to add: set_source_files_properties(interface1.idl PROPERTIES HEADER_FILE_ONLY TRUE) But I do not understand why this is needed with VS2005? By the way, the REGULAR_EXPRESSION does not work? I have to use the FILES parameter to group the idl files! That

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

2010-08-22 Thread 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 work with sub-project and I must admit I don't even know how CPack behave for projec

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

2010-08-22 Thread Eric Noulard
2010/8/22 Rolf Eike Beer : > Am Saturday 21 August 2010 schrieb Eric Noulard: > >> They change the number and the contents of the generated packages: >>     3.a) CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE=1 >>           means you want to get a single package whose content >>           is the merge