Re: [cmake-developers] XCode recursive folders support

2011-02-15 Thread Brad King
On 02/15/2011 08:39 AM, Johan Björk wrote: Hi everyone, I created a patch which adds support for multiple folders in Xcode; http://www.vtk.org/Bug/view.php?id=10039 I wasn't able to find a good place for common string helpers or similar, in cmSourceGroupCommand.cxx, there is an inline

Re: [cmake-developers] XCode recursive folders support

2011-02-15 Thread Johan Björk
Thanks done. /Johan On Tue, Feb 15, 2011 at 3:00 PM, Brad King brad.k...@kitware.com wrote: On 02/15/2011 08:39 AM, Johan Björk wrote: Hi everyone, I created a patch which adds support for multiple folders in Xcode; http://www.vtk.org/Bug/view.php?id=10039 I wasn't able to find

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Eric Noulard
2011/2/15 Daryl N darylhouse2...@yahoo.com: Hi, I have a question on the use of CPack.  I have CMake setup to generate binaries and shared libraries.  Up until now I have only created a TGZ with rpath set to ..  This has worked nicely, but now I would like to create a Debian package for

Re: [CMake] CPACK_STRIP_FILES has no effect on DSOs

2011-02-15 Thread Moritz Moeller
On 02/11/2011 11:38 AM, Eric Noulard wrote: So you may perfectly have shared lib in your build tree which are not stripped and get them stripped in the package. Ha! I did not check that; i.e. we alway run 'make install' before 'make package' and I presumed that install location was where the

[CMake] Global STATIC_LIBRARY_FLAGS_configuration ?

2011-02-15 Thread Johan Björk
Hi guys, Any plans to add a CMAKE_STATIC_LIBRARY_FLAGS_configuration ? It seems rather weird that I can set 'global' linking flags as well as compilation flags, but that the static_library step flags are tied to a target. I know this can all be 'hacked' with overriding the add_library() call,

[CMake] CMake Error: Cannot determine link language for target

2011-02-15 Thread Kiran Gopal Patil
Hi , I do get this error while build a application using CMAKE. Please help me in resolving this one. I tried to use the SET_TARGET_PROPERTIES but not successful. I do have mix of C and C++ static libs in my project. -- Thanks Regards, Kiran Patil

Re: [CMake] CMake Error: Cannot determine link language for target

2011-02-15 Thread David Cole
Show us your code. On Tue, Feb 15, 2011 at 8:08 AM, Kiran Gopal Patil pati...@gmail.comwrote: Hi , I do get this error while build a application using CMAKE. Please help me in resolving this one. I tried to use the SET_TARGET_PROPERTIES but not successful. I do have mix of C and C++

Re: [CMake] FIND_PATH issue in FindQt4.cmake

2011-02-15 Thread Harinarayan Krishnan
Hi All, Thanks for the help so far, I will check and see if CMake 2.8.4rc has the same issue meanwhile I noticed that FIND_PATH seems to have special instructions for Darwin machines with the use of CMAKE_FIND_FRAMEWORK on page http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_path

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Daryl N
Sorry, don't know how to reply inline with this editor. Yes, cpack_config.cmake is my CPACK_PROJECT_CONFIG_FILE. For rpath, here is what I have in the cpack config file: if (${CPACK_GENERATOR} STREQUAL TGZ) set(CPACK_SET_DESTDIR OFF) set(CMAKE_INSTALL_RPATH .)

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread David Cole
You cannot do cmake-ish things in the CPACK_PROJECT_CONFIG_FILE. Neither install commands nor set_target_properties calls do anything in this context. On Tue, Feb 15, 2011 at 9:36 AM, Daryl N darylhouse2...@yahoo.com wrote: Sorry, don't know how to reply inline with this editor. Yes,

[CMake] detecting build configuration in Visual Studio

2011-02-15 Thread Dominik Szczerba
In MSVC I need to link different libraries depending on the chosen build type. I have two questions: 1) If and how can I register my own build types 2) How can I detect which one I am in for conditional linking Many thanks for any hints, Dominik ___

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Eric Noulard
2011/2/15 David Cole david.c...@kitware.com: You cannot do cmake-ish things in the CPACK_PROJECT_CONFIG_FILE. Neither install commands nor set_target_properties calls do anything in this context. Yes you are right, but we may have expected that CMAKE_INSTALL_RPATH may be used at INSTALL time

[CMake] mixed compilation with two compilers

2011-02-15 Thread Dominik Szczerba
I need to compile a few subprojects (each is a subfolder with one library and a corresponding CMakeLists.txt) with the Intel compiler while the rest of the libraries (organized the same way), including the executable, using the system compiler (GNU on linux, VC on Windows). I tried two solutions

Re: [CMake] mixed compilation with two compilers

2011-02-15 Thread David Cole
You should use ExternalProject, and possibly wrapper scripts to set environment variables for the projects that need to use the different compiler. (CC, CXX, FC env vars should be set during the configure stage, or you can pass them in as -D args to cmake) CMake does not support changing the

Re: [CMake] Include-Dir order problem

2011-02-15 Thread Michael Hertling
On 02/13/2011 01:27 AM, Andreas Pakulat wrote: Hi, I've got a somewhat tricky problem here with include directories. I'm building a couple of source files and for some of them I need to add an include-directory to the front of the list that cmake passes to the compiler. At the same time

[CMake] cpack 32bit rpm on a 64bit system

2011-02-15 Thread Yngve Inntjore Levinsen
Dear CMakers, I am trying to package a 32bit binary on a 64bit system. It breaks with the (useless?) verbose output which follows below. What I could find of useful information was in _CPack_Packages/Linux/RPM/rpmbuild.err, which stated error: No compatible architectures found for build I

[CMake] add_executable(...) with source from another path

2011-02-15 Thread Felipe Ferreri Tonello
Hello guys, I'm new to CMake and I'm really enjoying it. Anyway.. I'm porting a gnu makefile project to CMake and I need to compile 3 sources code to generate one executable. What's the better way to do that with CMake? Thank you ___ Powered by

Re: [CMake] FIND_PATH issue in FindQt4.cmake

2011-02-15 Thread Andreas Pakulat
On 15.02.11 06:34:07, Harinarayan Krishnan wrote: Hi All, Thanks for the help so far, I will check and see if CMake 2.8.4rc has the same issue meanwhile I noticed that FIND_PATH seems to have special instructions for Darwin machines with the use of CMAKE_FIND_FRAMEWORK on page

Re: [CMake] Include-Dir order problem

2011-02-15 Thread Andreas Pakulat
On 15.02.11 17:54:29, Michael Hertling wrote: On 02/13/2011 01:27 AM, Andreas Pakulat wrote: Hi, I've got a somewhat tricky problem here with include directories. I'm building a couple of source files and for some of them I need to add an include-directory to the front of the list that

Re: [CMake] FIND_PATH issue in FindQt4.cmake

2011-02-15 Thread Harinarayan Krishnan
Hi All, I reran my code using cmake 2.8.4rc and still get the same issue where FIND_PATH is picking the system directory for QT_CORE over my install directory passed through HINTS ${qt_headers}. If this is not related to CMAKE_FIND_FRAMEWORK should I file a bug report on this? Thanks, Hari On

Re: [CMake] cpack 32bit rpm on a 64bit system

2011-02-15 Thread Eric Noulard
2011/2/15 Yngve Inntjore Levinsen yngve.levin...@gmail.com: Dear CMakers, I am trying to package a 32bit binary on a 64bit system. It breaks with the (useless?) verbose output which follows below. What I could find of useful information was in _CPack_Packages/Linux/RPM/rpmbuild.err, which

Re: [CMake] add_executable(...) with source from another path

2011-02-15 Thread Alan W. Irwin
On 2011-02-15 16:06-0200 Felipe Ferreri Tonello wrote: Hello guys, I'm new to CMake and I'm really enjoying it. Anyway.. I'm porting a gnu makefile project to CMake and I need to compile 3 sources code to generate one executable. What's the better way to do that with CMake? Use the full

Re: [CMake] Simple (?) problem with libraries executable dependencies

2011-02-15 Thread Alexander Neundorf
On Tuesday 15 February 2011, Carminati Federico wrote: Hello Michael, thanks a lot for looking into my problem. It turns out that Mac OS X behaves a bit oddly, in the sense that the name of the directory of installation is in the libraries as well as in the executable. I solved the problem

Re: [CMake] 2.8.5 version

2011-02-15 Thread Alexander Neundorf
On Monday 14 February 2011, David Cole wrote: On Mon, Feb 14, 2011 at 4:14 AM, Andrea Galeazzi galea...@korg.it wrote: I'm very interested in the feature discussed here: http://www.mail-archive.com/cmake@cmake.org/msg34587.html but probably it won't enter into 2.8.4, so do you have any

Re: [CMake] Cross compilation question

2011-02-15 Thread Alexander Neundorf
On Monday 14 February 2011, Steven Wilson wrote: My apologies if this question has been asked and answered previously.I have a CMake system that I use for cross compilation for iOS software (ie reset CMAKE_C_COMPILER, etc...). How do you do that ? You have to set CMAKE_C_COMPILER,

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Alexander Neundorf
On Tuesday 15 February 2011, Daryl N wrote: Hi, I have a question on the use of CPack. I have CMake setup to generate binaries and shared libraries. Up until now I have only created a TGZ with rpath set to .. This has worked nicely, but now I would like to create a Debian package for

Re: [CMake] 2.8.5 version

2011-02-15 Thread David Cole
2011/2/15 Alexander Neundorf a.neundorf-w...@gmx.net On Monday 14 February 2011, David Cole wrote: On Mon, Feb 14, 2011 at 4:14 AM, Andrea Galeazzi galea...@korg.it wrote: I'm very interested in the feature discussed here: http://www.mail-archive.com/cmake@cmake.org/msg34587.html but

[CMake] Naive (stupid?) question

2011-02-15 Thread Carminati Federico
Hello, apologies for the stupid question. I have a large project and at times a change triggers unexpected consequences, i.e. very large recompilations, rebuild of the cmake makefiles and so on. Is there a way in cmake to understand why things happens? I mean which chain of dependencies

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-15 Thread Alexander Neundorf
Hi, On Friday 11 February 2011, Schmid Alexander wrote: Hi, I am working with CMake 2.8.3 and trying to set up a cross-compiling toolchain for an ARMCC that runs on a Windows system. What I´ve done up to now is that I set up a toolchain file that I am using in combination with nmake

Re: [CMake] Cross compilation question

2011-02-15 Thread Steven Wilson
In my CMake configuration files I have something like the following: if(SYSTEM STREQUAL iOS) set(CMAKE_C_COMPILER foo CACHE STRING message FORCE) set(CMAKE_CXX_COMPILER bar CACHE STRING message FORCE) endif(SYSTEM STREQUAL iOS) Then when configuring the system I pass -DSYSTEM:STRING=iOS

Re: [CMake] Cross compilation question

2011-02-15 Thread Peter Kümmel
On 15.02.2011 22:52, Steven Wilson wrote: In my CMake configuration files I have something like the following: if(SYSTEM STREQUAL iOS) set(CMAKE_C_COMPILER foo CACHE STRING message FORCE) set(CMAKE_CXX_COMPILER bar CACHE STRING message FORCE) endif(SYSTEM STREQUAL iOS) Do you know

[CMake] CPack and OpenSSL libraries

2011-02-15 Thread Crni Gorac
Am using CPack to create Windows and Mac installers for an application. The application is Qt based, and BundleUtilities is working great for me to pick up dependencies and such. However, I have problem that OpenSSL libraries, which are needed for some segments of functionality of my app, are

Re: [CMake] CPack and OpenSSL libraries

2011-02-15 Thread mervin
Download the latest ssl libs or which ever version you need. Then place them in your QT libs dir (or any dir)and call it for install. IF( WIN32 ) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/qtlibs/libeay32.DLL

Re: [CMake] Cross compilation question

2011-02-15 Thread Steven Wilson
I haven't done anything with toolchains. I will take a look at the page and give it a go. Thanks, Steve On Tue, Feb 15, 2011 at 3:16 PM, Peter Kümmel syntheti...@gmx.net wrote: On 15.02.2011 22:52, Steven Wilson wrote: In my CMake configuration files I have something like the following:

[CMake] Patch for watcom InstallRequiredSystemLibraries

2011-02-15 Thread J Decker
http://public.kitware.com/Bug/view.php?id=11866 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Daryl N
Thank you! I did not know about $ORIGIN but that is indeed exactly what I need. From: Alexander Neundorf a.neundorf-w...@gmx.net To: cmake@cmake.org Cc: Daryl N darylhouse2...@yahoo.com Sent: Tue, February 15, 2011 3:45:25 PM Subject: Re: [CMake] Setting

Re: [CMake] detecting build configuration in Visual Studio

2011-02-15 Thread Michael Hertling
On 02/15/2011 03:49 PM, Dominik Szczerba wrote: In MSVC I need to link different libraries depending on the chosen build type. I have two questions: 1) If and how can I register my own build types

Re: [CMake] Include-Dir order problem

2011-02-15 Thread Michael Hertling
On 02/15/2011 07:36 PM, Andreas Pakulat wrote: On 15.02.11 17:54:29, Michael Hertling wrote: On 02/13/2011 01:27 AM, Andreas Pakulat wrote: Hi, I've got a somewhat tricky problem here with include directories. I'm building a couple of source files and for some of them I need to add an

Re: [CMake] CPack and OpenSSL libraries

2011-02-15 Thread clin...@elemtech.com
Yeah, Qt uses them as plugins by default so BundleUtilities won't pick it up. You could also copy it manually like other Qt plugins, or configure Qt with the -openssl-link flag so it can copy the library for you. Clint - Reply message - From: Crni Gorac cgo...@gmail.com Date: Tue, Feb

Re: [CMake] Include-Dir order problem

2011-02-15 Thread Andreas Pakulat
On 16.02.11 03:48:03, Michael Hertling wrote: On 02/15/2011 07:36 PM, Andreas Pakulat wrote: On 15.02.11 17:54:29, Michael Hertling wrote: On 02/13/2011 01:27 AM, Andreas Pakulat wrote: Hi, I've got a somewhat tricky problem here with include directories. I'm building a couple of

[Cmake-commits] CMake branch, next, updated. v2.8.3-1633-g1971ff8

2011-02-15 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 1971ff89d3cb44b2dd0361be18f10d8b1198cd8b (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-729-g4d1240e

2011-02-15 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 4d1240eb0a8d0f867d7e15fe63fc6389ea550e60 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1640-g48ca593

2011-02-15 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 48ca59315cde4736edf364b887b9f92e56139eb8 (commit) via

[Cmake-commits] CMake branch, release, updated. v2.8.3-728-g1bb4c7b

2011-02-15 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, release has been updated via 1bb4c7be11b2fb7a19aeedfffdbb341553aae9d2 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1645-g6707097

2011-02-15 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 670709703faf6388ab3096bf43c3221ee2a6e838 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-730-g8caed60

2011-02-15 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 8caed602080c6e052adec1d38dba8a37d3a76f58 (commit) from