Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-26 Thread Yuri Timenkov
However, it is well-known technique called Unity Build and has some side, effects both useful (more room for optimizer) and not (always full rebuild). You may google a bit more about it. On Apr 27, 2011 12:01 AM, "Alexander Neundorf" wrote: > On Tuesday 26 April 2011, Martin Nielsen wrote: >> Hi,

Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-26 Thread Alexander Neundorf
On Tuesday 26 April 2011, Martin Nielsen wrote: > Hi, > > I have been asked to look into the possibilities of compiling multiple > files in one invocation of the compiler like: > > armcc.exe ... file1.c file2.c ... fileN.c -o mylib.lib > > The cross compiler we are using requires a license in order

Re: [CMake] Output capturing in MSVC

2011-04-26 Thread Michael Wild
On 04/26/2011 02:16 PM, Brad King wrote: > On 04/26/2011 03:41 AM, Michael Wild wrote: >> Seems like MSVC (I'm using 9.0) is messing with the standard >> streams... I put up a simple test project that only calls >> "dumpbin.exe /?" in a execute_process call. Funny thing is, that if >> configured fr

Re: [CMake] How to add a target link library, but only for a custom configuration ?

2011-04-26 Thread Michael Hertling
On 04/26/2011 03:40 PM, Glenn Coombs wrote: > I am using cmake 2.8.2 and I have added a custom configuration to my project > like this: > > # Add configuration for debug pthreads builds based on the debug > configuration > # > ===

Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-26 Thread Eric Noulard
2011/4/26 Martin Nielsen : > Hi, > > > > I have been asked to look into the possibilities of compiling multiple files > in one invocation of the compiler like: > > > > armcc.exe … file1.c file2.c … fileN.c –o mylib.lib > > > > The cross compiler we are using requires a license in order to compile t

Re: [CMake] How to define datafiles?

2011-04-26 Thread Michael Wild
On 04/26/2011 03:09 PM, Michael Hertling wrote: > On 04/26/2011 06:20 AM, Michael Wild wrote: >> On 04/25/2011 05:03 PM, Michael Hertling wrote: >>> On 04/25/2011 01:53 PM, Michael Wild wrote: On 04/25/2011 12:48 PM, Michael Hertling wrote: > On 04/24/2011 04:56 PM, Campbell Barton wrote:

[CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-26 Thread Martin Nielsen
Hi, I have been asked to look into the possibilities of compiling multiple files in one invocation of the compiler like: armcc.exe ... file1.c file2.c ... fileN.c -o mylib.lib The cross compiler we are using requires a license in order to compile the file. It is a network floating license mech

[CMake] How to add a target link library, but only for a custom configuration ?

2011-04-26 Thread Glenn Coombs
I am using cmake 2.8.2 and I have added a custom configuration to my project like this: # Add configuration for debug pthreads builds based on the debug configuration # = set(CMAKE_C_FLAGS_DEBUGPTHREADS

Re: [CMake] unscribe

2011-04-26 Thread John Drescher
> Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and ch

Re: [CMake] SuperBuild whoes

2011-04-26 Thread Michael Wild
On 04/26/2011 02:48 PM, Michael Hertling wrote: > On 04/25/2011 05:15 PM, Michael Wild wrote: >> On 04/25/2011 04:51 PM, Michael Hertling wrote: [...] [...] The only thing that required some thinking was writing a relocatable XXXConfig.cmake file. I think I will update my tutorial on

[CMake] unscribe

2011-04-26 Thread Orçun
unscribe ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to s

Re: [CMake] How to define datafiles?

2011-04-26 Thread Michael Hertling
On 04/26/2011 06:20 AM, Michael Wild wrote: > On 04/25/2011 05:03 PM, Michael Hertling wrote: >> On 04/25/2011 01:53 PM, Michael Wild wrote: >>> On 04/25/2011 12:48 PM, Michael Hertling wrote: On 04/24/2011 04:56 PM, Campbell Barton wrote: > 2011/4/23 YangXi : >> In my program, I have

Re: [CMake] SuperBuild whoes

2011-04-26 Thread Michael Hertling
On 04/25/2011 05:15 PM, Michael Wild wrote: > On 04/25/2011 04:51 PM, Michael Hertling wrote: > [...] >>> >>> I also solved my installation problem. By having all sub-projects >>> install into a common prefix, and thanks to the wonders of RPATH and >>> install_name which can handle relative paths a

Re: [CMake] Output capturing in MSVC

2011-04-26 Thread Brad King
On 04/26/2011 03:41 AM, Michael Wild wrote: > Seems like MSVC (I'm using 9.0) is messing with the standard streams... > I put up a simple test project that only calls "dumpbin.exe /?" in a > execute_process call. Funny thing is, that if configured from CMake-Gui > or command line, the output is cap

Re: [CMake] Issue with LIST command

2011-04-26 Thread Jean-Christophe Fillion-Robin
Hi Bala, Could you provide more details regarding the error you obtained ? Within your CMakeLists.txt, may be you could add the following 'message' statements: message(WITH_MUMPS:${WITH_MUMPS}) message(c_source_files:${c_source_files}) message(mumps_srcs:${mumps_srcs}) Hth Jc On Tue, Apr 26,

[CMake] Issue with LIST command

2011-04-26 Thread AMARNATH, Balachandar
Hi I have a following piece of cmake commands in my CMakeLists.txt file which is not working with windows but working fine in debian. IF (NOT WITH_MUMPS) LIST(REMOVE_ITEM c_source_files ${mumps_srcs}) ENDIF(NOT WITH_MUMPS) Any clue in this ? Regards Bala The information in this e-mail i

[CMake] Converting ctest output to junit

2011-04-26 Thread Johan Björk
Hi, Anyone has any code to convert the ctest xml output to jUnit? -Johan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake F

[CMake] Output capturing in MSVC [was: BundleUtilities and super-build]

2011-04-26 Thread Michael Wild
On 04/26/2011 06:51 AM, Michael Wild wrote: > On 04/23/2011 12:46 PM, Michael Wild wrote: >> Hi all >> >> I'm trying to use BundleUtilities with MSVC 9 to install the >> required Qt4 DLL's of the GUI sub-project into a common prefix in >> the super-build binary directory. The process fails with