Re: [CMake] different compiler for xcode

2012-02-04 Thread Johan Björk
Hi, You can change it using a toolchain file. We use something like this: SET(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION com.foo.compilers.llvmgcc42 CACHE STRING "" FORCE) On Fri, Feb 3, 2012 at 11:49 AM, MM wrote: > Hi, > > Does the xcode generator on cmake 2.8.3 allow specifying a different gcc > from

Re: [CMake] static cmake, ctest executables

2012-02-04 Thread Eric Noulard
2012/2/4 Ilias Miroslav : > Greetings, Sirs, > > > I would like to have "cmake" and "ctest" executables static (for usage in > grid enviroment). > > I tried to compile the newest "cmake-2.8.7.tar.gz" version with > > ./configure --prefix=/home/ilias/bin/cmake_static LDFLAGS=--static > --disable-s

[CMake] Making a variable a dependency...

2012-02-04 Thread Oliver Smith
My CMakeLists uses the Subversion repository information in a couple of places (it configures a file revision.h and it uses it for the CPack package name). The problem is that this variable is cached and retained until the cache is rebuilt, instead of being calculated or evaluated per make. So

[CMake] CMake generation for Android & iPhone development

2012-02-04 Thread Robert Dailey
Can someone briefly go over the possibility of using CMake to generate projects for Android development and iPhone/iPad development? I remember trying to generate XCode projects a couple years ago for iPhone development, but it wasn't quite supported. How are things now? And what about Android de

Re: [CMake] CMake generation for Android & iPhone development

2012-02-04 Thread Doug
http://code.google.com/p/android-cmake/ Have a look at the opencv for android example; it's a quickstart guide for android~ ~ Doug. On Sun, Feb 5, 2012 at 9:07 AM, Robert Dailey wrote: > Can someone briefly go over the possibility of using CMake to generate > projects for Android development a