Re: [CMake] Help debug crazy Windows MSVC issue

2014-02-17 Thread Hendrk Sattler
Am 2014-02-17 07:36, schrieb Paul Smith: On Mon, 2014-02-17 at 00:20 -0500, Paul Smith wrote: On Sun, 2014-02-16 at 22:38 -0500, David Cole wrote: > > How can I structure my cmake file to avoid > > this double build? > > Put the custom command in a custom target, and make the libraries using > t

Re: [CMake] Help debug crazy Windows MSVC issue

2014-02-17 Thread Hendrk Sattler
Am 2014-02-17 10:20, schrieb Hendrk Sattler: Visual Studio 10 totally relies on the custom build tool to protect itself when run in parallel. It will run the generator as many times as the bar.cpp is mentioned in different targets, even in parallel if that is enabled. And that's what you see. A

Re: [CMake] Help debug crazy Windows MSVC issue

2014-02-17 Thread Paul Smith
Thanks Hendrk. It's good to know I'm not crazy or overlooking something simple, even if the answer is not what I wanted. I did some other experimentation last night and I'll followup with some results, which may be interesting. Can anyone tell me how to get the Visual Studio output to show compl

Re: [CMake] Help debug crazy Windows MSVC issue

2014-02-17 Thread Paul Smith
On Mon, 2014-02-17 at 10:20 +0100, Hendrk Sattler wrote: > Visual Studio 10 totally relies on the custom build tool to protect > itself when run in parallel. It will run the generator as many times > as the bar.cpp is mentioned in different targets, even in parallel if > that is enabled. Yes, th

[CMake] How to disable the configuration test

2014-02-17 Thread transgohan
Hello, i have a very specific toolchain that absolutly can't work like a GCC. Thanks to that i can't compile the test project at configuration (or maybe after a lot of work, time i don't have). I change Compiler Constant in my CMakeLists.txt and when i do that i have an infinite loop of the con

[CMake] CMake & Android NDK projects with Eclipse

2014-02-17 Thread Robert Dailey
Using the very latest & greatest CMake, is there built in support for Android NDK projects using Eclipse? I think this might involve cross compilation too. Basically it'd be nice if there was a wiki (up to date with latest CMake features) that walks through the setup process. What environment vari

Re: [CMake] Help debug crazy Windows MSVC issue

2014-02-17 Thread J Decker
visual studio supports a verbosity setting on the command line... /v:[qmnd,diag] Specifies the amount of information to display in the build log. Each logger displays events based on the verbosity level that you set for that logger. You can specify the following verbosity levels: q[uiet], m[inima

[CMake] find_path doesn't work if environment variable has spaces

2014-02-17 Thread Iulian-Nicu Şerbănoiu
Hello, I'm using cmake 2.8.12 on Windows XP. I have an issue when calling find_path command if an environment variable contains spaces. Here is my CMakeLists.txt file: CMAKE_MINIMUM_REQUIRED (VERSION 2.6) PROJECT (CodeTrainerPlugins) MESSAGE("$ENV{CODETRAINER_PATH}") FIND_PATH (CODETRAINER_