Re: [CMake] ExternalProject BUILD_COMMAND and Visual Studio Express 2010

2013-11-23 Thread David Cole
I use the environment variable: VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ to locate Visual Studio 2012 (vs11) on my machine. So, in CMake code, you could use $ENV{VS110COMNTOOLS} to specify the path to the batch file if you need it. The easiest t

Re: [CMake] ExternalProject BUILD_COMMAND and Visual Studio Express 2010

2013-11-23 Thread Magnus Therning
On Sat, Nov 23, 2013 at 08:54:24AM -0700, Macumber, Daniel wrote: > Thanks Magnus, is there a reliable way to get the path to > vcvarsall.bat that will work for various versions of Visual Studio > (express or not)? I don't know of any sure way of doing that, but if vcvarsall.bat is located in the

[CMake] Problem configuring project for Visual Studio 2008 Win64

2013-11-23 Thread Macumber, Daniel
I have Visual Studio 2008 Pro and am having trouble with the Win64 generator. Things work fine for me using the 32 bit generator but when I choose the 64 bit one I get this: CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_proc

Re: [CMake] ExternalProject BUILD_COMMAND and Visual Studio Express 2010

2013-11-23 Thread Macumber, Daniel
Thanks Magnus, is there a reliable way to get the path to vcvarsall.bat that will work for various versions of Visual Studio (express or not)? Dan On Fri, Nov 22, 2013 at 08:49:07PM -0700, Macumber, Daniel wrote: > Our project is using ExternalProject_Add to build Ruby. Our > BUILD_COMM

Re: [CMake] Difference between CMake and CVS CMake when using Bullseye

2013-11-23 Thread NoRulez
Ok, I think it is working now. The nightly build shows coverage informations. I extend the IF statement: if (WITH_COVERAGE AND (CTEST_COVERAGE_COMMAND OR COV01)) Best Regards > Am 21.11.2013 um 22:19 schrieb Bill Hoffman : > >> On 11/21/2013 3:16 PM, NoRulez wrote: >> I followed the following

Re: [CMake] ExternalProject BUILD_COMMAND and Visual Studio Express 2010

2013-11-23 Thread Magnus Therning
On Fri, Nov 22, 2013 at 08:49:07PM -0700, Macumber, Daniel wrote: > Our project is using ExternalProject_Add to build Ruby. Our > BUILD_COMMAND on Windows is "cd > ${CMAKE_BINARY_DIR}/Ruby-prefix/src/Ruby-build && nmake". This > works using the professional versions of Visual Studio. However, >

Re: [CMake] path levels in TGZ cpack generator

2013-11-23 Thread Magnus Therning
On Fri, Nov 22, 2013 at 03:54:38PM +0100, Tino Keitel wrote: > Hi, > > for integration in an existing build infrastructure, I want to use > cpack with the TGZ generator to create packages that have the > current directory (./) as the first path component. The content of > the archive would look li