Re: [CMake] Windows Ninja cmcldeps.exe too verbose

2012-08-22 Thread Nils Gladitz
I was using the Intel provided build environment (sets up environment variables and runs cmd.exe) with CC and CXX set to icl which apparently is the cause of the extra verbosity. When I use the same environment without CC and CXX set (which in this case defaults them to cl provided by visual s

Re: [CMake] Specifying compilers?

2012-08-22 Thread Rolf Eike Beer
Jason T. Slack-Moehrle wrote: > Hello, > > I am trying to use come C++v11 features and am trying to get the > compiling to work. > > The error: > [jtsm@server]$ ./build.sh > -- The C compiler identification is Clang 4.0.0 > -- The CXX compiler identification is Clang 4.0.0 > -- Check for working

Re: [CMake] CMake 2.8.8 : Reproducible Crash in Mac OS X 10.8

2012-08-22 Thread Bill Hoffman
On 8/22/2012 12:17 PM, Sean McBride wrote: Those are both true. If you install only Xcode.app, the command line tools are there, but not in your path, making them seem missing. You can also decide not to download the 4 GB Xcode.app and instead download only the smaller 'command line tools' i

Re: [CMake] Windows Ninja cmcldeps.exe too verbose

2012-08-22 Thread Bill Hoffman
On 8/22/2012 5:34 AM, Nils Gladitz wrote: I'm trying the Ninja generator on windows with CMake 2.8.9. When starting a build with "ninja" my console is flooded with messages of the form: "Note: including file: [...]" which I am guessing are generated by cmcldeps(?). It feels like all that output

Re: [CMake] Specifying compilers?

2012-08-22 Thread Jason T. Slack-Moehrle
> I'm very new to CMake, but we can see the C++11 flags are not showing up in > your VERBOSE output. > > The way i'm adding flags is by using: > > add_definitions(-Wall -Wextra -std=c++0x -pedantic) Here is a test example: http://6colors.net/example.tar.gz -- Powered by www.kitware.com Visit oth

Re: [CMake] Specifying compilers?

2012-08-22 Thread Júlio Hoffimann
I'm very new to CMake, but we can see the C++11 flags are not showing up in your VERBOSE output. The way i'm adding flags is by using: add_definitions(-Wall -Wextra -std=c++0x -pedantic) Don't know if is the more appropriate CMake command though. Regards, Júlio. 2012/8/22 Jason T. Slack-Moehrl

Re: [CMake] Looking for framework in OS X 10.8 with CMake 2.8.8/2, 8.9 seems to be broken

2012-08-22 Thread Jason T. Slack-Moehrle
David, > My environment: > > OS: OS X 10.8 > Xcode 4.4 > Cmake: Tried on both CMake 2.8.8 and CMake 2.8.9 I have the same except XCode 4.5 DP4 > FYI: I tried to load the OpenGL framework (located at > /System/Library/Frameworks/OpenGL.framework) to check whether CMake wa

Re: [CMake] Specifying compilers?

2012-08-22 Thread Jason T. Slack-Moehrle
> Can you provide the output of "make VERBOSE=1"? Absolutely. $ ./build.sh -- The C compiler identification is Clang 4.0.0 -- The CXX compiler identification is Clang 4.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C comp

Re: [CMake] FindX11 vs. Lion

2012-08-22 Thread Randolph M . Fritz
On 2012-08-21 20:00:44 +, Clifford Yapp said: On Tue, Aug 21, 2012 at 2:38 PM, Randolph M. Fritz wrote: What problems did your solutions address? I've skimmed them, but am not sure I understand them. I'd also be interested in hearing from anyone else who has done this, and even people

Re: [CMake] Specifying compilers?

2012-08-22 Thread Leif Walsh
Can you provide the output of "make VERBOSE=1"? Sent from my iPhone On Aug 22, 2012, at 19:04, "Jason T. Slack-Moehrle" wrote: > Hello, > > I am trying to use come C++v11 features and am trying to get the > compiling to work. > > The error: > [jtsm@server]$ ./build.sh > -- The C compiler ide

[CMake] Specifying compilers?

2012-08-22 Thread Jason T. Slack-Moehrle
Hello, I am trying to use come C++v11 features and am trying to get the compiling to work. The error: [jtsm@server]$ ./build.sh -- The C compiler identification is Clang 4.0.0 -- The CXX compiler identification is Clang 4.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C

[CMake] Getting started with the tutorial

2012-08-22 Thread David MacQuigg
I'm just getting started with CMake.  Downloaded and installed version 2.8.9 under Mac OS 10.6.  Downloaded the tutorial (Step 1) from Tests/Tutorial.   Everything looks normal. I then ran CMake and filled out the form with the source and binary directories (after adding a "bin" directory for t

Re: [CMake] CMake files for static builds of Qt 5

2012-08-22 Thread Stephen Kelly
Clinton Stimpson wrote: > To clarify, I wasn't talking about moving Qt. I was talking about a pre- > compiled libraries that depend on Qt being put on another machine, along > with their cmake export files. Thanks for clarifying! > > The QMAKE_PRL_LIBS has paths > -L/usr/X11R6/lib64 > -L/home/s

Re: [CMake] CMake 2.8.8 : Reproducible Crash in Mac OS X 10.8

2012-08-22 Thread Sean McBride
On Mon, 13 Aug 2012 16:40:05 -0400, Bill Hoffman said: >On 8/12/2012 1:25 PM, Michael Jackson wrote: >> I think you can actually download the Command line tools and install >> them_without_ installing Xcode. Have not tried but this is what I am >> led to believe. >I don't think that is true. Xcod

Re: [CMake] CMake files for static builds of Qt 5

2012-08-22 Thread Clinton Stimpson
On Wednesday, August 22, 2012 05:03:47 PM Stephen Kelly wrote: > Forwarding to the cmake list. > > Context: We're discussing the patch at: > > https://codereview.qt-project.org/#change,33193 > > in which a line similar to (eg from QtCore.prl): > > QMAKE_PRL_LIBS = -lpthread -lz -licui18n -licuu

Re: [CMake] CMake files for static builds of Qt 5

2012-08-22 Thread Stephen Kelly
Forwarding to the cmake list. Context: We're discussing the patch at: https://codereview.qt-project.org/#change,33193 in which a line similar to (eg from QtCore.prl): QMAKE_PRL_LIBS = -lpthread -lz -licui18n -licuuc -lm -ldl -pthread - lgthread-2.0 -lrt -lglib-2.0 The line in QtGui.prl looks

Re: [CMake] C# and cmake ?

2012-08-22 Thread Bradley Lowekamp
Hello Gerhard, With the SimpleITK project I am working on we are using C#, SWIG and a lot of C++ ( along with a variety of other languages). We are using Swig to generate C# libraries, and compile a large number of C# executables to test our interface. We have quite a bit of CMake code, but I h

Re: [CMake] C# and cmake ?

2012-08-22 Thread Yuri Timenkov
Generator expressions are special placeholders $<> used in custom commands and targets. If external project weren't of "utility" type in CMake (e.g. executable) it would be possible to associate imported location with it and use in other custom commands and targets as any other target. This allows

Re: [CMake] C# and cmake ?

2012-08-22 Thread Gerhard den Hollander
* Yuri Timenkov (Wed, Aug 22, 2012 at 01:20:37PM +0200) > It's better to use include_external_msproject with C# projects. After fixing > bug http://public.kitware.com/Bug/view.php?id=13120 it's possible to use: > > include_external_msproject(Configurator ${CMAKE_SOURCE_DIR}/MyCSProject.csproj >

Re: [CMake] C# and cmake ?

2012-08-22 Thread Yuri Timenkov
It's better to use include_external_msproject with C# projects. After fixing bug http://public.kitware.com/Bug/view.php?id=13120 it's possible to use: include_external_msproject(Configurator ${CMAKE_SOURCE_DIR}/MyCSProject.csproj TYPE FAE04EC0-301F-11D3-BF4B-00C04F79EFBC PLATFORM "Any CPU"

[CMake] C# and cmake ?

2012-08-22 Thread Gerhard den Hollander
We have a large code base, that consists of a large number of C++ file and a smaller number of C# files. Most fo the C++ code is being build using CMake, the C# code is build using the msbuild tools. I know that currently there is no C# support planned in CMake, but reading through the google res

[CMake] Windows Ninja cmcldeps.exe too verbose

2012-08-22 Thread Nils Gladitz
I'm trying the Ninja generator on windows with CMake 2.8.9. When starting a build with "ninja" my console is flooded with messages of the form: "Note: including file: [...]" which I am guessing are generated by cmcldeps(?). It feels like all that output is slowing down the build considerably