Re: [CMake] Start contributing to CMake with some help

2012-09-24 Thread Rolf Eike Beer
Michael Jackson wrote: > Maybe I missed some other part of this conversation, but "where" are you > hanging out? IRC? Webcase? Mail list? Oh, sorry. The main meeting point would be the #cmake channel on irc.freenode.net. Of course I'll also have a look on the lists, but the message delay makes t

Re: [CMake] CMake/Ninja support in Qt Creator

2012-09-24 Thread Wouter van Kleunen
Also, the design goal of ninja was to build things "as fast as possible". And when "convenience and speed are in conflict, prefer speed." Although I can't totally disagree with Loadens comment to keep it simple and your comment that the speed is reasonable now. Op 24-9-2012 18:06, Wouter

Re: [CMake] Start contributing to CMake with some help

2012-09-24 Thread Michael Jackson
Maybe I missed some other part of this conversation, but "where" are you hanging out? IRC? Webcase? Mail list? Thanks -- Mike Jackson On Sep 24, 2012, at 6:06 PM, Rolf Eike Beer wrote: > Hi all, > > I'm planning to do sort of a "start contributing to CMake" session this > weekend, mainly on

[CMake] Automoc4 issue when using cmake (2.8.9)

2012-09-24 Thread Laszlo Papp
Hi, Worked couple of days ago. Help welcome. Laszlo -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/libssl.so -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found CMake Error at /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE): Did not find automoc

[CMake] Start contributing to CMake with some help

2012-09-24 Thread Rolf Eike Beer
Hi all, I'm planning to do sort of a "start contributing to CMake" session this weekend, mainly on Saturday. I'm not absolutely sure if I can make it, but the plan is definitely to be around ~1200-1600 CEST. I'm around in the channel basically all the time, so you may ask questions any time. Bu

[CMake] cross-compile and find_library

2012-09-24 Thread Davis Ford
I have a build that needs to cross-compile. The directory structure looks something like this: /src /lib | -- linux | -- libFoo.so | -- embedded | -- libFoo.so libFoo.so under embedded was cross-compiled, and I have a Toolchain file to cross-compile my project's source and I

Re: [CMake] GCOV Coverage Testing. Mac OS X with Clang. Getting gcno files, but no gcna files after execution.

2012-09-24 Thread Sean McBride
On Sun, 23 Sep 2012 01:33:04 -0700, Aaron Smith said: >I'm working on a C project and using CMake. I've been trying to get >coverage testing working and am just about there. > >This is what I have figured out so far: > >-use clang for c compiler. "gcc" on the latest Xcode does nothing with >-fprof

Re: [CMake] cmake with intel compilers

2012-09-24 Thread burlen
On 09/24/2012 07:04 AM, Bill Hoffman wrote: On 9/23/2012 4:29 PM, Burlen Loring wrote: hmmm, I was a bit hasty in concluding that the issue has gone away in newer releases. on another system, I have the issue with cmake 2.8.8. The intel compiler version there is 11.1. On this system if I don't i

[CMake] CPack, Components & postflight script on osx

2012-09-24 Thread Kevin Schmidt
Hi all, I'm trying to figure out if there is a way to get a postflight script installed in a CPack (with PackageMaker generator) package that uses components. If I don't use components, it works just fine. If I manually copy the postflight script INTO the individual component, it works. However

Re: [CMake] CMake/Ninja support in Qt Creator

2012-09-24 Thread Wouter van Kleunen
No, ninja is not really slow. Only when the filesystem caches are cold, a no-op build does take a considerable time. So yeah, the performance difference will not be very big when the caches are hot. Wouter Op 24-9-2012 11:17, Peter Kümmel schreef: On 24.09.2012 11:04, Nils Gladitz wrote:

Re: [CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Bogdan Cristea
On Monday 24 September 2012 08:39:14 you wrote: > /usr/bin/c++ -static CMakeFiles/Runtime.dir/Runtime.cpp.o -o > ../bin/Runtime \ > -rdynamic /usr/local/lib/libzmq.a /usr/local/lib/libczmq.a -lpthread > -lrt ../lib/libComm.a ../lib/libConfig.a > ../lib/libComm.a(Comm.c.o): In function `Comm_

Re: [CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Davis Ford
I tried shifting the order around, to no avail. I updated the gist to try to make the output a little more readable. https://gist.github.com/3776497 I'm not sure why different flags are set here on the MacOS build vs. the Linux build. On Mac OS I'm using clang compiler. On Linux, Gnu The rele

Re: [CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Bogdan Cristea
On Monday 24 September 2012 08:28:26 Davis Ford wrote: > Hi, I have a project that I'm able to build fine on Mac OS with CMake, but > when I check same project out on Ubuntu 12.04, I'm getting undefined > reference errors at link time. > > Here's the relevant section of the CMakeLists.txt file, an

[CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Davis Ford
Hi, I have a project that I'm able to build fine on Mac OS with CMake, but when I check same project out on Ubuntu 12.04, I'm getting undefined reference errors at link time. Here's the relevant section of the CMakeLists.txt file, and make VERBOSE=1 output for both Mac OS X (success) and Ubuntu 12

[CMake] CTEST_CONFIGURATION_TYPE not set in 'make test'

2012-09-24 Thread Petr Kmoch
Hi all, I seem to have a problem when using add_test(... CONFIGURATIONS ...) and running 'make test' on Linux. It's skipping the test. The CMakeLists.txt contains: #... enable_testing() add_test(NAME test1 CONFIGURATIONS db COMMAND ...) #... On Windows, I invoke CMake like this: cmake -DCMAKE_CO

Re: [CMake] Modifying a variable's value without resetting the docstring

2012-09-24 Thread David Cole
On Sep 24, 2012, at 10:18 AM, David Doria wrote: >> Well, if ${_var} is already a cache variable, you can retrieve it's >> HELPSTRING property to see what was set as the original doc string. But if >> it's not, then there won't be one, and you'll be adding an undocumented >> option... >> >>

Re: [CMake] Modifying a variable's value without resetting the docstring

2012-09-24 Thread David Doria
> Well, if ${_var} is already a cache variable, you can retrieve it's > HELPSTRING property to see what was set as the original doc string. But if > it's not, then there won't be one, and you'll be adding an undocumented > option... > > > http://cmake.org/cmake/help/v2.8.9/cmake.html#section_

Re: [CMake] cmake with intel compilers

2012-09-24 Thread Bill Hoffman
On 9/23/2012 4:29 PM, Burlen Loring wrote: hmmm, I was a bit hasty in concluding that the issue has gone away in newer releases. on another system, I have the issue with cmake 2.8.8. The intel compiler version there is 11.1. On this system if I don't include $INTEL_ROOT/include/intel64 explicitly

Re: [CMake] Custom command with included header file

2012-09-24 Thread Reza Housseini
On Fri, Sep 21, 2012 at 2:26 PM, Reza Housseini wrote: > Hello > I want to add my own library libsieve.so with the header file Sieve.h > to the custom target. I have the following setup: > > find_program(MKOCTFILE_EXECUTABLE mkoctfile) > if(NOT MKOCTFILE_EXECUTABLE) > message(SEND_ERROR "Failed

Re: [CMake] Ninja: It's ninja issue, or CMake problem?

2012-09-24 Thread Peter Kümmel
On 24.09.2012 11:38, Loaden wrote: Thanks for reply! For NMake Makefiles or Unix Makefiles generator, it's works fine. The dependenty set correct. no problem. When you post build.ninja and rules.ninja, I'll have a look at it. 2012/9/24 Peter Kümmel it could be that your pch implementation

Re: [CMake] Ninja: It's ninja issue, or CMake problem?

2012-09-24 Thread Loaden
Thanks for reply! For NMake Makefiles or Unix Makefiles generator, it's works fine. The dependenty set correct. no problem. 2012/9/24 Peter Kümmel > it could be that your pch implementation forgets to > set a dependency. > -- *Please don't ask where I come from, It's a shame!* Best Regards Y

Re: [CMake] Ninja: It's ninja issue, or CMake problem?

2012-09-24 Thread Peter Kümmel
On 24.09.2012 10:59, Loaden wrote: Hello everyone! I just know ninja, and like the small / fast. It's realy awesome. But I find some issue, I am just a newbie both of CMake and Ninja. So, If you interesting, have a look here. 1. 'ninja edit_cache' does not work if cmake-gui does not exist. 2. 'n

Re: [CMake] CMake/Ninja support in Qt Creator

2012-09-24 Thread Peter Kümmel
On 24.09.2012 11:04, Nils Gladitz wrote: When I tried with one of my larger projects the first no-op build after a full build took something between 20 and 30 seconds but no-op builds after that were below a second. I'm not really sure what would cause this (I guess disk or filesystem caching?).

Re: [CMake] CMake/Ninja support in Qt Creator

2012-09-24 Thread Nils Gladitz
When I tried with one of my larger projects the first no-op build after a full build took something between 20 and 30 seconds but no-op builds after that were below a second. I'm not really sure what would cause this (I guess disk or filesystem caching?). Nils On 09/24/2012 10:42 AM, Peter

[CMake] Ninja: It's ninja issue, or CMake problem?

2012-09-24 Thread Loaden
Hello everyone! I just know ninja, and like the small / fast. It's realy awesome. But I find some issue, I am just a newbie both of CMake and Ninja. So, If you interesting, have a look here. 1. 'ninja edit_cache' does not work if cmake-gui does not exist. 2. 'ninja test' does not work with CMake-p

Re: [CMake] CMake/Ninja support in Qt Creator

2012-09-24 Thread Loaden
I prefer keep it simply. 2012/9/24 Peter Kümmel > On 23.09.2012 15:04, Wouter van Kleunen wrote: > >> >> I had the following idea to speed up the building even more, if a tool >> can be build in ninja to list all files that need to be stat when >> building a project. These files can be monitore

Re: [CMake] CMake/Ninja support in Qt Creator

2012-09-24 Thread Peter Kümmel
On 23.09.2012 15:04, Wouter van Kleunen wrote: I had the following idea to speed up the building even more, if a tool can be build in ninja to list all files that need to be stat when building a project. These files can be monitored by qtcreator and later be provided as input again to ninja. So