Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers.

2011-12-22 Thread Abdelrazak Younes
-Original Message- From: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net] Sent: Wednesday, December 21, 2011 9:41 PM To: cmake@cmake.org Cc: Abdelrazak Younes Subject: Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers. On Wednesday 21 December 2011, Abdelrazak Younes

[CMake] Small modification of a Linux-GNU toolchain

2011-12-22 Thread Eric Noulard
Hi all, I'd to create a very simple cross-compile toolchain in order to work on Intel SCC (http://techresearch.intel.com/ProjectDetails.aspx?Id=1) I do have several cross-compiler choices (2 gcc-based and 1 icc-based). My toolchains are working but for one of them which is gcc-based I get

Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers.

2011-12-22 Thread Rolf Eike Beer
Am Donnerstag 22 Dezember 2011, 02:23:00 schrieb Abdelrazak Younes: -Original Message- From: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net] Sent: Wednesday, December 21, 2011 9:41 PM To: cmake@cmake.org Cc: Abdelrazak Younes Subject: Re: [CMake] Support for RVDS 4.1: ARM C/C++

[CMake] Determine 32 vs 64 bit cpu

2011-12-22 Thread pellegrini
Hi all, I have a program that uses an external library whose path name depends on its version (32 or 64 bit). Is there a direct way in cmake to test whether my cpu is 32 or 64 bit ? The one I found up to now is the following: if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(arch_64 TRUE) else()

Re: [CMake] Determine 32 vs 64 bit cpu

2011-12-22 Thread Michael Wild
On 12/22/2011 12:23 PM, pellegrini wrote: Hi all, I have a program that uses an external library whose path name depends on its version (32 or 64 bit). Is there a direct way in cmake to test whether my cpu is 32 or 64 bit ? You don't actually care about the CPU, but the operating system

Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers.

2011-12-22 Thread David Cole
On Thu, Dec 22, 2011 at 6:10 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Donnerstag 22 Dezember 2011, 02:23:00 schrieb Abdelrazak Younes: -Original Message- From: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net] Sent: Wednesday, December 21, 2011 9:41 PM To: cmake@cmake.org Cc:

Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers.

2011-12-22 Thread Abdelrazak Younes
-Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of David Cole On Thu, Dec 22, 2011 at 6:10 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Donnerstag 22 Dezember 2011, 02:23:00 schrieb Abdelrazak Younes: It would be nice if this work could be

[CMake] How do I use the ExternalProject module to compile only once

2011-12-22 Thread Delcypher
Hi, I'm starting work on a project that depends on the ITK library and I'm using Arch Linux as my build platform. What I'd like to be able to do is the following. * When the following is run $ pwd /home/dan/project/build-dir $ cmake ../src/ for there to be a variable to be set it the cache

Re: [CMake] How do I use the ExternalProject module to compile only once

2011-12-22 Thread Delcypher
Apologies. There was a silly mistake in the version posted on pastebin. Here is a corrected version http://pastebin.com/P95WNUP5 The problems I see with what I have written are: * The line FIND_PACKAGE(ITK) when FETCH_ITK is enabled is making things go wrong because the ITK library hasn't been

Re: [CMake] How do I use the ExternalProject module to compile only once

2011-12-22 Thread Benjamin Eikel
Hello, Am Donnerstag, 22. Dezember 2011, 14:58:15 schrieb Delcypher: Apologies. There was a silly mistake in the version posted on pastebin. Here is a corrected version http://pastebin.com/P95WNUP5 The problems I see with what I have written are: * The line FIND_PACKAGE(ITK) when

[CMake] Problems finding the SSL library

2011-12-22 Thread Matchek
Hello everyone, I'm attempting to build mysql-5.5. It fails while finding the OpenSSL library, and I can't figure out why. All other problems can find OpenSSL without any problems. The source code: http://ftp.heanet.ie/mirrors/www.mysql.com/Downloads/MySQL-5.5/mysql-5.5.19.tar.gz Here's what

[CMake] Problem on an external library depending on an internal one

2011-12-22 Thread Marco Corvo
Hi all, I have a big project which can be used in two ways: either the user checks out all the packages and makes a big make or he checks out only a subset and build them linking against a given release, which is installed somewhere else on his machine. In this last option the libraries

[CMake] Compile project as C++ if MSVC

2011-12-22 Thread Pau Garcia i Quiles
Hi, Visual C++ 2010 does not support C99 yet and it seems it will be a long time before MSVC supports it. For now, the usual work-around is to build the project as C++. I'd like to build as C if using mingw, and as C++ if using MSVC. How can I do that? project() seems not to be valid here (I

Re: [CMake] Compile project as C++ if MSVC

2011-12-22 Thread Eric Noulard
2011/12/23 Pau Garcia i Quiles pgqui...@elpauer.org: Hi, Visual C++ 2010 does not support C99 yet and it seems it will be a long time before MSVC supports it. For now, the usual work-around is to build the project as C++. I'd like to build as C if using mingw, and as C++ if using MSVC. How

Re: [CMake] Compile project as C++ if MSVC

2011-12-22 Thread Michael Wild
On 12/23/2011 07:23 AM, Eric Noulard wrote: 2011/12/23 Pau Garcia i Quiles pgqui...@elpauer.org: Hi, Visual C++ 2010 does not support C99 yet and it seems it will be a long time before MSVC supports it. For now, the usual work-around is to build the project as C++. I'd like to build as C

[Cmake-commits] CMake branch, next, updated. v2.8.6-2311-ge2477cf

2011-12-22 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e2477cf65161c46c377419a231c3371437630285 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.6-438-g9fc5fac

2011-12-22 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 9fc5faceea105fae26bf559e22ae9f55cc12ae90 (commit) from