Re: [cmake-developers] Automoc in cmake

2011-09-20 Thread Brad King
On 9/20/2011 1:26 AM, Alexander Neundorf wrote: set(CMAKE_INCLUDE_CURRENT_DIR ON) automatically adds the current source dir and the current binary dir for each directory which has a target as include directory. This is a bit more than necessary for automoc. For automoc for every target which

[cmake-developers] 2.8.6 target release date

2011-09-20 Thread Eric Noulard
Hi All, Is target date for 2.8.6 fixed or is there any room left for late bug fix merge: if there is some more room I may work on testing this contribution tonight http://public.kitware.com/Bug/view.php?id=12063 If not I'll wait the release in order to avoid stage pollution. -- Erk Membre de

Re: [cmake-developers] 2.8.6 target release date

2011-09-20 Thread David Cole
Go ahead and push to the stage and merge to next when it's ready. We're considering several topics for inclusion in the final release. There's not a lot on the stage right now anyhow. We'll keep it straight. :-) Thanks, David On Tue, Sep 20, 2011 at 10:40 AM, Eric Noulard

Re: [cmake-developers] 2.8.6 target release date

2011-09-20 Thread Eric Noulard
2011/9/20 David Cole david.c...@kitware.com: Go ahead and push to the stage and merge to next when it's ready. We're considering several topics for inclusion in the final release. Done: Merge topic 'CPackDeb-fakeroot' into next 49da3bd CPackDeb fix #10325 automagically use fakeroot for DEB

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,

[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

[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:

[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

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 pe...@pjsip.org wrote: Hi, I've read

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] 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 martin.ku...@novero.com 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

[CMake] CodeBlocks generator and source_group

2011-09-20 Thread Tomasz Grobelny
Is there any way to make cmake generate ‘Option virtualFolder=Source Files /’ 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

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 y...@timenkov.ru 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

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

[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

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 HowTos

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 galea...@korg.it 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

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

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_BUG)

[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

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] 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

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:

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] 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 Galeazzigalea...@korg.it 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

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 Galeazzigalea...@korg.it wrote: Any news about when will it be finalized? Soon... Stay tuned... Not before a proper fix for

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

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 I

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

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 ir...@beluga.phys.uvic.ca 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

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 ir...@beluga.phys.uvic.ca 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

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.

[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):

[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 ir...@beluga.phys.uvic.ca 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

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

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 ‘Option virtualFolder=Source Files /’ element for Unit elements in CodeBlocks Project file (cbp)? I would expect it to happen by using 'SOURCE_GROUP(Source Files FILES ${SOURCES})'

[Cmake-commits] CMake branch, next, updated. v2.8.5-1930-g46bb516

2011-09-20 Thread Eric Noulard
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 46bb516ee75ef7d87641da2703a7add564dd56e0 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1933-g491fe48

2011-09-20 Thread Eric Noulard
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 491fe48aaa059b44d50dbc272dcbfb714b6e6eed (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-469-gd57c23c

2011-09-20 Thread David Cole
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 d57c23c329e259b7f6e1885d3f87d8f968058b9f (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-477-gbef9968

2011-09-20 Thread David Cole
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 bef996852e599f06daf1abb0735de568156fbd31 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-479-g55b3198

2011-09-20 Thread David Cole
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 55b31989588070cbb194156fa5b6c32594026ef4 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-481-g0f98a0a

2011-09-20 Thread David Cole
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 0f98a0a08102fe58be05fee6080ce736060d89b8 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-483-gf628f12

2011-09-20 Thread David Cole
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 f628f12799fcecf16b8095524f5bbbabc3bec5d7 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-486-gd622088

2011-09-20 Thread David Cole
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 d622088b2b55da24c76361712fad746c911617f1 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-488-g47dac7e

2011-09-20 Thread David Cole
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 47dac7ec977979029ff9b076f868753b84132084 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1942-g36b8d33

2011-09-20 Thread David Cole
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 36b8d333b70954934901f29417c0fab8a087be22 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1944-g59beb84

2011-09-20 Thread David Cole
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 59beb8418d6e314e29c67531a9e939a52ba7d9f6 (commit) via