Re: [CMake] Ninja generator fail for QNX on Windows

2014-09-22 Thread Bill Hoffman
On 9/22/2014 11:53 AM, Cristian Adam wrote: "-d explain" parameter gives for lots of files (probably all) in the project (headers, source files, object files, static libraries, executables) "is dirty" This means that ninja's method of detecting if a file has been changed doesn't quite work for

[CMake] Building CTestDashboardTargets Experimental, etc From Xcode Fails

2014-09-22 Thread Patrick Sauter
Hello! I am trying to build my Dashboard targets from inside Xcode, and it keeps failing! Here is the build log... echo "" /usr/local/Cellar/cmake/3.0.2/bin/ctest -C Debug -D Experimental Site: macpat Build name: Darwin-clang++ Create new tag: 20140922-1554 - Experimental

[CMake] Problems resolving PTHREAD_* symbols.

2014-09-22 Thread Rick McGuire
We have some semaphore code that has conditional compilation based on #defines in config.h. We're having problems with resolving the various PTHREAD_* symbols to get the correct values in config.h. Our first attempt at this (done on Linux) used check_symbol_exists(PTHREAD_MUTEX_RECURSIVE "pthrea

[CMake] How to make the construction and reuse of CMake lists safer?

2014-09-22 Thread SF Markus Elfring
Hello, The build tool "CMake" supports also the data processing for lists to some degree. http://www.cmake.org/cmake/help/v3.0/manual/cmake-language.7.html#lists I notice that CMake scripts are also provided by some software libraries so that corresponding settings can be automatically determine

Re: [CMake] Ninja generator fail for QNX on Windows

2014-09-22 Thread Cristian Adam
On Mon, Sep 22, 2014 at 5:40 PM, Bill Hoffman wrote: > On 9/22/2014 1:45 AM, Cristian Adam wrote: > >> >> On QNX side, thins are not as good. First, in order to compile >> the project I had to apply this patch [1], provided by Stephen Kelly. >> >> And now the "fail" part for QNX, the second subse

Re: [CMake] Ninja generator fail for QNX on Windows

2014-09-22 Thread Bill Hoffman
On 9/22/2014 1:45 AM, Cristian Adam wrote: On QNX side, thins are not as good. First, in order to compile the project I had to apply this patch [1], provided by Stephen Kelly. And now the "fail" part for QNX, the second subsequent build doesn't say "ninja: no work to do" instead it starts compi

[CMake] ExternalProject_Add dependency graph (dot/graphviz?) ?

2014-09-22 Thread Nicholas Yue
Hi, CMake has graphviz output capability for dependency within a project. Is there a way to graph dependency at the ExternalProject_Add() level ? Cheers -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.co

[CMake] CMake course in Carrboro, NC October 20, 2014.

2014-09-22 Thread Bill Hoffman
Kitware is hosting a CMake training course, titled “Project Lifecycle Management with the CMake Family of Tools,” in Carrboro, NC. The course will be held on October 20, 2014. Through the course, you will learn how to create a build system for your C/C++/Fortran project using CMake, CPack, CTes

Re: [CMake] CMake and user friendliness (Drew DeVault)

2014-09-22 Thread Zaak Beekman
Well, it depends on who you are expecting the "user" to be and what their background is. I always configure new cmake buiulds with cmake-gui or ccmake, which I find to be much easier than auto tools, because the documentation and ability to set options is in the same place--one stop shopping. No ne

[CMake] VxWorks and CMake

2014-09-22 Thread Riksman, Alexis
Has anyone used CMake for VxWorks environments? As far as I can see, there is no VxWorks support yet in the cmake distribution. The cleanest way seems to create a VxWorks.cmake in the Modules/Platform directory that specifies the OS specifics. Also a create a file VxWorks-toolchain.cmake that spec

Re: [CMake] CMake and user friendliness

2014-09-22 Thread Adam Strzelecki
Please install cmake bash_completion and then it will be easy as typing: cmake -D --Adam -- 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 infor