Re: [CMake] missing .S (assembly file) target

2011-09-20 Thread Reto Glauser
On Tue, 20 Sep 2011 19:11:58 +0200, Michael Hertling wrote: After configuring, "make help" reveals: % make help The following are some of the valid targets for this Makefile: ... all (the default if no target is provided) ... clean ... depend ... edit_cache ... main ... mainxx ... rebuild_cache

Re: [CMake] CodeBlocks generator and source_group

2011-09-20 Thread Alexander Neundorf
On Tuesday, September 20, 2011 12:11:19 PM Tomasz Grobelny wrote: > Is there any way to make cmake generate ‘’ element for Unit elements in CodeBlocks Project file (cbp)? I > would expect it to happen by using 'SOURCE_GROUP("Source Files" FILES > ${SOURCES})' construct but it does not work for me (

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-20 Thread amine bezzarga
Yes I think I get it, I tried that but it doesn't work either: install_name_tool -change /usr/local/lib/libirrklang.dylib ./Dependencies/IrrKLangAudioEngine/bin/macosx-gcc/ ./Dependencies/IrrKLangAudioEngine/bin/macosx-gcc/libirrklang.dylib Can you tell me, what can I do to fix the problem ? On T

[CMake] Reverted commit ... and CMake 2.8.6-rc4 planned for this Thursday

2011-09-20 Thread David Cole
On Tue, Sep 20, 2011 at 5:48 PM, Alan W. Irwin wrote: > On 2011-09-20 16:21-0400 David Cole wrote: > >> I will be reverting the commits associated with the bad bug fix >> mentioned here, so that we will end up with "equivalent to 2.8.5" >> behavior with respect to this. >> >> We'll have to shoot f

[CMake] problems with CMake and gfortran on Windows XP

2011-09-20 Thread Amber Simpson
Hi All, I'm trying to port a project to Windows from Ubuntu that uses C++ and gFortran. When I run CMake, I get an error, the CMake output is below. My CMakeLists.txt is attached. I'm not sure if this is related to the bug reported here (and fixed for ifort in the newest CMake): http://itk.org/Bu

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
On 2011-09-20 16:21-0400 David Cole wrote: I will be reverting the commits associated with the bad bug fix mentioned here, so that we will end up with "equivalent to 2.8.5" behavior with respect to this. We'll have to shoot for a real fix for next time. Thanks, Dave, for that good decision.

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Rolf Eike Beer
Am Dienstag, 20. September 2011, 16:21:06 schrieb David Cole: > On Tue, Sep 20, 2011 at 4:14 PM, Alan W. Irwin > > wrote: > > On 2011-09-20 13:01-0700 Alan W. Irwin wrote: > >> On 2011-09-20 11:56-0700 Alan W. Irwin wrote: > >>> I don't want to overly dilute what seems to be your really important

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread David Cole
On Tue, Sep 20, 2011 at 4:14 PM, Alan W. Irwin wrote: > On 2011-09-20 13:01-0700 Alan W. Irwin wrote: > >> On 2011-09-20 11:56-0700 Alan W. Irwin wrote: >> >>> I don't want to overly dilute what seems to be your really important >>> message that there are serious build problems for cmake-2.8.6-rc3

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
On 2011-09-20 13:01-0700 Alan W. Irwin wrote: On 2011-09-20 11:56-0700 Alan W. Irwin wrote: I don't want to overly dilute what seems to be your really important message that there are serious build problems for cmake-2.8.6-rc3, but if nothing else, your post should galvanize lots of testing of

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
On 2011-09-20 11:56-0700 Alan W. Irwin wrote: I don't want to overly dilute what seems to be your really important message that there are serious build problems for cmake-2.8.6-rc3, but if nothing else, your post should galvanize lots of testing of cmake-2.8.6-rc3 which is a "good thing". When

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Orion Poplawski
On 09/20/2011 02:01 PM, Alan W. Irwin wrote: On 2011-09-20 11:56-0700 Alan W. Irwin wrote: I don't want to overly dilute what seems to be your really important message that there are serious build problems for cmake-2.8.6-rc3, but if nothing else, your post should galvanize lots of testing of c

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
On 2011-09-20 11:53-0600 Orion Poplawski wrote: On 09/20/2011 08:38 AM, David Cole wrote: On Tue, Sep 20, 2011 at 8:27 AM, Andrea Galeazzi wrote: Any news about when will it be finalized? Soon... Stay tuned... Not before a proper fix for http://public.kitware.com/Bug/view.php?id=12457

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Orion Poplawski
On 09/20/2011 08:38 AM, David Cole wrote: On Tue, Sep 20, 2011 at 8:27 AM, Andrea Galeazzi wrote: Any news about when will it be finalized? Soon... Stay tuned... Not before a proper fix for http://public.kitware.com/Bug/view.php?id=12457 I hope. As it stands, building KDE (and probabl

Re: [CMake] add_custom_command and DEPENDS

2011-09-20 Thread Michael Hertling
On 09/20/2011 07:00 PM, Talin wrote: > After several years of working with CMake, I have to say that I still do not > understand the behavior of the DEPENDS clause in add_custom_command. > > The main problem is a fairly simple one: I have an add_custom_command in one > subdirectory, the output of

Re: [CMake] missing .S (assembly file) target

2011-09-20 Thread Michael Hertling
On 09/20/2011 08:46 AM, Reto Glauser wrote: > Hi > > I don't see the .S targets (for C/CXX files) which used to be there. I > would like to look at the assembly files of the C/CXX files. > > I'm on > > GNU/Linux > GCC-4.3.4 > CMake-2.8.2 With CMake 2.8.5 on Linux, I can't confirm this: CMAKE_

[CMake] add_custom_command and DEPENDS

2011-09-20 Thread Talin
After several years of working with CMake, I have to say that I still do not understand the behavior of the DEPENDS clause in add_custom_command. The main problem is a fairly simple one: I have an add_custom_command in one subdirectory, the output of which is needed by an add_custom_command in ano

Re: [CMake] CMake, iOS and .xib compilation

2011-09-20 Thread David Cole
I recently added a test to the CMake test suite that demonstrates how to build a very rudimentary iOS app (a simple skeletal navigation bar app, mostly generated by the "Xcode new project" dialog...) It can be found at: CMake/Tests/iOSNavApp in the current checkout of git 'master' and 'next' It

[CMake] CMake, iOS and .xib compilation

2011-09-20 Thread Daniel Dekkers
Hi, I'm really having a hard time creating a CMake setup for iOS. After... - the toolchain files for cross-compiling, - the Settings.bundle, - the Info.plist file, - the provisioning profiles, - the entitlements, ...the latest chapter consists of the Interface Builder .xib files. An iOS applic

Re: [CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-20 Thread Michael Hertling
On 09/20/2011 03:40 PM, Jens Auer wrote: > Hi, > > I encountered a problem with CMAKE_CXX_FLAGS and the place in the > CMakeLists.txt where the project() command is placed. Consider two > CMakeLists.txt files, the first containing > SET(CMAKE_CXX_FLAGS "/EHa /O2") > > project(CMAKE_

Re: [CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-20 Thread Rolf Eike Beer
> Hi, > > I encountered a problem with CMAKE_CXX_FLAGS and the place in the > CMakeLists.txt where the project() command is placed. Consider two > CMakeLists.txt files, the first containing > SET(CMAKE_CXX_FLAGS "/EHa /O2") > > project(CMAKE_BUG) > > add_executable(testEHa "c:/wor

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread David Cole
On Tue, Sep 20, 2011 at 8:27 AM, Andrea Galeazzi wrote: > David Cole ha scritto: >> >> The CMake 2.8.6 release candidate stream continues! You can find the >> source and binaries here: >> http://www.cmake.org/files/v2.8/?C=M;O=D >> >> This email is also available on the Kitware blog at >> http://w

Re: [CMake] not found library with package configuration files and changed CMAKE_INSTALL_PREFIX

2011-09-20 Thread Michael Hertling
On 09/20/2011 11:26 AM, Alexander Dahl wrote: > Hello there, > > after using FindFOO.cmake scripts for our own projects for a long time > I'm trying to migrate this to the "real" CMake approach of package > configuration files. Therefor I read chapter 5.7 of the book »Mastering > CMake« and two H

[CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-20 Thread Jens Auer
Hi, I encountered a problem with CMAKE_CXX_FLAGS and the place in the CMakeLists.txt where the project() command is placed. Consider two CMakeLists.txt files, the first containing SET(CMAKE_CXX_FLAGS "/EHa /O2") project(CMAKE_BUG) add_executable(testEHa "c:/work/tmp/cma

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Andrea Galeazzi
David Cole ha scritto: The CMake 2.8.6 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This email is also available on the Kitware blog at http://www.kitware.com/blog/home/post/165 If you want to test this out and ask for a

Re: [CMake] Setting RuntimeLibrary tag on Visual Studio 10

2011-09-20 Thread Perry Ismangil
On Tue, Sep 20, 2011 at 10:48, Yuri Timenkov wrote: > These flags should work. If you specify them, CMake automatically translates > them into appropriate XML tags. At least 2.8.5 and 2.8.4 work well. > Thanks Yuri, It does work! I must have done something wrong earlier when setting the flags.

[CMake] CodeBlocks generator and source_group

2011-09-20 Thread Tomasz Grobelny
Is there any way to make cmake generate ‘’ element for Unit elements in CodeBlocks Project file (cbp)? I would expect it to happen by using 'SOURCE_GROUP("Source Files" FILES ${SOURCES})' construct but it does not work for me (should it?). -- Regards, Tomasz Grobelny __

Re: [CMake] SOLVED: Generated successfully NMake Makefile using CMake for Cross Compiling, but compiling with nmake fails

2011-09-20 Thread Eric Noulard
2011/9/20 Martin Kupke > > Hi, > > short info for those of you who run into the same pitfall. > I downloaded the free (free of charge) nmake tool version 1.50 from the > Microsoft website. The problem is this nmake tool which produces the problems > with blanks / spaces in folder- and filenames.

Re: [CMake] SOLVED: Generated successfully NMake Makefile using CMake for Cross Compiling, but compiling with nmake fails

2011-09-20 Thread Martin Kupke
Hi, short info for those of you who run into the same pitfall. I downloaded the free (free of charge) nmake tool version 1.50 from the Microsoft website. The problem is this nmake tool which produces the problems with blanks / spaces in folder- and filenames. Even

Re: [CMake] Setting RuntimeLibrary tag on Visual Studio 10

2011-09-20 Thread Yuri Timenkov
These flags should work. If you specify them, CMake automatically translates them into appropriate XML tags. At least 2.8.5 and 2.8.4 work well. On Tue, Sep 20, 2011 at 1:16 PM, Perry Ismangil wrote: > Hi, > > I've read > > > http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_applicatio

[CMake] not found library with package configuration files and changed CMAKE_INSTALL_PREFIX

2011-09-20 Thread Alexander Dahl
Hello there, after using FindFOO.cmake scripts for our own projects for a long time I'm trying to migrate this to the "real" CMake approach of package configuration files. Therefor I read chapter 5.7 of the book »Mastering CMake« and two HowTos [1] [2] on the web merging all of these in some file

[CMake] Setting RuntimeLibrary tag on Visual Studio 10

2011-09-20 Thread Perry Ismangil
Hi, I've read http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F which seems to do what I want to which is have 4 configurations one for each: MT, MTd, MD, MDd. However using flags doesn't seem to work as it is this tag that is important: MultiThre

[CMake] Generated successfully NMake Makefile using CMake for Cross Compiling, but compiling with nmake fails

2011-09-20 Thread Martin Kupke
Hi, after many helpful hints from other users now I was able to create a NMake Makefile using CMake. I'm working in a Windows XP environment in a cmd.exe command line interface (shell). The CMake tool created the typical Makefile including the subfolders etc. in my output folder, without any e

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-20 Thread Martin Kupke
Hi Alex, sorry for sending mails in HTML format (hopefully the mail client is now configured correctly). You'll find my answers to your comments below. On 20.09.11 05:29, Alexander Neundorf wrote: Hi, can you please adjust your mail client so it doesn't send HTML mails ? On Monday, Septembe