[CMake] want to say Hello

2013-10-30 Thread dravion.sm...@gmx.net
Hi, Iam new to the list and want to Introduce myself. Greetings from Germany, Dravion -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more informat

Re: [CMake] CTest - Speed Optimization

2013-10-30 Thread Leif Walsh
It builds everything using "cmake --build ." I believe, or something very similar to that. It doesn't guess at what to build, it just builds everything. This is slow with make at least because it's single threaded. To do a parallel build, you can build (make -jN) right before you run ctest, in o

[CMake] CTest - Speed Optimization

2013-10-30 Thread Olaf Ryder
Greetings, I'm looking for ways to speed up CTest runs (the Experimental target). It would appear the majority of the time is spent during the build step. 1) What exactly is happening during the Experimental build step? 2) How does CTest know what targets to build within a complex project? 3) Is

Re: [CMake] Error when bootstrapping CMake (v. 2.8.12)

2013-10-30 Thread Giuseppe Aprea
Hi Bill, thanks for your reply, The compiler is ok. I used it to install several other software like those you can see in the redudant CFLAGS (gmp, mpfr, etc). I know the cflags is redundant but that's not the problem. From the error file I attached I can see cmake has the wrong id flags:empty ins

[CMake] assembler with non standard extension with gcc compiler

2013-10-30 Thread Ivan Sergio Borgonovo
Hi, I'm cross compiling (avr32) with a gcc compiler under Linux and I'm using a framework where asm extensions aren't directly recognized by cmake (.x). gcc is recognized as a valid C and ASM compiler during cmake configuration. But still I see cmake running just ar and ranlib on nothing. gcc is

Re: [CMake] WiX installer default install_root

2013-10-30 Thread Nils Gladitz
I assume you still use CPack without CMake? For the moment setting CPACK_WIX_SIZEOF_VOID_P to 8 in your CPackConfig.cmake should work to let the generator know to use the 64 bit instead of the 32 bit prefix. Nils On 30.10.2013 21:50, Evan Zhang wrote: Hi, What is the proper method to set

[CMake] WiX installer default install_root

2013-10-30 Thread Evan Zhang
Hi, What is the proper method to set the WiX install path? I am trying to create a 64 bit MSI installer, but cannot get the INSTALL_ROOT variable to point away from "C:\Program Files(x86)" Consequently, when running CPACK, the wix.log alerts me to the following error messages : This 64Bit

[CMake] targets as bundle resources

2013-10-30 Thread Tim Blechmann
hi all, from my understanding it is possible to add sources to an osx bundle, which are then automatically copied e.g. to the Resource folder or the like. however i'm in the situation that i have to move some build targets (executables and dylibs) into the bundle. what is the best way to achieve t

Re: [CMake] Proper way to export a library

2013-10-30 Thread Matthew Woehlke
On 2013-10-30 13:56, Cyrille Faucheux wrote: I'm trying to learn how to properly import/export librairies with CMake. I think I've read somewhere that the proper way to export libraries is through the module mode (as described in [1]), but: a) I can't find back where I've read that, b) Lots of l

[CMake] Proper way to export a library

2013-10-30 Thread Cyrille Faucheux
Hi, I'm trying to learn how to properly import/export librairies with CMake. I think I've read somewhere that the proper way to export libraries is through the module mode (as described in [1]), but: a) I can't find back where I've read that, b) Lots of libraries are still using the module mode (

Re: [CMake] Error when bootstrapping CMake (v. 2.8.12)

2013-10-30 Thread Bill Hoffman
On 10/29/2013 11:21 PM, Giuseppe Aprea wrote: Hi all, I am trying to install Cmake v. 2.8.12 but I receive the error in attachment (file mylog); the final part of the output is: Looks like your compiler is broken: -- Check for working C compiler: /afs/enea.it/project/sysbiolab/soft/generic-

Re: [CMake] Can't Remove CXX_FLAGS entry

2013-10-30 Thread Stephen Kelly
Yngve Inntjore Levinsen wrote: > Hi, > > Have a look at the very silly hello world example attached. As I think > you mentioned, the cmake way to do this is to have targets with specific > flags in separate folders. The CMake 2.8.12 way to do this is to use target_compile_options(). Then you ca

Re: [CMake] Windows Visual Studio Install Configurations unexpected behaviour

2013-10-30 Thread Dominic Walsh
Ah - apologies In Visual Studio | INSTALL project | Right mouse button "Build" thanks -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of David Cole Sent: 30 October 2013 09:35 To: Dominic Walsh; cmake@cmake.org Subject: Re: [CMake] Windows Vis

Re: [CMake] Windows Visual Studio Install Configurations unexpected behaviour

2013-10-30 Thread David Cole
I am attempting to "make install" into configuration dependent directories. Linux works very straightforwardly but VS not so much. What command are you using to do the "make install" with VS? Clearly, it's not actually "make install"... Perhaps that command needs arguments to tell it which

[CMake] Windows Visual Studio Install Configurations unexpected behaviour

2013-10-30 Thread Dominic Walsh
Hi I am attempting to "make install" into configuration dependent directories. Linux works very straightforwardly but VS not so much. After much searching my CMakeLists file includes: INSTALL(TARGETS bob RUNTIME DESTINATION ${INSTALL_LIB_PATH}/Debug LIBRARY DESTINATION ${INS