[CMake] FIND_PATH FIND_LIBRARY

2009-01-20 Thread Vandenbroucke Sander
Hi, I'm trying to set up a cross-compilation build system using CMake. I followed the following instructions: http://www.vtk.org/Wiki/CMake_Cross_Compiling My toolchain file: # the name of the target operating system SET(CMAKE_SYSTEM_NAME Vdwos) # which C and C++ compiler to use

Re: [CMake] re-config on make all

2008-08-28 Thread Vandenbroucke Sander
Vandenbroucke Sander wrote: Hi, Sometimes CMake re-configures my build tree when running make. Unfortunately CMake uses wrong options, I normally set those on the command line. This forces me to re-config rebuild my entire source tree. This is a bit annoying since, in most

Re: [CMake] re-config on make all

2008-08-28 Thread Vandenbroucke Sander
That would be 2.4 patch 7... :-( So I try the update first before adding the :STRING. Thanks! From: David Cole [mailto:[EMAIL PROTECTED] Sent: donderdag 28 augustus 2008 16:03 To: Vandenbroucke Sander Cc: cmake@cmake.org Subject: Re: [CMake] re-config

[CMake] re-config on make all

2008-08-27 Thread Vandenbroucke Sander
Hi, Sometimes CMake re-configures my build tree when running make. Unfortunately CMake uses wrong options, I normally set those on the command line. This forces me to re-config rebuild my entire source tree. This is a bit annoying since, in most cases, this is not necessary and takes a long

Re: [CMake] embed version numbers in libraries (.so, a) and executables

2008-03-20 Thread Vandenbroucke Sander
From: Hendrik Sattler [mailto:[EMAIL PROTECTED] Sent: donderdag 20 maart 2008 12:31 To: Vandenbroucke Sander Cc: cmake@cmake.org Subject: Re: [CMake] embed version numbers in libraries (.so, a) and executables Can't you use the method provided by SVN using $Id$? Writing a proper resource file

[CMake] Pass variables to sub directory CMakeLists.txt

2008-02-20 Thread Vandenbroucke Sander
Hi, I want to pass a variable to CMakeLists.txt's in sub directories: Top directory CMakeLists.txt: set( VAR1 ) add_subdirectory (subdir1) add_subdirectory (subdir2) Each subdir CMakeLists.txt: ... set( VAR1 ${VAR1} extend_var1 ) ... I use VAR1 later on in the linker. How can I make this