Re: [CMake] XCode Generation Issue

2016-01-20 Thread Eric Wing
On 1/20/16, David Morsberger wrote: > >> On Jan 19, 2016, at 10:11 PM, Eric Wing wrote: >> >> On 1/19/16, David Morsberger wrote: >>> Any help would be appreciated. >>> >>> In particular I’d like to know how the default compiler arguments are >>> set >>> when ‘cmake -G Xcode’ is executed. The at

Re: [CMake] Creating RPMs from failing projects with CPack

2016-01-20 Thread Domen Vrankar
> I have a slightly unusual question (I guess). Is it possible somehow to force > CPack to produce RPM files from projects that have build problems? > > We use CMake in our nightly build system to test the latest changes in our > software. When a build problem occurs we don't want the whole build

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Gonzalo
El 20/01/16 a las 15:51, Brad King escribió: I don't know much about FLTK or recall specifically what the command does but I think it is about running "fluid" to generate some source files. This can now be done with add_custom_command calls, which could be packaged inside a macro or function

[CMake] ExternalProject_Add() macro does not set CMAKE_COMPILER_IS_GNUCXX

2016-01-20 Thread Craig Scott
> From: fkillus > To: cmake@cmake.org > Cc: > Date: Wed, 20 Jan 2016 18:41:26 +0100 > Subject: [CMake] ExternalProject_Add() macro does not set > CMAKE_COMPILER_IS_GNUCXX > I have been trying to compile Ogre [1] as external dependency with > ExternalProject_Add(). In theory this should be straight

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Gonzalo
El 20/01/16 a las 15:51, Brad King escribió: On 01/20/2016 01:46 PM, Gonzalo wrote: So that I know. What's the way of using FLTK now with cmake if FLTK_WRAP_UI is gone. It's not gone or even deprecated. It's just not well tested and seems to be broken in your particular case in a way not re

Re: [CMake] CMake 3.4.2 available for download

2016-01-20 Thread Andrew Maclean
Hi Brad, I can reproduce this on my other windows machine. Just a guess but it may be related to Update 1 of Visual Studio 2015. I can't test this hypothesis because I have update 1 installed on both machines. Note that everything works Ok for Visual Studio 2013. Here are the details: Here is the

[CMake] Customizing output of ctest command

2016-01-20 Thread Andrey Pokrovskiy
Hi, One of my tests generates a report table (file in text format). I would like to see its content after each ctest (or make test) invocation. Is there any way to achieve that? I noticed that tests targets have ATTACHED_FILES property, though it looks like it has no effect on ctest run when dashb

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Gonzalo
El 20/01/16 a las 11:24, Brad King escribió: On 01/19/2016 08:42 PM, Gonzalo wrote: I compiled v3.4.2 and after installing it in /usr/local, I tried running it in a project that was working fine with cmake 2.8. Thanks for reporting this. The 2.8 series was quite long. To help narrow the cha

Re: [CMake] ExternalProject_Add() macro does not set CMAKE_COMPILER_IS_GNUCXX

2016-01-20 Thread Nicholas Braden
Where/how is that variable normally set? External projects have no awareness of the project they are in, they just run CMake as usual the same way you would. If the variable is normally set by CMake itself, make sure that your containing project and the external project both find the same compiler.

[CMake] ExternalProject_Add() macro does not set CMAKE_COMPILER_IS_GNUCXX

2016-01-20 Thread fkillus via CMake
I have been trying to compile Ogre [1] as external dependency with ExternalProject_Add(). In theory this should be straightforward since Ogre itself also uses CMake as buildsystem. However, in the process I encountered the following problem: Ogre checks the value of the CMAKE_COMPILER_IS_GNUCXX va

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Brad King
On 01/19/2016 08:42 PM, Gonzalo wrote: > I compiled v3.4.2 and after installing it in /usr/local, I tried running > it in a project that was working fine with cmake 2.8. Thanks for reporting this. The 2.8 series was quite long. To help narrow the changes between these versions, what 2.8 version

Re: [CMake] CMake 3.4.2 available for download

2016-01-20 Thread Brad King
On 01/19/2016 11:48 PM, Andrew Maclean wrote: > Works well, although I did find that I had to update my Windows SDK > to 10.0.10586.0 when using Visual Studio 2015 on Windows 10. > This is because CMake detected the system as Windows - 10.0.10586 - AMD64. > This was not the case with the previous

Re: [CMake] XCode Generation Issue

2016-01-20 Thread David Morsberger
> On Jan 19, 2016, at 10:11 PM, Eric Wing wrote: > > On 1/19/16, David Morsberger wrote: >> Any help would be appreciated. >> >> In particular I’d like to know how the default compiler arguments are set >> when ‘cmake -G Xcode’ is executed. The attached file contains the cmake test >> compile

[CMake] Creating RPMs from failing projects with CPack

2016-01-20 Thread Attila Krasznahorkay
Dear All, I have a slightly unusual question (I guess). Is it possible somehow to force CPack to produce RPM files from projects that have build problems? We use CMake in our nightly build system to test the latest changes in our software. When a build problem occurs we don't want the whole bui

Re: [CMake] Alternative to CMAKE_PREFIX_PATH

2016-01-20 Thread Nikita Barawade
Hi, I set CMAKE_PREFIX_PATH in system's environment variable on windows but cmake does not check for it. can we make cmake to search for system's environment variable as happens in Linux ? Regards, Nikita From: Guillaume Dumont Sent: 18 January 2016 08:16