Re: [cmake-developers] GCC link options

2012-07-25 Thread Brad King
On 07/25/2012 02:12 PM, J Decker wrote: target_link_libraries( playcard --whole-archive eltanin_sdl_deadstart_end --no-whole-archive ${COMMON_LIBRARIES} ) (the output link line looks like . libplaycard.a --whole-archive eltanin_sdl_deadstart_end.a libcommon.a --no-whole-archive ) The

[cmake-developers] (Almost) unused status values in the cmake bugtracker

2012-07-25 Thread Alexander Neundorf
Hi, for some reason I just checked how often the different status value are used in the CMake bug tracker: New: 262 Feedback: 11 Acknowledged: 4 Confirmed: 3 Backlog: 142 Assigned: 599 Resolved: 169 Closed: 2940 Beside that there are currently quite a few in New (262), the values Feedback,

Re: [cmake-developers] GCC link options

2012-07-25 Thread J Decker
Is there a super simple way to get the current build command for say exectuable, string(replace) it, and then execute it in a custom target? On Wed, Jul 25, 2012 at 11:31 AM, Brad King brad.k...@kitware.com wrote: On 07/25/2012 02:12 PM, J Decker wrote: target_link_libraries( playcard

[cmake-developers] [CMake 0013439]: consecutive find_package(Boost ...) statements only find the static lib regardless of Boost_USE_STATIC_LIBS

2012-07-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=13439 == Reported By:Pieter Swinkels Assigned To:

[CMake] How to define file access mode in file write function?

2012-07-25 Thread hce
Hi, How do you control the file access permission when using file(WRITE filename content)? The cmake 2.8.8 manual does not seem allow to specify access permission in file(WRITE ..). Thank you. J -- View this message in context:

Re: [CMake] How to define file access mode in file write function?

2012-07-25 Thread Kornel Benko
Am Mittwoch, 25. Juli 2012 um 04:17:18, schrieb hce jupiter@gmail.com Hi, How do you control the file access permission when using file(WRITE filename content)? The cmake 2.8.8 manual does not seem allow to specify access permission in file(WRITE ..). But install() does. Thank

Re: [CMake] set ranlib/ar in toolchain file

2012-07-25 Thread Alexander Neundorf
On Thursday 05 July 2012, Eric Noulard wrote: ... I'm not familiar with the Fortran support of CMake but in any case I think it's worth a bug report and people knowing more than me about Fortran CMake will probable sort this out approriately. If you have a litte more time it would be nice

Re: [CMake] Paired values in an iterable data structure like map or tuple

2012-07-25 Thread Alexander Neundorf
On Friday 13 July 2012, Ateljevich, Eli wrote: Hi, I have a series of tests I would like to perform, some of which are serial and some of which are mpi and should use np processors. I would further prefer to be able to process this as a list of paired values. The following is nothing but

Re: [CMake] How to export the user-defined variable in to the parent directory?

2012-07-25 Thread Alexander Neundorf
On Saturday 14 July 2012, 黄光成 wrote: my directory hierarchical is : dir1/dir2/dir3. In dir3's CMakeLists.txt, I define a custom variable named 'xxx' using the command set(xxx yyy). I want to use the variable 'xxx' in dir1's CMakeLists.txt, how to do that? Can export the user-defined variable?

Re: [CMake] Should I create IMPORTED targets for executables?

2012-07-25 Thread Alexander Neundorf
On Saturday 14 July 2012, Stephen Kelly wrote: Hi, For Qt 5 I'm creating IMPORTED targets for all the libraries, which has several benefits. I'm not sure if there are any benefits to creating IMPORTED targets for the executables too? Yes, intended for crosscompiling.

[CMake] Disabling C for C++-only projects

2012-07-25 Thread Johannes Zarl
Hi, Out of curiosity (and thinking about saving a couple of seconds during the first cmake run) I tried just to use C++ as language for some KDE program. It turns out that without C enabled, standard modules like FindKDE, FindQt4 and FindJPEG don't run because they use the CheckSymbolExists

Re: [CMake] creating an sdk wrapper and hiding implementation

2012-07-25 Thread Alexander Neundorf
On Wednesday 18 July 2012, Michael Toy wrote: we have a number of internally developed libraries which we use together. i am creating an sdk which wraps all the internal libraries, and presents a single api to customers. i have built a small test by hand, and it works like this % cc -c

Re: [CMake] Disabling C for C++-only projects

2012-07-25 Thread Andreas Pakulat
Hi, On Wed, Jul 25, 2012 at 10:06 PM, Johannes Zarl johannes.z...@jku.at wrote: Hi, Out of curiosity (and thinking about saving a couple of seconds during the first cmake run) I tried just to use C++ as language for some KDE program. Really? Seconds? I mean the toolchain-stuff in CMake is

Re: [CMake] Disabling C for C++-only projects

2012-07-25 Thread Alexander Neundorf
On Wednesday 25 July 2012, Johannes Zarl wrote: Hi, Out of curiosity (and thinking about saving a couple of seconds during the first cmake run) I tried just to use C++ as language for some KDE program. It turns out that without C enabled, standard modules like FindKDE, FindQt4 and

Re: [CMake] Relink to shared libs

2012-07-25 Thread Alexander Neundorf
On Friday 20 July 2012, Andreas Naumann wrote: If you are using the Makefile system, then the libraries are newer than your tests, so your tests seems to need an update. And sometimes programs need relinking, where should the build system now, if you really need the relinking? Yes, e.g. to

Re: [CMake] Easier way to override variables

2012-07-25 Thread Alexander Neundorf
On Wednesday 18 July 2012, Yngve Inntjore Levinsen wrote: Hi Romain, Have a look at the help for the function set: $ cmake --help-command set If I understand the documentation, this should be what you are looking for: set(MY_VAR NEW_VALUE FORCE) I don't think this does what you want. It

Re: [CMake] Disabling C for C++-only projects

2012-07-25 Thread Clinton Stimpson
On Wednesday, July 25, 2012 10:06:27 PM Johannes Zarl wrote: Hi, Out of curiosity (and thinking about saving a couple of seconds during the first cmake run) I tried just to use C++ as language for some KDE program. It turns out that without C enabled, standard modules like FindKDE, FindQt4

[Cmake-commits] CMake branch, release, updated. v2.8.8-588-gcda3626

2012-07-25 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 cda3626645fdf853bd1c802807ce4b6389904cb9 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-584-gcac490a

2012-07-25 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 4485444..bff81be 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ SET(CMake_VERSION_MAJOR 2) SET(CMake_VERSION_MINOR 8) SET(CMake_VERSION_PATCH 8) -SET(CMake_VERSION_TWEAK 20120725