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
SET(CMAKE_C
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
> > > 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-confi
> -Original Message-
> From: Bill Hoffman [mailto:[EMAIL PROTECTED]
> Sent: woensdag 27 augustus 2008 14:37
> To: Vandenbroucke Sander
> Cc: cmake@cmake.org; Brad King
> Subject: Re: [CMake] re-config on make all
>
> 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 cases, this is not necessary
and takes a long time
Hi,
I'm using cmake 2.4 to build code for an embedded platform. To link
everything together I use static (.a) libraries.
For the sake of compiling speed I want to use distcc. I do it like this:
set CC=distcc nios2-elf-gcc
set CXX=distcc nios2-elf-g++
set DISTCC_HOSTS=pc710 localhost
cma
>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
I also struggled with getting a SVN revision into my source code.
By the looks of this my solution can be improved :-)
> CMakeLists.txt:
> =
> CONFIGURE_FILE(dump_svnversion.sh.in dump_svnversion.sh)
> ADD_CUSTOM_TARGET(OutputSvnVersion ALL
> ${CMAKE_CURRENT_BINARY_DIR}/dump_
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