Re: [CMake] Confusion about CMAKE_INSTALL_PREFIX

2012-05-25 Thread Eric Noulard
2012/5/26 vivek goel : > I am building another program inside my cmake which usage autotools for > generating it's make file. > > I want to run it's configure like ./configure > --prefix=${CMAKE_INSTALL_PREFIX}. > But when I am  changing the DESTDIR for my project. CMAKE_INSTALL_PREFIX is > not get

[CMake] Confusion about CMAKE_INSTALL_PREFIX

2012-05-25 Thread vivek goel
I am building another program inside my cmake which usage autotools for generating it's make file. I want to run it's configure like ./configure --prefix=${CMAKE_INSTALL_PREFIX}. But when I am changing the DESTDIR for my project. CMAKE_INSTALL_PREFIX is not getting changed. So everytime configure

Re: [CMake] Makefile generator and header files in 2.8.8

2012-05-25 Thread David Nadlinger
On 25 May 2012, at 16:48, Eric Noulard wrote: 2012/5/25 David Nadlinger : In our project, we are explicitly adding all the header files along with the source files to the respective build targets in order for them to show up in CMake-generated Visual C++ projects. Up to and including 2.8.7, t

Re: [CMake] Makefile generator and header files in 2.8.8

2012-05-25 Thread Eric Noulard
2012/5/25 David Nadlinger : > In our project, we are explicitly adding all the header files along with the > source files to the respective build targets in order for them to show up in > CMake-generated Visual C++ projects. > > Up to and including 2.8.7, this worked well as the Makefile generator

[CMake] Makefile generator and header files in 2.8.8

2012-05-25 Thread David Nadlinger
In our project, we are explicitly adding all the header files along with the source files to the respective build targets in order for them to show up in CMake-generated Visual C++ projects. Up to and including 2.8.7, this worked well as the Makefile generator simply ignored the header files,

[CMake] VS 10 compiler selection (was: Clang + MinGW Linking Issue)

2012-05-25 Thread Brad King
On 05/25/2012 08:40 AM, Keith Gardner wrote: > it looks like Visual Studio was using its own compiler even though > I specified a different one with CMake. The VS generator does not support compiler selection. Prior to VS 10 each IDE version only worked with one toolchain version, and that behavio

Re: [CMake] Clang + MinGW Linking Issue

2012-05-25 Thread Keith Gardner
Never mind. I just tried it again and it looks like Visual Studio was using its own compiler even though I specified a different one with CMake. I tried it with NMake and I could tell that it was using clang but I couldn't get past include errors with the "ammintrin.h" header. From: Justin Ho

[CMake] How to ignore configure warnings in a ctest run?

2012-05-25 Thread Matthias Kretz
Hi, in my project I added a few warnings to tell users of the library about compiler issues or such. But when I run a nightly build with such a compiler I really don't care to see that warning (well, rather I'd like to see a warning if the warning is missing) on the dashboard. But I didn't succ

Re: [CMake] Volunteering to become maintainer of FindLibLZMA.cmake

2012-05-25 Thread Mario Bensi
Ok It's done, I push all changes when i will have the write access. Mario On Friday, May 25, 2012 08:55:46 AM Rolf Eike Beer wrote: > Am Freitag, 25. Mai 2012, 08:32:32 schrieb Mario Bensi: > > Yes it's done, actually i wait my git push access > > When you push you module please also add it to t