[CMake] Catch result after test

2011-10-12 Thread mohamed sahraoui
Hi, How can I catch test result before writed in LastTest.log? In which file is ordered the creation of files? - LastTest.log, - LastTestsFailed.log, - CTestCostData.txt located in build/Testing/Temporary. Best regards, Mohamed. -- Powered b

Re: [CMake] Shouldn't CMAKE_VERBOSE_MAKEFILE add false to VS 2010 vcxproj files?

2011-10-12 Thread Niels Dekker - address until 2014
Update: I locally fixed CMake's support for CMAKE_VERBOSE_MAKEFILE on Visual Studio 10 (or higher), and submitted a bug report: 0012504: Fix CMAKE_VERBOSE_MAKEFILE for Visual Studio 10 vcxproj files http://public.kitware.com/Bug/view.php?id=12504 Committed by Brad King: http://cmake.org/gitweb?

[CMake] "Un-program" Visual Studio (msvc 10) compiler in cygwin

2011-10-12 Thread Paul Hansen
Hi I have tried different ways to escape the MSVC compiler. I have installed Cygwin on Windows 7 and try this out in Cygwin I tried to - set CMAKE_CC_COMPILER=compiler.exe in CMakeLists.txt (before project()) - cmake.exe -D CMAKE_CC_COMPILER=compiler.exe . - cmake.exe -D CMAKE_CC_COMPILER=/c/compi

[CMake] ProjectConfig.cmake, export() and multiple libraries

2011-10-12 Thread Jérémie Delaitre
Hi all, I have a project which provides a set of shared libraries, some libraries being dependent on other ones: For example: libcore libmodule1 -> libcore libmodule2 -> libcore libmoduleA -> libmodule1 As this is a CMake based project, I've read on the internet that I should provide a ProjectCo

Re: [CMake] "Un-program" Visual Studio (msvc 10) compiler in cygwin

2011-10-12 Thread Rolf Eike Beer
> Hi > I have tried different ways to escape the MSVC compiler. > I have installed Cygwin on Windows 7 and try this out in Cygwin > I tried to > - set CMAKE_CC_COMPILER=compiler.exe in CMakeLists.txt (before project()) > - cmake.exe -D CMAKE_CC_COMPILER=compiler.exe . > - cmake.exe -D CMAKE_CC_COM

[CMake] XMOS ASM / C Compiler support progress and questions

2011-10-12 Thread Bernhard Sputh
Hi List, I'm currently working on better integrating the XMOS toolchain [1] (version 11.2.2) into CMake 2.8.5, among other things (such as TI C6000 support). I've today managed to integrate the detection of the XMOS assembler. Basically, all I had to do is to insert these three lines in the file C

Re: [CMake] Fwd: Save stripped debugging information

2011-10-12 Thread Michael Hertling
On 10/03/2011 09:18 AM, Yuri Timenkov wrote: > Hi Michael, > > On Sun, Oct 2, 2011 at 6:07 PM, Michael Hertling wrote: > >> On 10/01/2011 10:07 AM, Yuri Timenkov wrote: >>> that's the problem: you don't know neither file name nor it's location, >>> especially in multi-configuration generators. >>

Re: [CMake] ProjectConfig.cmake, export() and multiple libraries

2011-10-12 Thread Michael Hertling
On 10/12/2011 11:31 AM, Jérémie Delaitre wrote: > Hi all, > > I have a project which provides a set of shared libraries, some libraries > being dependent on other ones: > > For example: > libcore > libmodule1 -> libcore > libmodule2 -> libcore > libmoduleA -> libmodule1 > > As this is a CMake ba

[CMake] Protobuf Module

2011-10-12 Thread James Anderson
PROTOBUF_GENERATE_CPP does not seem to work at all in ubuntu. I was working with 2.8.3 and since it wasn't working I have compiled the latest cmake (2.8.6) but still no luck. I also tried with --debug-output but after finding protobuf no other related output. Here's the relevant segment: FIND_PAC

Re: [CMake] Which style of file extension is better for optional CMake files?

2011-10-12 Thread David Cole
On Wed, Oct 12, 2011 at 12:16 AM, Ryuan Choi wrote: > Dear CMake Developers, > > Can I know which style is more closed to CMake style? > a) CMakeLists.txt and PlatformXXX.cmake for optional platform specific source > lists in same folder. > b) CMakeLists.txt and CMakeListsXXX.cmake in same folder

Re: [CMake] Fwd: Save stripped debugging information

2011-10-12 Thread Rolf Eike Beer
> On 10/03/2011 09:18 AM, Yuri Timenkov wrote: >> Hi Michael, >> >> On Sun, Oct 2, 2011 at 6:07 PM, Michael Hertling >> wrote: >> >>> On 10/01/2011 10:07 AM, Yuri Timenkov wrote: that's the problem: you don't know neither file name nor it's location, especially in multi-configuration

[CMake] Linker flags not considered

2011-10-12 Thread pellegrini
Hi all, I would like to build a project using intel fortran compiler. When building the project I would like to add/change two linker flags: - /stack:12800 - /subsystem:windows (when launched, the executable (GUI) will not launch any additional terminal) To do so, I simply added in

Re: [CMake] Linker flags not considered

2011-10-12 Thread Rolf Eike Beer
On Mi., 12. Okt. 2011 17:05:52 CEST, pellegrini wrote: > Hi all, > > I would like to build a project using intel fortran compiler. When > building the project I would like to add/change two linker > flags: >        - /stack:12800 >        - /subsystem:windows (when launched, the executabl

Re: [CMake] Linker flags not considered - solved

2011-10-12 Thread pellegrini
that's work ! Great ! Thanks a lot Rolf Rolf Eike Beer a écrit : On Mi., 12. Okt. 2011 17:05:52 CEST, pellegrini wrote: Hi all, I would like to build a project using intel fortran compiler. When building the project I would like to add/change two linker flags: - /stack:128

[CMake] Delivering imported libraries with binaries on Linux

2011-10-12 Thread Harelick, Matthew
Hello: I am working on a project that relies on third party libraries, for example MyVendor.so. I am using cmake 2.6. When the third party shared object is checked out, it is installed in svnroot/Thirdparty/MyVendor/lib/MyVendor.so I add the library has an imported library. When I build th

Re: [CMake] XMOS ASM / C Compiler support progress and questions

2011-10-12 Thread Alexander Neundorf
Hi, On Wednesday 12 October 2011, Bernhard Sputh wrote: > Hi List, > > I'm currently working on better integrating the XMOS toolchain [1] > (version 11.2.2) into CMake 2.8.5, among other things (such as TI > C6000 support). Cool :-) Please create an entry in the bug tracker for that, so it does

[CMake] ExternalProject and clean targets

2011-10-12 Thread Lori Pritchett-Sheats
I'm building external packages in my CMake system using the ExternalPackages_Add function. When a package is built this way and I execute a 'make clean' at the top of my build tree, all targets are cleaned including the external packages. Is there a way to remove the external package targets

Re: [CMake] Protobuf Module

2011-10-12 Thread Philip Lowman
On Wed, Oct 12, 2011 at 8:46 AM, James Anderson wrote: > PROTOBUF_GENERATE_CPP does not seem to work at all in ubuntu. I was working > with 2.8.3 and since it wasn't working I have compiled the latest cmake > (2.8.6) but still no luck. I also tried with --debug-output but after > finding protobuf

Re: [CMake] Which style of file extension is better for optional CMake files?

2011-10-12 Thread Ryuan Choi
> I think it's mostly a matter of style... so you could go either way. > > Personally, I would choose the "PlatformXXX.cmake" names over the > other ones. The other ones are too close to "CMakeLists.txt" and could > be confused for them by a quick scan of the file name. So, for human > readability