[CMake] C++11 and try_compile

2015-03-12 Thread Sascha Zelzer
Hi, tldr; In a C++11 enabled CMake project, is try_compile() supposed to *not* use -std=c++11 by default? --- Long(er) version If I use a minimal CMakeLists.txt file like the one below with gcc and try_compile() compiles a source file containing C++11 features, I would naively assume that

[CMake] MinGW response file problem

2011-08-11 Thread Sascha Zelzer
Hi, I am using CMake 2.8.4 and MinGW (gcc 4.4.4, from the Qt SDK 1.1.2) on a Windows 7 64bit system. For my project, I used the MinGW Makefiles CMake generator to configure it, but when issuing a mingw32-make in a cmd.exe window, I get compiler errors due to corrupted command line arguments

Re: [CMake] MinGW response file problem

2011-08-11 Thread Sascha Zelzer
Great! It worked with CMake 2.8.5. I was searching the net like crazy but did not land on the CMake 2.8.5 Changelog... Thanks, Sascha On 08/11/2011 01:35 PM, Bill Hoffman wrote: On 8/11/2011 5:06 AM, Sascha Zelzer wrote: Hi, I am using CMake 2.8.4 and MinGW (gcc 4.4.4, from the Qt SDK

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-08-02 Thread Sascha Zelzer
On 08/02/2011 01:28 PM, David Cole wrote: Thanks for this info... I've reproduced the problem now, too. I'm not sure what to do about it yet, but I can make it happen: that's the first step toward a fix. There should not be a need for an update step if you're snapped to particular hash or

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-08-02 Thread Sascha Zelzer
Hi, I agree with JC and will move the CTK discussion to the ctk-developers list. Thanks, Sascha On 08/02/2011 05:21 PM, Jean-Christophe Fillion-Robin wrote: Within CTK, Where we are specifying a specific SHA1, we could set UPDATE_COMMAND to be Where we are specifying a branch like

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-08-01 Thread Sascha Zelzer
-English platforms or build tools... On Fri, Jul 29, 2011 at 2:14 AM, Sascha Zelzer s.zel...@dkfz-heidelberg.de mailto:s.zel...@dkfz-heidelberg.de wrote: Hi, Thanks David and Yuri for the information. In my case (with CTK), there are no error messages. The download step is successfully

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-08-01 Thread Sascha Zelzer
not typically test on non-English platforms or build tools... On Fri, Jul 29, 2011 at 2:14 AM, Sascha Zelzer s.zel...@dkfz-heidelberg.de mailto:s.zel...@dkfz-heidelberg.de wrote: Hi, Thanks David and Yuri for the information. In my case (with CTK

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-07-29 Thread Sascha Zelzer
source directory. The only wish I have I filed to Mantis: http://public.kitware.com/Bug/view.php?id=12322 Regards, Yuri On Thu, Jul 28, 2011 at 12:37 AM, Sascha Zelzer s.zel...@dkfz-heidelberg.de wrote: Hi, Is nobody on this list using CTK or Slicer with Visual Studio 2010 in superbuild mode

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-07-27 Thread Sascha Zelzer
your experience issue with VS2010 and superbuild .. would be great if you could provide more details about your investigation. Thanks Jc -- Forwarded message -- From: *Sascha Zelzer* s.zel...@dkfz-heidelberg.de mailto:s.zel...@dkfz-heidelberg.de Date: Fri, Jul 22, 2011 at 12:07

[CMake] ExternalProject overwrites cache entries

2011-07-07 Thread Sascha Zelzer
Hi, We are using the ExternalProject macro to configure and build some external (CMake-based) dependencies and we populate their cache by providing a CMAKE_ARGS -Dproj_var:type=bla argument to ExternalProject. If we now change the CMake option proj_var in the external project itself

Re: [CMake] ExternalProject git update problem

2011-03-26 Thread Sascha Zelzer
On Sat, Mar 26, 2011 at 11:54 AM, Sascha Zelzer s.zel...@dkfz-heidelberg.de mailto:s.zel...@dkfz-heidelberg.de wrote: Hi, we are using the ExternalProject module from CMake 2.8.4 and are observing a strange git update problem on Windows 7 when running a CTest script (using the new