[CMake] ExternalProject BUILD_COMMAND and Visual Studio Express 2010

2013-11-22 Thread Macumber, Daniel
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, using Visual Studio Express 2010 I get an error that nmake is not a known

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

2013-11-22 Thread Macumber, Daniel
I should also add that I am building in 64 bit mode and had to install the 7.1 SDK along with a compiler patch to get Visual Studio 2010 express working at all for 64 bit builds. Dan From: Macumber, Daniel Sent: Friday, November 22, 2013 8:49 PM To: cmake@cmake.org Subject: ExternalProject BUIL

[CMake] path levels in TGZ cpack generator

2013-11-22 Thread Tino Keitel
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 like this: $ tar tf test.tar.gz ./x/ ./x/foo cpack currently creates pack

[CMake] Make variables appear in CCMake

2013-11-22 Thread Sensei
Dear all, I am trying to write a project file that is as simple as possible for non developers. I need ccmake to show options to users regarding packages, but I am finding some difficulties. For example, when I want to show Boost-related variables, for instance the root, include and lib: # B

Re: [CMake] command line too long when compiling CUDA code with WindowsSDK7.1_64bit

2013-11-22 Thread Lars Friedrich Lars
Hi Cory,   works like a charm! (also without resetting COMPILE_DEFINITIONS)   Thanks a lot!   Lars   Gesendet: Freitag, 22. November 2013 um 14:11 Uhr Von: "Cory Quammen" An: "Lars Friedrich Lars" Cc: cmake@cmake.org Betreff: Re: [CMake] command line too long when compiling CUDA code wi

Re: [CMake] command line too long when compiling CUDA code with WindowsSDK7.1_64bit

2013-11-22 Thread Cory Quammen
Lars, When faced with this same problem, my workaround was to clear the list of include directories. It also turned out I needed to clear the compiler definitions passed with -D because nvcc choked on them. Here's how you do that. SET_DIRECTORY_PROPERTIES( PROPERTIES INCLUDE_DIRECTORIES "" ) SET_

[CMake] command line too long when compiling CUDA code with WindowsSDK7.1_64bit

2013-11-22 Thread Lars Friedrich Lars
Hello,   we're compiling CUDA code in a sub-library of a bigger project which depends on ITK, VTK, Qt, RTK and a further proprietary library.   The CMakeLists.txt of this sub-library looks somehow like this:   # SET(OWN_LI

Re: [CMake] Downgrade CMake

2013-11-22 Thread guillermovelasco
Hi. For uninstall CMake, you must delete following files: com.Kitware.CMake.bom com.Kitware.CMake.plist from harddisk > private > var > db > receipts It worked for me. Best regards. Guillermo Velasco, from Spain -- View this message in context: http://cmake.3232098.n2.nabble.com/Downgrade-

Re: [CMake] Experimental builds not always shown in CDash

2013-11-22 Thread Micha Hergarden
On 11/21/2013 09:55 AM, NoRulez wrote: > I checked the logs from the web server which looks fine. > > I also have a look on the generated xml files (Update, Submit, ...), these > looks also good. > > The LastSubmit file shows "successfully sent". > > The CDash remains empty, no experimental build