Re: [CMake] CMake minimum required version

2012-08-25 Thread Alexander Neundorf
On Saturday 25 August 2012, Russell Wallace wrote: CMake asks me to specify a minimum required version. I'm writing a mostly fairly vanilla C++ program, primary target platforms are Linux and Windows, dependencies on Boost and GMP, using the glob facility, any idea what I should specify as the

Re: [CMake] Getting started with CMake

2012-08-24 Thread Alexander Neundorf
On Friday 24 August 2012, Russell Wallace wrote: Hi, I'm trying to get up and running with CMake for a project I'm working on. The online documentation seems to describe how to write the script/configuration files; I'm trying to first get my head around a more basic overview. Suppose I

Re: [cmake-developers] lua bindings?

2012-08-23 Thread Alexander Neundorf
On Thursday 23 August 2012, Peter Kümmel wrote: Here an example how a Lua based build system could look like: https://github.com/deplinenoise/tundra/blob/master/tundra.lua And more details here: http://deplinenoise.files.wordpress.com/2011/04/tundra43.pdf So, another buildsystem

Re: [cmake-developers] [Cdash] Problem with cdash, subprojects and CTEST_USE_LAUNCHERS=TRUE?

2012-08-22 Thread Alexander Neundorf
On Tuesday 21 August 2012, Alexander Neundorf wrote: On Tuesday 21 August 2012, David Cole wrote: On Mon, Aug 20, 2012 at 5:23 PM, Alexander Neundorf neund...@kde.orgwrote: On Monday 20 August 2012, Alexander Neundorf wrote: On Monday 20 August 2012, Alexander Neundorf wrote

[cmake-developers] Exporting dependent library targets in multiple export sets

2012-08-22 Thread Alexander Neundorf
Hi, currently, when exporting library targets, it is required that all in-project libraries which the exported libraries depend on, are also exported in the same export set. I.e. the following currently does not work: add_library(foo SHARED foo.c)

Re: [cmake-developers] [Cdash] Problem with cdash, subprojects and CTEST_USE_LAUNCHERS=TRUE?

2012-08-21 Thread Alexander Neundorf
On Tuesday 21 August 2012, David Cole wrote: On Mon, Aug 20, 2012 at 5:23 PM, Alexander Neundorf neund...@kde.orgwrote: On Monday 20 August 2012, Alexander Neundorf wrote: On Monday 20 August 2012, Alexander Neundorf wrote: ... I'm looking at it right now... I actually haven't

[Cmake-commits] CMake branch, next, updated. v2.8.9-158-g4472d32

2012-08-20 Thread Alexander Neundorf
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4472d32c7dc2ed9981fe9d0d6a4a89abeebbe9d1 commit 4472d32c7dc2ed9981fe9d0d6a4a89abeebbe9d1 Merge: e1610af 8aed02a Author: Alexander Neundorf neund...@kde.org AuthorDate

Re: [cmake-developers] FindPkgConfig, find_program and stuff

2012-08-19 Thread Alexander Neundorf
On Sunday 19 August 2012, Rolf Eike Beer wrote: I scanned through the patches Gentoo applies to CMake to find out which ones should be dropped in 2.8.9. I found this one: diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index c47f583..5783d37 100644 ---

[Cmake-commits] CMake branch, next, updated. v2.8.9-138-gf9c04e2

2012-08-17 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f9c04e2f1738d06b4a23549b32f5a7a6e708abcc commit f9c04e2f1738d06b4a23549b32f5a7a6e708abcc Merge: f8133bf 87fe428 Author: Alexander Neundorf neund...@kde.org AuthorDate: Fri Aug 17 16:41:42 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] CMAKE 2.8.9, OS X 10.8 and OpenGL

2012-08-16 Thread Alexander Neundorf
On Wednesday 15 August 2012, Jason T. Slack-Moehrle wrote: HI Mike, SET(CMAKE_C_COMPILER clang) SET(CMAKE_CXX_COMPILER clang++) Those really will have no effect. If you want to use Clang, then set the CC and CXX environment variables BEFORE running cmake for the first time. By the

[Cmake-commits] CMake branch, next, updated. v2.8.9-119-g6da9e9a

2012-08-16 Thread Alexander Neundorf
9110d0e Author: Alexander Neundorf neund...@kde.org AuthorDate: Thu Aug 16 17:04:07 2012 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Aug 16 17:04:07 2012 -0400 Merge topic 'HandleMacFrameworkIncludeDirs_13465' into next 9110d0e Eclipse on OSX: improve

[Cmake-commits] CMake branch, next, updated. v2.8.9-123-g1b33e8a

2012-08-16 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1b33e8a0f802c011c6789fce2384480d706b2811 commit 1b33e8a0f802c011c6789fce2384480d706b2811 Merge: 79d2c9c 5271ba5 Author: Alexander Neundorf neund...@kde.org AuthorDate: Thu Aug 16 17:16:13 2012 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.9-125-g027d2d9

2012-08-16 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=027d2d9dd0f4c15a8a79c1a11b9c510ddb257d8a commit 027d2d9dd0f4c15a8a79c1a11b9c510ddb257d8a Merge: 1b33e8a 11f23fe Author: Alexander Neundorf neund...@kde.org AuthorDate: Thu Aug 16 17:30:03 2012 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.9-127-gdbb747a

2012-08-16 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbb747aad856fc914236429edaa2881b62048dab commit dbb747aad856fc914236429edaa2881b62048dab Merge: 027d2d9 a3815e6 Author: Alexander Neundorf neund...@kde.org AuthorDate: Thu Aug 16 17:38:01 2012 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] Proposal: An IRC dev meeting to chat about CMake stuff

2012-08-15 Thread Alexander Neundorf
On Wednesday 15 August 2012, David Cole wrote: This is a good idea. How many people would join in if we had a CMake meeting in #cmake IRC? What would be the best day of week and time of day to have one? Usually on workdays after 6 PM, better after 8 PM, Berlin time. Alex -- Powered

Re: [cmake-developers] Bug tracker: I need your help

2012-08-13 Thread Alexander Neundorf
On Monday 13 August 2012, David Cole wrote: Hi everybody, I need your help. In the next week, if you have time. ... Done for my stuff. Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Bug fix requests for the *next* release of CMake...

2012-08-13 Thread Alexander Neundorf
On Friday 10 August 2012, David Cole wrote: Hi all, Replies requested. Short replies only. Read on. Just a short reply with bug numbers or links to the bugs is all we need here. Example one-line reply: http://public.kitware.com/Bug/view.php?id=13463 Personally I would prefer this

Re: [cmake-developers] qt4_use_modules

2012-08-11 Thread Alexander Neundorf
On Friday 10 August 2012, Stephen Kelly wrote: David Cole wrote: I assume it's the qt4_use_modules branch on the stage? Yes, sorry, I should have pointed that out. What was the plan with the more generic target_use_package() or how it was named ? This would do something similar, right ?

Re: [CMake] Eclipse generator on mac

2012-08-09 Thread Alexander Neundorf
On Thursday 09 August 2012, Alexander Broekhuis wrote: Hi Copy'n paste error, I meant this one: http://public.kitware.com/Bug/view.php?id=13367 Can you please look at this one ? No also doesn't look the same. I don't have any missing/incorrect includes other than the 2 mentioned

Re: [CMake] Eclipse generator on mac

2012-08-08 Thread Alexander Neundorf
Hi Alexander, On Wednesday 08 August 2012, Alexander Broekhuis wrote: Hi all, I use the Eclipse CDT4 generator to generate unix makefiles on OSX. Generation works without any errors, but in the generated files there are some errors. There are 2 paths in the .cproject file incorrect:

Re: [CMake] Eclipse generator on mac

2012-08-08 Thread Alexander Neundorf
On Wednesday 08 August 2012, Alexander Broekhuis wrote: Hi No, you are not missing something. It seems the Eclipse project generator needs some special handling for OSX. Is this the maybe same issue as this one ? http://public.kitware.com/Bug/view.php?id=12579 Copy'n paste

Re: [cmake-developers] find_package without REQUIRED can cause fatal error now

2012-07-31 Thread Alexander Neundorf
On Tuesday 31 July 2012, Bill Hoffman wrote: On 7/30/2012 3:38 PM, Alexander Neundorf wrote: The idea was that this is a sign of a broken install. Can you uninstall the vtk-devel package (does this exist ?), because it is broken, i.e. does not contain everything is claims to ? I

Re: [CMake] Question on internal CMAKE_* variables and scope

2012-07-31 Thread Alexander Neundorf
On Tuesday 31 July 2012, Fabio Fracassi wrote: Hi, I ran into some problems when I tried to set a cmake internal variable (CMAKE_MODULE_PATH) from a function. I understand that when I use list() commands an new local scoped variable is created that I have to export to the parent scope. I

Re: [cmake-developers] find_package without REQUIRED can cause fatal error now

2012-07-30 Thread Alexander Neundorf
On Monday 30 July 2012, Bill Hoffman wrote: Alex added this check: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a2be068c It guards against broken installations of packages. This is a good thing. However, it is causing a failed test:

Re: [CMake] Recommended Multilib Build Approach?

2012-07-30 Thread Alexander Neundorf
On Monday 30 July 2012, Gregory Peele ARA/CFD wrote: From: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net] Sent: Saturday, July 28, 2012 11:48 AM To: cmake@cmake.org Cc: Gregory Peele ARA/CFD Subject: Re: [CMake] Recommended Multilib Build Approach? On Thursday 21 June 2012, Gregory

Re: [CMake] Recommended Multilib Build Approach?

2012-07-30 Thread Alexander Neundorf
On Monday 30 July 2012, Xavier Besseron wrote: Hello Greg, To build i386 binaries on my 64-bit system with multilib, I just do something like this: mkdir build-i386 cd build-i386 CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-melf_i386 cmake ../src/ And to build x86-64 binaries on my 64-bit

Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-28 Thread Alexander Neundorf
On Friday 27 July 2012, David Cole wrote: On Fri, Jul 27, 2012 at 4:27 PM, Alexander Neundorf neund...@kde.org wrote: On Thursday 05 July 2012, David Cole wrote: On Thu, Jul 5, 2012 at 12:29 PM, Clinton Stimpson clin...@elemtech.com wrote: On Thursday, July 05, 2012 06:20:56 PM

Re: [CMake] Recommended Multilib Build Approach?

2012-07-28 Thread Alexander Neundorf
On Thursday 21 June 2012, Gregory Peele ARA/CFD wrote: Hi all, I want to be able to build 32-bit and 64-bit from the same GCC multilib install (currently for MinGW-w64, though this also applies for Linux/Mac GCC and LLVM). To clarify, I want to be able to do two completely separate builds

Re: [CMake] Cross-compiling - Avoiding libraries

2012-07-28 Thread Alexander Neundorf
On Wednesday 18 July 2012, Svenskmand wrote: Hello :) I am one of the developers of OpenDungeons a FOSS RTS game inspired by Dungeon Keeper. I am trying to cross-compile our game on Ubuntu 12.04 for Windows (XP, Vista and 7), but I have run into some trouble. ...

[Cmake-commits] CMake branch, next, updated. v2.8.8-3581-g185faf5

2012-07-28 Thread Alexander Neundorf
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=185faf5db13866d04407d1c01b933b4330d235cd commit 185faf5db13866d04407d1c01b933b4330d235cd Merge: 2a190dd 53cc102 Author: Alexander Neundorf neund...@kde.org AuthorDate

Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-27 Thread Alexander Neundorf
On Thursday 05 July 2012, David Cole wrote: On Thu, Jul 5, 2012 at 12:29 PM, Clinton Stimpson clin...@elemtech.com wrote: On Thursday, July 05, 2012 06:20:56 PM Alexander Neundorf wrote: On Thursday, 5. July 2012 17:37:21 Clinton Stimpson wrote: On Friday, June 15, 2012 09:56:51 PM

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

2012-07-26 Thread Alexander Neundorf
On Thursday 26 July 2012, Johannes Zarl wrote: On Wednesday 25 July 2012 22:20:55 Clinton Stimpson wrote: On Wednesday, July 25, 2012 10:06:27 PM Johannes Zarl wrote: I'm wondering if this counts as a bug in FindQt4 and FindKDE, because after all these two projects are C++, so any

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

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 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] Two toolchains simultaneously within the same project?

2012-07-24 Thread Alexander Neundorf
On Thursday 12 July 2012, Ingolf Steinbach wrote: Hi, is it possible to use two different toolchains within the same project? This is what I want to achieve: In general not. Most of the project uses a cross-compilation toolchain, so I'd call cmake with the appropriate CMAKE_TOOLCHAIN_FILE

Re: [CMake] CMake + Eclipse on OS X : OpenGL and GLUT headers

2012-07-23 Thread Alexander Neundorf
On Sunday 01 July 2012, Nicholas Yue wrote: Hi, I am using CMake 2.8.8 I have been generating Eclipse project and building my software successfully both on the command line and within Eclipse. However, when I open up my project in Eclipse, the indexer fails to find the

Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-05 Thread Alexander Neundorf
On Thursday, 5. July 2012 17:37:21 Clinton Stimpson wrote: On Friday, June 15, 2012 09:56:51 PM Alexander Neundorf wrote: Hi, attached is a small patch which sets the OBJECT_DEPENDS property of a moced file to the generated moc file. This has the effect that before the cpp file

[Cmake-commits] CMake branch, next, updated. v2.8.8-3333-gd83c8d1

2012-06-27 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d83c8d16b7b2cceadc9e031283ffae9244e48fa4 commit d83c8d16b7b2cceadc9e031283ffae9244e48fa4 Merge: 92aadd6 d7bc8dd Author: Alexander Neundorf neund...@kde.org AuthorDate: Wed Jun 27 17:41:46 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] Can imported libraries depend on ExternalProject targets?

2012-06-26 Thread Alexander Neundorf
On Tuesday 26 June 2012, Kent Williams wrote: I meant to say 'the approach you use doesn't work, because imported libraries are targets to are targets to which you CANNOT add dependencies. This should work since I think cmake 2.8.4. http://public.kitware.com/Bug/view.php?id=10395 Or am I

Re: [cmake-developers] new Generator

2012-06-25 Thread Alexander Neundorf
Hi, On Thursday 21 June 2012, J Decker wrote: Is tehre anywhere that I can find a howto of how to approach creating a new genreator? basically, read the sources. For what IDE or build tool would you like to write one ? Alex -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Can imported libraries depend on ExternalProject targets?

2012-06-25 Thread Alexander Neundorf
On Saturday 23 June 2012, Stefan Reuschl wrote: Am 22.06.2012, 20:21 Uhr, schrieb Kent Williams nkwmailingli...@gmail.com: OK, I guess. The only reason I bring this up is ITK. If you're familiar with the ITK build process, it has a 'module' concept -- not a module in the CMake sense

[Cmake-commits] CMake branch, next, updated. v2.8.8-3308-g6d52cb8

2012-06-21 Thread Alexander Neundorf
20e133e Author: Alexander Neundorf neund...@kde.org AuthorDate: Thu Jun 21 17:22:33 2012 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Jun 21 17:22:33 2012 -0400 Merge topic 'DetectManSection' into next 20e133e man documentation: detect man section from

Re: [cmake-developers] target_automoc targets in VS2010 projects

2012-06-20 Thread Alexander Neundorf
On Wednesday 20 June 2012, Thomas Sondergaard wrote: Is it possible to hide the target_automoc targets when using the VS2010 generator? If it is not possible, it would be very useful if they could be put in a folder, ie set_property(GLOBAL PROPERTY USE_FOLDERS ON) set_property(GLOBAL

Re: [CMake] Generating Eclipse project failed ( MacOS + Eclipse CDT 3.7 + vtk )

2012-06-20 Thread Alexander Neundorf
On Wednesday 20 June 2012, Jana Sefcikova wrote: Dear users, I am new in CMake and I followed tutorial http://www.vtk.org/Wiki/Eclipse_CDT4_Generator , downloaded latest c++ Eclipse , my cmake version is 2.8.7 I obtained following warning/error ? during cmake configuration of my project :

Re: [cmake-developers] Not in next branches on the CMake stage...

2012-06-19 Thread Alexander Neundorf
On Tuesday 19 June 2012, David Cole wrote: On Tue, Jun 19, 2012 at 2:04 PM, Rolf Eike Beer e...@sf-mail.de wrote: On Di., 19. Jun. 2012 19:53:39 CEST, David Cole david.c...@kitware.com wrote: Alex and Eike, The following topic branches have been on the CMake stage for months,

Re: [cmake-developers] Faster automoc with parallel processing?

2012-06-19 Thread Alexander Neundorf
On Tuesday 19 June 2012, Thomas Sondergaard wrote: Hi Alexander, Thanks for replying. On 2012-06-18 21:58, Alexander Neundorf wrote: On Sunday 17 June 2012, Thomas Sondergaard wrote: On Windows with MSVC 2010 Generator, moc seems to be very slow and it is a paint to see it run

Re: [cmake-developers] Faster automoc with parallel processing?

2012-06-18 Thread Alexander Neundorf
On Sunday 17 June 2012, Thomas Sondergaard wrote: Hi, I've tested the new automoc feature and it certainly makes the developers life simpler and the CMakeLists.txt a lot simpler. Thanks for that, it is a great improvement. On Windows with MSVC 2010 Generator, moc seems to be very slow and

Re: [CMake] cmake as pkg-config replacement has problems?

2012-06-17 Thread Alexander Neundorf
On Saturday 16 June 2012, Hendrik Sattler wrote: Hi, I try the following commands with my projects config file. It is not installed but the build tree is registered with export(TARGET). $ cmake -DNAME=OpenObex -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE --find-package

[cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-06-15 Thread Alexander Neundorf
Hi, attached is a small patch which sets the OBJECT_DEPENDS property of a moced file to the generated moc file. This has the effect that before the cpp file is built, moc has been run on it. We have that in KDE's version of qt4_generate_moc() this way since 2006 and it works for us. In cmake's

[cmake-developers] Recommended usage of OBJECT_DEPENDS

2012-06-14 Thread Alexander Neundorf
Hi, we hit an issue in KDE related to the usage (or not-usage) of the OBJECT_DEPENDS source file property. In KDEs FindQt4.cmake the macro qt4_generate_moc(inCppFile outMocFile) uses the OBJECT_DEPENDS property to enforce that the moc file is generated before the cpp file is built. This seems

[Cmake-commits] CMake branch, next, updated. v2.8.8-3173-g7343e73

2012-06-14 Thread Alexander Neundorf
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7343e73937f37dda1de42d84b247f528dfca75b3 commit 7343e73937f37dda1de42d84b247f528dfca75b3 Merge: a885c05 e4a2d5f Author: Alexander Neundorf neund...@kde.org AuthorDate

[Cmake-commits] CMake branch, next, updated. v2.8.8-3147-g9c05d34

2012-06-13 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9c05d34c5ca8927250d0c783981549cbf33e0795 commit 9c05d34c5ca8927250d0c783981549cbf33e0795 Merge: fbfed81 414bf67 Author: Alexander Neundorf neund...@kde.org AuthorDate: Wed Jun 13 16:51:59 2012 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.8-3136-g9267a6a

2012-06-12 Thread Alexander Neundorf
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9267a6a1cdeea5b8847c903e114334280d6bb90c commit 9267a6a1cdeea5b8847c903e114334280d6bb90c Merge: 77f471b 0b343cb Author: Alexander Neundorf neund...@kde.org AuthorDate: Tue Jun 12 16:29:14 2012 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] Welcome to June, time for the next release candidate

2012-06-06 Thread Alexander Neundorf
On Monday, June 04, 2012 11:58:19 PM Stephen Kelly wrote: David Cole wrote: We are preparing to build CMake 2.8.9, release candidate one, in the next few days (or possibly as late as next week). Is there any pending/outstanding work that anybody thinks is critical for inclusion in

Re: [CMake] Selectively adding source files and compiling assembly sources

2012-05-28 Thread Alexander Neundorf
On Monday 28 May 2012, Petr Kmoch wrote: Hi Johannes, the only solution I can think of is something like: # option(WITH_A ...) option(WITH_B ...) set(MySources always/present/files ...) if(WITH_A) list(APPEND MySources files/for/a ...) endif() if(WITH_B) list(APPEND

Re: [CMake] a cmake install question

2012-05-28 Thread Alexander Neundorf
On Monday 28 May 2012, luxInteg wrote: Greetings, A cmake install question:- When installing say an unknown package (one where only installation prefix is described) appart from such $CMAKE_INSTALL_DIRECTORY (or prefix), are there 'generic' swithes to fix other directories such as

Re: [cmake-developers] Making the default install component name configurable

2012-05-23 Thread Alexander Neundorf
On Tuesday 22 May 2012, Alexander Neundorf wrote: On Monday 14 May 2012, Alexander Neundorf wrote: On Monday 14 May 2012, Brad King wrote: On 5/13/2012 2:15 PM, Alexander Neundorf wrote: the CMAKE_DEFAULT_INSTALL_COMPONENT_NAME variable is still in Unspecified, so this is still

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Alexander Neundorf
On Wednesday 23 May 2012, jrosensw wrote: Hey all, I'm trying to integrate insure++ with my cmake workspace. The way insure works is that you prepend the compiler with the insure executable. For example /usr/bin/insure /usr/bin/g++ -o test test.cpp. I've tried to overrid

[Cmake-commits] CMake branch, next, updated. v2.8.8-2922-g5cd83e8

2012-05-23 Thread Alexander Neundorf
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5cd83e87123fce024b449d01d7e40f6742e5b5d4 commit 5cd83e87123fce024b449d01d7e40f6742e5b5d4 Merge: 8ee9ec4 14b213c Author: Alexander Neundorf neund...@kde.org AuthorDate

[Cmake-commits] CMake branch, next, updated. v2.8.8-2917-g683f838

2012-05-22 Thread Alexander Neundorf
b71e731 Author: Alexander Neundorf neund...@kde.org AuthorDate: Tue May 22 16:41:25 2012 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 22 16:41:25 2012 -0400 Merge topic 'MakeDefaultInstallComponentNameConfigurable' into next b71e731 -add docs

Re: [CMake] Packaging Best Practices for Linux

2012-05-20 Thread Alexander Neundorf
On Wednesday 16 May 2012, Michael Jackson wrote: ... That was VERY informative. This is what I was afraid of. With Windows and OS X even though there are 3 or 4 versions if you build for the earliest one (XP or 10.5) the binary has a really good chance of still running on the latest (Win7 or

Re: [CMake] Linking to libraries that depend on other libraries

2012-05-20 Thread Alexander Neundorf
On Thursday 17 May 2012, Andreas Pakulat wrote: Hi Am Donnerstag, 17. Mai 2012 schrieb Petr Kmoch : Hi David, there's a target property LINK_INTERFACE_LIBRARIES (and per-configuration variants) which can be used for this purpose. Starting with 2.8.7, target_link_libraries() also

Re: [CMake] Packaging Best Practices for Linux

2012-05-20 Thread Alexander Neundorf
On Thursday 17 May 2012, Craig Scott wrote: That was VERY informative. This is what I was afraid of. With Windows and OS X even though there are 3 or 4 versions if you build for the earliest one (XP or 10.5) the binary has a really good chance of still running on the latest (Win7 or

Re: [CMake] copy dependant shared libs locally

2012-05-20 Thread Alexander Neundorf
On Thursday 17 May 2012, Daniel Krikun wrote: Hello, I would like to trace shared library dependencies between targets (and also to external packages) and then copy required dll's to output bin directory (so that they are immediately available, without PATH editing) in the post-build.

Re: [CMake] target_link_libraries chain dynamic-static

2012-05-20 Thread Alexander Neundorf
On Thursday 17 May 2012, Petr Kmoch wrote: Hi Anton, you should look into target property LINK_INTERFACE_LIBRARIES (and its per-configuration variants) which controls transitive linking. target_link_libraries() also accepts LINK_INTERFACE_LIBRARIES as an argument mode, which sets the

Re: [CMake] Fwd: module and cmake

2012-05-20 Thread Alexander Neundorf
On Saturday 19 May 2012, Johannes Zarl wrote: Hello Paul, I don't know about your specific find_package file for FFTW, but we do use modules together with CMake, so I'll add my thoughts: As Eric already said, the modules command alters your environment. CMake doesn't know about shell

Re: [CMake] copy dependant shared libs locally

2012-05-20 Thread Alexander Neundorf
On Sunday 20 May 2012, Daniel Krikun wrote: I do that, but I want more. I want to trace third-parties. In general, I would wonder why there is no such functionality available in cmake, why is that there are all these helpful find* modules that find headers, static libs etc., but not dlls.

Re: [CMake] Finding include directories when importing targets exported via install(EXPORT ...)

2012-05-20 Thread Alexander Neundorf
On Tuesday 15 May 2012, Matthew LeRoy wrote: Hi again, I'm working on setting up install(...) commands for a shared library project (call it libA), and I'm using the install(EXPORT ...) signature as has been recommended to me previously to export the shared library target so I can import it

Re: [cmake-developers] Making the default install component name configurable

2012-05-14 Thread Alexander Neundorf
On Monday 14 May 2012, Brad King wrote: On 5/13/2012 2:15 PM, Alexander Neundorf wrote: the CMAKE_DEFAULT_INSTALL_COMPONENT_NAME variable is still in Unspecified, so this is still the default. I'd rather the name be CMAKE_INSTALL_DEFAULT_COMPONENT_NAME to keep the CMAKE_INSTALL_

Re: [cmake-developers] Making the default install component name configurable

2012-05-14 Thread Alexander Neundorf
On Monday 14 May 2012, Brad King wrote: On 5/13/2012 2:15 PM, Alexander Neundorf wrote: the CMAKE_DEFAULT_INSTALL_COMPONENT_NAME variable is still in Unspecified, so this is still the default. I'd rather the name be CMAKE_INSTALL_DEFAULT_COMPONENT_NAME to keep the CMAKE_INSTALL_

[cmake-developers] set_property(DIRECTORY) regression ?

2012-05-14 Thread Alexander Neundorf
Hi, it seems the behaviour of DIRECTORY properties changed from cmake 2.6.4 to 2.8.0. It seems when setting a directory property, with 2.6.4 this was inherited into subdirs, with 2.8.0 and above not anymore. This is the output I get when running the attachec example with cmake 2.6.4 and

[cmake-developers] Making the default install component name configurable

2012-05-13 Thread Alexander Neundorf
Hi, the install() command has a COMPONENT argument. If this is not used, such unnamed components are always named Unspecified. In the MakeDefaultInstallComponentNameConfigurable branch on stage I added a new cmake variable CMAKE_DEFAULT_INSTALL_COMPONENT_NAME, which is now used instead. It is

Re: [cmake-developers] Making the default install component name configurable

2012-05-13 Thread Alexander Neundorf
On Sunday 13 May 2012, Eric Noulard wrote: 2012/5/13 Alexander Neundorf neund...@kde.org: Hi, the install() command has a COMPONENT argument. If this is not used, such unnamed components are always named Unspecified. In the MakeDefaultInstallComponentNameConfigurable branch

Re: [CMake] How to use different assemblers in single build?

2012-05-12 Thread Alexander Neundorf
On Saturday 12 May 2012, Alexey Istomin wrote: Yes. You need to duse two different assembler dialects, each dialect counts as a separate language to cmake, so you can have many in parallel. So you should add e.g. a ASM-DSP dialect, and set the language of the source files to ASM-DSP.

Re: [CMake] How to use different assemblers in single build?

2012-05-12 Thread Alexander Neundorf
On Saturday 12 May 2012, Alexey Istomin wrote: Thanks a lot, Alex. I done some experiments. It looks like dsp-asm sources should have a different file extension? Can CMake select specific asm-compiler depends on subdir instead of file extesion? Not per directory, but per file. You

Re: [CMake] How to use different assemblers in single build?

2012-05-11 Thread Alexander Neundorf
On Friday 11 May 2012, Alexey Istomin wrote: Is it possible to use different assemblers in single build with CMake? I try to use CMake for building embedded application - statically linked elf file. Main CPU has 2 cores: general-purpose MIPS based core and DSP. Project has simple structure:

Re: [CMake] Passing back list of files from Function

2012-05-11 Thread Alexander Neundorf
On Friday 11 May 2012, Michael Jackson wrote: I have a function where I am generating a number of files and I need to pass that list of files back to the original calling cmake command/file/scope. How would I go about that? function(create_files) set(options) set(multiValueArgs

Re: [CMake] Volunteering to become maintainer of FindLibLZMA.cmake

2012-05-10 Thread Alexander Neundorf
On Thursday 10 May 2012, Mario Bensi wrote: I'm not a LZMA maintainer. I think FindLibLZMA is a good candidate to integrate CMake/Modules like FindBZip2 or FindZLib. Yes, I think so too. Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Package installation conundrum

2012-05-09 Thread Alexander Neundorf
On Wednesday 09 May 2012, Michael Wild wrote: On 05/08/2012 11:13 PM, Dave Abrahams wrote: on Tue May 08 2012, Alexander Neundorf a.neundorf-work-hi6Y0CQ0nG0-AT- public.gmane.org wrote: On Tuesday 08 May 2012, Dave Abrahams wrote: Here's another one! Scenario: * I am running CMake

Re: [CMake] INCLUDE command within a toolchain file is stripping file path if filename is a variable?

2012-05-09 Thread Alexander Neundorf
On Wednesday 09 May 2012, Terrence Meiczinger wrote: I have a top level cmake toolchain file and I want it to include another file. If I give the include a string filename it works. However, if I try to make the filename a variable, it can no longer find the included file. It appears cmake is

Re: [CMake] Package installation conundrum

2012-05-09 Thread Alexander Neundorf
On Wednesday 09 May 2012, Michael Wild wrote: On 09.05.2012, at 21:03, Alexander Neundorf a.neundorf-w...@gmx.net wrote: ... # configure the headers into the build tree so the package can be used # without installing it and not hard-coding the source/build directory # information

Re: [CMake] Package installation conundrum

2012-05-08 Thread Alexander Neundorf
On Tuesday 08 May 2012, Dave Abrahams wrote: Here's another one! Scenario: * I am running CMake under 0install to build and install libraries * Each library builds a package SomePackage for the library binaries and another package SomePackage-dev for the library headers (and import

Re: [cmake-developers] Target usage requirements and conventions

2012-05-06 Thread Alexander Neundorf
On Saturday 05 May 2012, Stephen Kelly wrote: Alexander Neundorf wrote: On Wednesday 02 May 2012, Stephen Kelly wrote: Brad King wrote: ... to mean find-if-necessary. Then arguments after Bar would be passed to the implied find_package for version and all the other options

[Cmake-commits] CMake branch, next, updated. v2.8.8-2819-ga026199

2012-05-06 Thread Alexander Neundorf
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a02619930e10121c29189d6c20da1a7b1d7f9efd commit a02619930e10121c29189d6c20da1a7b1d7f9efd Merge: d6ff0a7 1f8f58a Author: Alexander Neundorf neund...@kde.org AuthorDate

Re: [cmake-developers] Target usage requirements and conventions

2012-05-03 Thread Alexander Neundorf
On Thursday 03 May 2012, Stephen Kelly wrote: Alexander Neundorf wrote: ... So, I don't see any need for automatically invoking find_package() from some other command. Calling find_package() is something people should be used to, it shouldn't be hard for them. Hiding it in some other

Re: [CMake] variable inheritance

2012-05-03 Thread Alexander Neundorf
On Thursday 03 May 2012, David Cole wrote: I think it qualifies as a bug because it's somewhat unexpected. The question is: can we fix it without disrupting people who are accidentally depending on this behavior The p-word again ? Alex -- Powered by www.kitware.com Visit other Kitware

Re: [cmake-developers] Version-specific documentation pages (was: Could a cmake_maximum_required() work?)

2012-05-02 Thread Alexander Neundorf
On Tuesday 01 May 2012, Brad King wrote: On 4/25/2012 2:17 PM, Stephen Kelly wrote: This issue came up because KDE wants to ensure that developers do not accidentally use features of newer versions of CMake. It will be helpful to reference documentation specific to the minimum required

Re: [cmake-developers] Target usage requirements and conventions

2012-05-02 Thread Alexander Neundorf
On Tuesday 01 May 2012, Stephen Kelly wrote: Stephen Kelly wrote: This avoids the 'double booking' problem[1], which I think might be real, so I think it's a good idea to optimize the common case, but I won't be too disappointed if it's not acceptable. [1]

Re: [cmake-developers] Target usage requirements and conventions

2012-05-02 Thread Alexander Neundorf
On Wednesday 02 May 2012, Stephen Kelly wrote: Brad King wrote: ... to mean find-if-necessary. Then arguments after Bar would be passed to the implied find_package for version and all the other options. Either Module mode or Config mode could detect whether there is enough information

Re: [cmake-developers] Target usage requirements and conventions

2012-05-01 Thread Alexander Neundorf
On Sunday 29 April 2012, Stephen Kelly wrote: Hi there, The topic of 'target usage requirements' has come up several times. It's something I'd like to work further towards in CMake 2.8.9. I have created a wiki page on the KDE wiki (there for my convenience mostly) so that we can discuss

Re: [CMake] CCTray like tool for CDash?

2012-04-17 Thread Alexander Neundorf
On Monday 16 April 2012, NoRulez wrote: Hello, is there a tool for CDash which is equivalent to CCTray for Cruise Control or is such tool planned? what is CCTray ? Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] CMake 2.8.7 + XCode generator + nasm files

2012-04-11 Thread Alexander Neundorf
On Wednesday 11 April 2012, David Cole wrote: On Wed, Apr 11, 2012 at 4:23 AM, Damien Chavarria roy...@gmail.com wrote: Thank you David Alex, I also have the ASM_NASM language enabled in my CMakeLists.txt files, and this works for Makefile generators so I'm not sure I understand why

Re: [CMake] Multiple Versions of CMake

2012-04-10 Thread Alexander Neundorf
On Tuesday 10 April 2012, Sara Rolfe wrote: Hello, I have been using CMake on a compute cluster with 64-bit nodes running RHEL 5.7. CMake was not installed on the nodes so I built version 2.8.4 in my home directory. Recently the cluster nodes were upgraded from RHEL 5.7 to RHEL 6.2, which

<    2   3   4   5   6   7   8   9   10   11   >