[CMake] Inbuilt documentation <-- awesome.

2012-07-16 Thread Doug
By the way guys, who ever is responsible for the idea of shifting all the documentation into the binary for cmake itself so you can just call cmake --help-command blah, you rock. Amazingly useful feature. :) ~ Doug. -- Powered by www.kitware.com Visit other Kitware open-source projects at htt

Re: [CMake] Writing a custom Find*.cmake file for Pantheios

2012-07-16 Thread Philipp Berger
I built a beta-version of the FindPantheios.cmake (see attached version, no copyright stuff, I'm sorry), it works - at least on windows and in my configuration. As I am new to this and this is my first try with Find* files, could those experienced in the art of CMakeing please have a look at it, gi

Re: [CMake] Bug 12630 possible for CMake 2.8.9?

2012-07-16 Thread David Cole
Probably not. If somebody can do the work, and get a patch attached now, though, it has an excellent chance of making it into the version AFTER 2.8.9. On Mon, Jul 16, 2012 at 3:54 PM, wrote: > Hello, > > is there a chance to get http://public.kitware.com/Bug/view.php?id=12630 into > 2.8.9? > >

[CMake] Bug 12630 possible for CMake 2.8.9?

2012-07-16 Thread norulez
Hello, is there a chance to get http://public.kitware.com/Bug/view.php?id=12630 into 2.8.9? Best Regards -- 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

Re: [CMake] cmake removing "-w" from compile flag

2012-07-16 Thread Derek Cole
err, nevermind, i think that is a non-standard option or something. I am compiling someone's existing code and that is something leftover I think. -Derek On Mon, Jul 16, 2012 at 11:44 AM, Derek Cole wrote: > Hello, > > I have a CMake project with a few sub-projects to be built as well. In one >

[CMake] Automate cleaning after CMAKE_DISABLE_IN_SOURCE_BUILD

2012-07-16 Thread Ateljevich, Eli
Hi everyone, My CMakeLists.txt uses the undocumented features: set(CMAKE_DISABLE_SOURCE_CHANGES ON) set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) The first one prevents in-source builds as expected (even in 2.6, which I wasn't expecting). I find this very useful. I'm not sure about the second one. Howev

[CMake] CMake 2.8.9-rc2 ready for testing!

2012-07-16 Thread David Cole
The CMake 2.8.9 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This email is also available on the Kitware blog: http://www.kitware.com/blog/home/post/334 Some of the notable changes in this release are: - the new N

[CMake] cmake removing "-w" from compile flag

2012-07-16 Thread Derek Cole
Hello, I have a CMake project with a few sub-projects to be built as well. In one of the sub projects I want to compile to a shared object. I used the line add_library(myfiles SHARED myfiles.c) in the main project's CMakeLists.txt I have SET(CMAKE_C_FLAGS_DEBUG "-g -fPIC -O0 -pipe -std=c99 -

Re: [CMake] How to install external project

2012-07-16 Thread Martin Vymazal
Hello, I'm sorry but I don't understand what 'target' you're talking about. I only define the name of the target executable, but the library name blas_LINUX.a is defined by the Makefile of blas. I forgot to paste the 2 last lines of my CMakeLists.txt. The whole thing looks like this: cmake_m

Re: [CMake] Choosing the right compiler

2012-07-16 Thread Brett Delle Grazie
On 15 July 2012 10:40, J Decker wrote: > One way would be to setup a build environment batch, which would set > the path to only have one or the other. but that's certainly not a > shorter method :) This is exactly what I do. Its also slightly safer in case the compilers or supporting build tools