[cmake-developers] Some advice

2011-09-12 Thread James Bigler
I need some advice on how to fix a problem I'm having with files with the same name. I have two CUDA files with the same name in different directories: CUDA_ADD_EXECUTABLE(test-conflict "path with spaces/conflict.cpp" "path with spaces/conflict.cu" "path with spaces/no-conflict.cpp" "path

Re: [cmake-developers] [PATCH] remove stray brace in CPackDeb documentation

2011-09-12 Thread Brad King
On 9/12/2011 9:37 AM, Rolf Eike Beer wrote: From c2a6ea8d1e5472c7b09195f58177a6002f39ade9 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 12 Sep 2011 15:35:27 +0200 Subject: [PATCH] remove stray brace in CPackDeb documentation Applied, thanks: http://cmake.org/gitweb?p=cmake.git;a=

Re: [cmake-developers] Cannot cross-compile CMake

2011-09-12 Thread Rolf Eike Beer
> Looks to me like this would be sufficient: > > # only build/install the documentation if not crosscompiling > IF(NOT CMAKE_CROSSCOMPILING) > INSTALL_FILES(${CMAKE_MAN_DIR}/man1 FILES ${MAN_FILES}) > INSTALL_FILES(${CMAKE_DOC_DIR} FILES ${HTML_FILES} ${TEXT_FILES}) > INSTALL(FILES cmake.m4 D

[cmake-developers] [PATCH] remove stray brace in CPackDeb documentation

2011-09-12 Thread Rolf Eike Beer
>From c2a6ea8d1e5472c7b09195f58177a6002f39ade9 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 12 Sep 2011 15:35:27 +0200 Subject: [PATCH] remove stray brace in CPackDeb documentation --- Modules/CPackDeb.cmake |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Mo

Re: [cmake-developers] Cannot cross-compile CMake

2011-09-12 Thread David Cole
Looks to me like this would be sufficient: # only build/install the documentation if not crosscompiling IF(NOT CMAKE_CROSSCOMPILING) INSTALL_FILES(${CMAKE_MAN_DIR}/man1 FILES ${MAN_FILES}) INSTALL_FILES(${CMAKE_DOC_DIR} FILES ${HTML_FILES} ${TEXT_FILES}) INSTALL(FILES cmake.m4 DESTINATION sh

[cmake-developers] Cannot cross-compile CMake

2011-09-12 Thread Rolf Eike Beer
Hi, I just tried to cross-compile CMake for an ARM target. Which I did was basically: -bootstrap and build CMake for the host -create a toolchain file for the target -call this to configure CMake: cmake \ -D CMAKE_TOOLCHAIN_FILE=${prefix}/etc/toolchain.cmake \ -D CMAKE_INSTALL_PR