Re: [CMake] how to compile as 32bit on a 64bit Linux host ?

2013-02-15 Thread m.hergarden
Can you share a bit more context? I suspect there may be no single correct answer, as it depends on your situation what the best way is. If you are using a toolchain file you will have to put the decision of using that file outside of your cmake file. You can also opt to put a check inside your cma

Re: [CMake] Generating multiple debian packages

2012-08-08 Thread m.hergarden
I have found this to work for RPM files: You have to define components using: cpack_add_component(runtime DISPLAY_NAME runtime REQUIRED INSTALL_TYPES all) For rpm I had to set this: SET(CPACK_RPM_COMPONENT_INSTALL "ON" (Greppi

Re: [CMake] Recommended Multilib Build Approach?

2012-07-30 Thread m.hergarden
On 07/30/2012 11:28 PM, Xavier Besseron wrote: On Mon, Jul 30, 2012 at 9:44 PM, Alexander Neundorf wrote: On Monday 30 July 2012, Xavier Besseron wrote: To build i386 binaries on my 64-bit system with multilib, I just do something like this: mkdir build-i386 cd build-i386 CFLAGS="-m32" CXXFLA

Re: [CMake] How to run bash shell script during rpm installation?

2012-07-09 Thread m.hergarden
I'm not exactly sure what you are asking, but I think that rpm takes care of moving old files by renaming them to .rpmorig. As an alternative it is possible to pass your own rpm spec file to cmakerpm and there you can use pre- and postinstallation hooks to do what you want. Micha On 07/10/201

[CMake] Fwd: Re: how to do this: svn info?

2012-06-28 Thread m.hergarden
Will a string replace combo help in your case? We use it to replace line endings with ; to make a cmake list variable from a filelist: STRING(REPLACE "\n" "\\" svn_lastlog_with_slashes ${svn_lastlog}) regards, Micha On 06/29/2012 01:56 AM, Totte Karlsson wrote: Hi, I'm trying to get some sv

Re: [CMake] Can we control component package name in 2.8.8?

2012-06-27 Thread m.hergarden
The unspecified may come from an Install statement that does not have a component specified. Micha On 06/27/2012 01:44 PM, hce wrote: Hi, I've read some discussions posted ten months ago on http://cmake.3232098.n2.nabble.com/Component-Package-Name-td6976896.html where Eric Noulard pointed out

Re: [CMake] problem: No test configuration file found!

2012-06-19 Thread m.hergarden
I think you could put the enable_testing() and add_test() statements in a file called CMakeTests.txt in your subdirectory and include that in your toplevel cmakelists.txt. That works for me anyway. I'm not sure if this is the official way it is supposed to be done though. Regards, Micha On 06

[CMake] [CDash] dashboard missing uploaded builds

2012-06-19 Thread m.hergarden
Since a few days my cdash dashboard has stopped showing certain uploaded builds. In the logfiles of the sites I can see they have been uploaded successfully, and I do see the files on the cdash server in the backup directory. The database does not show them however. The weird part is that it do

Re: [CMake] Question regarding source tree structure and how to find libraries easily within that structure

2012-02-28 Thread m.hergarden
On 02/26/2012 09:18 AM, Andreas Guther wrote: Hello, I'm justing starting to learn/use CMake and I have a question regarding the usage of it in regards of source tree structure and library usage. I have the following folder structure: Root Bin Win32X86Debug

Re: [CMake] [CTest] request information on usage of CTEST_CUSTOM_COVERAGE_EXCLUDE and CTestCustom.cmake

2012-02-08 Thread m.hergarden
On 02/08/2012 12:00 PM, Rolf Eike Beer wrote: I would like to exclude third party header files from the coverage output. We're using ctest, cmake (version 2.8.5) and cdash, all on Linux. The archive layout is as follows: / /Code/ /Code/Application/ /Code/Application/src/ /Code/Third-Party/ /Code

[CMake] [CTest] request information on usage of CTEST_CUSTOM_COVERAGE_EXCLUDE and CTestCustom.cmake

2012-02-08 Thread m.hergarden
I would like to exclude third party header files from the coverage output. We're using ctest, cmake (version 2.8.5) and cdash, all on Linux. The archive layout is as follows: / /Code/ /Code/Application/ /Code/Application/src/ /Code/Third-Party/ /Code/Third-Party/boost/ /Code/Third-Party/boost/b

Re: [CMake] [CTest] CTest -S script cannot be found on Windows network drive (solved)

2011-12-12 Thread m.hergarden
On 12/09/2011 04:47 PM, m.hergarden wrote: On 12/09/2011 04:30 PM, David Cole wrote: On Fri, Dec 9, 2011 at 9:30 AM, m.hergarden wrote: I have two buildservers: a Linux box and a Windows box. I now have a buildscript that does a svn checkout in the homedir of the Linux build user. This

Re: [CMake] [CTest] CTest -S script cannot be found on Windows network drive

2011-12-09 Thread m.hergarden
On 12/09/2011 04:30 PM, David Cole wrote: On Fri, Dec 9, 2011 at 9:30 AM, m.hergarden wrote: I have two buildservers: a Linux box and a Windows box. I now have a buildscript that does a svn checkout in the homedir of the Linux build user. This directory is shared read/write using Samba. The

[CMake] [CTest] CTest -S script cannot be found on Windows network drive

2011-12-09 Thread m.hergarden
I have two buildservers: a Linux box and a Windows box. I now have a buildscript that does a svn checkout in the homedir of the Linux build user. This directory is shared read/write using Samba. The Windows builduser (same credentials, same uid) is able to reach the files through a mingw mount.