Re: [CMake] Missing CMAKE_CONFIGURATION_TYPES with project NONE on Windows

2013-05-14 Thread Paul Smith
On Tue, 2013-05-14 at 09:51 -0400, Brad King wrote: On 05/10/2013 11:14 AM, Brad King wrote: OTOH the Xcode generator just initializes all four configurations in EnableLanguage up front: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalXCodeGenerator.cxx;hb=v2.8.10.2#l182

[CMake] Missing CMAKE_CONFIGURATION_TYPES with project NONE on Windows

2013-05-10 Thread Paul Smith
Hi all. I'm using cmake 2.8.10.2. I'm trying to introduce an alternative compiler into my build system for Linux, so as a first step I've separated my project statement from: project(MyProject C CXX) into: project(MyProject NONE) enable_language(C) enable_language(CXX) This works

Re: [CMake] Missing CMAKE_CONFIGURATION_TYPES with project NONE on Windows

2013-05-10 Thread Paul Smith
, 2013-05-10 at 10:31 -0400, Paul Smith wrote: Hi all. I'm using cmake 2.8.10.2. I'm trying to introduce an alternative compiler into my build system for Linux, so as a first step I've separated my project statement from: project(MyProject C CXX) into: project(MyProject NONE

Re: [CMake] Missing CMAKE_CONFIGURATION_TYPES with project NONE on Windows

2013-05-10 Thread Paul Smith
On Fri, 2013-05-10 at 11:14 -0400, Brad King wrote: On 05/10/2013 10:31 AM, Paul Smith wrote: I've separated my project statement from: project(MyProject C CXX) into: project(MyProject NONE) enable_language(C) enable_language(CXX) on Windows (VS 10 Win64

Re: [CMake] Missing CMAKE_CONFIGURATION_TYPES with project NONE on Windows

2013-05-10 Thread Paul Smith
On Fri, 2013-05-10 at 11:34 -0400, Brad King wrote: On 05/10/2013 11:23 AM, Paul Smith wrote: Is there any way to work around this? I've tried setting CMAKE_CONFIGURATION_TYPES before project() Make sure you set it as a cache entry: set(CMAKE_CONFIGURATION_TYPES Debug;Release

[CMake] Forcing colorization of output from cmake

2013-05-01 Thread Paul Smith
Hi all. I'm wondering if there's any way to force the output from cmake (using a unix makefile generator for example) to be colorized, even if stdout doesn't appear to be a TTY. Is that possible? Some extra switch to cmake_echo_color? -- Powered by www.kitware.com Visit other Kitware

Re: [CMake] CMake 2.8.11-rc3 ready for testing!

2013-04-29 Thread Paul Smith
On Mon, 2013-04-29 at 14:53 -0400, Robert Maynard wrote: We found a bug in rc3 and are waiting for the fix to be finalized before we make rc4. You can track the bug by following the 2.8.11-rc3 generator expression error thread. I haven't seen any action on that thread since Thursday... the

Re: [CMake] 2.8.11-rc3 generator expression error

2013-04-25 Thread Paul Smith
On Thu, 2013-04-25 at 17:02 +0200, Stephen Kelly wrote: I've pushed the fix-multi-config-tll-include-dirs branch to my clone. Thanks for your efforts on this guys. I've backed up to 2.8.10.2 with the two patches cherry-picked via git for the generate.stamp issue. So far I haven't seen that

Re: [CMake] Cannot restore timestamp error on Windows

2013-04-24 Thread Paul Smith
On Tue, 2013-04-23 at 21:50 -0400, Bill Hoffman wrote: On 4/23/2013 8:57 PM, J Decker wrote: I've seen this also, and it is intermittant; once upon a time there were several AV programs that held new files open too long, so subsequent accesses would fail... sorry to be no help Can you try

Re: [CMake] Cannot restore timestamp error on Windows

2013-04-24 Thread Paul Smith
On Wed, 2013-04-24 at 09:02 -0400, John Drescher wrote: I installed it and it ran one time and I didn't see the error, but it's intermittent so that's not definitive. Unfortunately one of my cmake files failed (later on; this is a cmake file from a smaller sub-project): CMake

Re: [CMake] Cannot restore timestamp error on Windows

2013-04-24 Thread Paul Smith
On Wed, 2013-04-24 at 09:11 -0400, Paul Smith wrote: I have seen this as well with the 2.8.11-rc releases. I am not exactly what causes that. The package I'm trying to build is here, FWIW: https://github.com/nuodb/nuodb-php-pdo The CMakeLists.txt file is here: https://github.com

Re: [CMake] 2.8.11-rc3 generator expression error (was: Cannot restore timestamp error on Windows)

2013-04-24 Thread Paul Smith
On Wed, 2013-04-24 at 17:50 +0200, Stephen Kelly wrote: I'm not clear on whether this is intermittent or does it occur for you every time you run cmake for the project? Every time, but I'm using the Windows Visual Studio 9 generator (32bit). That's required for the PHP version I'm using. I

Re: [CMake] Cannot restore timestamp error on Windows

2013-04-23 Thread Paul Smith
On Sun, 2013-04-21 at 00:32 -0400, Paul Smith wrote: Hi all; I'm getting this error most, but not every, time I run cmake on my main Windows build system: 28CUSTOMBUILD : CMake error : Cannot restore timestamp D:\build-dir\MASTER-BRANCHES30-WINDOWS\BaseTest\CMakeFiles\generate.stamp

Re: [CMake] Cannot restore timestamp error on Windows

2013-04-23 Thread Paul Smith
On Tue, 2013-04-23 at 15:54 -0700, J Decker wrote: do you have antivirus software that you can disable? No, there's no special antivirus software on these build servers. It's hard to imagine what kind of issue antivirus software would cause, that would be so intermittent. Our builds perform

[CMake] Cannot restore timestamp error on Windows

2013-04-20 Thread Paul Smith
Hi all; I'm getting this error most, but not every, time I run cmake on my main Windows build system: 28CUSTOMBUILD : CMake error : Cannot restore timestamp D:\build-dir\MASTER-BRANCHES30-WINDOWS\BaseTest\CMakeFiles\generate.stamp It happens for different targets as well, not always the same

[CMake] Building cmake: ccmake not built

2013-04-18 Thread Paul Smith
Hi all; I'm tring to build cmake using a cross-compiler environment so cmake itself will run on a different platform. It's working well, except that ccmake is not getting compiled (neither is cmake-gui but that's OK). I do have curses libraries installed and other curses programs are built and

[CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Paul Smith
Hi all; I need to rebuild cmake to incorporate a fix that has been added since the last release (I could get a nightly build but I was hoping to use released cmake with just the fix I need to reduce risk) and which is causing my builds to fail sometimes. For Linux and MacOS this was quite simple

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Paul Smith
On Fri, 2013-04-12 at 17:04 -0400, Jean-Christophe Fillion-Robin wrote: Hi Paul, Set option CMAKE_INSTALL_PREFIX to a location of your choice Then, build INSTALL target Hi; thanks a lot for your answer! I was able to set CMAKE_INSTALL_PREFIX; thanks for that. Can you give a specific

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Paul Smith
On Fri, 2013-04-12 at 18:07 -0400, Jean-Christophe Fillion-Robin wrote: Since the syntax can change between version of Visual Studio, you could try to use cmake directly: cd C:\path\to\project-build cmake.exe --build . --target INSTALL --config Release That worked perfectly; I wasn't

<    1   2