[Cmake-commits] CMake branch, next, updated. v3.2.2-1996-gda1764e

2015-04-20 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=da1764e593e3c183f2b60cf1c6ea69a14eee6e13 commit da1764e593e3c183f2b60cf1c6ea69a14eee6e13 Merge: 83597d4 370534f Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Apr 20 18:45:38 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.2-1994-g83597d4

2015-04-20 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=83597d46b404fbb57496466d1f05013836eb7da8 commit 83597d46b404fbb57496466d1f05013836eb7da8 Merge: fba9de3 fcf9cf6 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Apr 20 18:31:52 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.2-1992-gfba9de3

2015-04-20 Thread Stephen Kelly
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fba9de3c35c554d87d20d10d7bd44404e55f46a9 commit fba9de3c35c554d87d20d10d7bd44404e55f46a9 Merge: 9221bba 8090904 Author: Stephen Kelly steve...@gmail.com AuthorDate

[Cmake-commits] CMake branch, next, updated. v3.2.2-1918-gcae2b4e

2015-04-18 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cae2b4e846a2dbabfe930d157c736883cb54313f commit cae2b4e846a2dbabfe930d157c736883cb54313f Merge: 00b8efc 05245b4 Author: Stephen Kelly steve...@gmail.com AuthorDate: Sat Apr 18 09

[Cmake-commits] CMake branch, next, updated. v3.2.2-1938-gc753650

2015-04-18 Thread Stephen Kelly
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c753650a464694b3e11f6bd59bf63dbd6fb2f4de commit c753650a464694b3e11f6bd59bf63dbd6fb2f4de Merge: 6d45daa 98c51dc Author: Stephen Kelly steve...@gmail.com AuthorDate

Re: [CMake] Strange behaviour of STREQUAL with a variable containing only type

2015-04-18 Thread Stephen Kelly
Nils Gladitz wrote: It is expected if type itself is a variable (set by some module evaluated by project()). Indeed we should probably clean up after ourselves (in the project() implementation) when using such generic names... Thanks, Steve. -- Powered by www.kitware.com Please keep

Re: [CMake] ExternalProject can't have interface library as a dependency

2015-04-18 Thread Stephen Kelly
Andrey Pokrovskiy wrote: /* I'm using cmake-3.2.20150331-gb190c. */ I have a following construction: ExternalProject_Add( websockets_ep DEPENDS ev openssl ...) But it so happened, that openssl is a INTERFACE library. That sounds odd. What provides it as an

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-18 Thread Stephen Kelly
Alan W. Irwin wrote: So is it recommended that a two-step procedure be used to configure a file? For example: Yes, that seems to be a valid thing to do. If the above complications for configured files are the only way to deal with a mixture of @...@ items and generator expressions to

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-04-18 Thread Stephen Kelly
Stephen Kelly wrote: The aim is to generate a structured file containing metadata relating the buildsystem. I've been quiet on this thread for a while, so I think it is time for an update. I became more ambitious in mid March and started prototyping a more-complete design for CMake IDE

[cmake-developers] Should Ninja be marked non-experimental?

2015-04-13 Thread Stephen Kelly
Hi, Following from: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/11260/focus=12940 Brad King wrote: This was done with the Ninja generator when it was introduced, though fortunately in that case we didn't have to break anything IIRC. It is still documented as

Re: [CMake] Find Module, add_library shared and static : standard ?

2015-04-13 Thread Stephen Kelly
r2d2leb...@voila.fr wrote: Hi, I need to write a FindModule which search static and shared version of my lib. If it is your library, then you provide a Config.cmake file, not a FindModule: http://www.cmake.org/cmake/help/v3.2/manual/cmake-packages.7.html I would like to know what is

[Cmake-commits] CMake branch, next, updated. v3.2.1-1834-gc009d68

2015-04-13 Thread Stephen Kelly
Merge: c167c89 de486a5 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Apr 13 15:49:07 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Mon Apr 13 15:49:07 2015 -0400 Merge topic 'port-global-properties-to-cmState' into next de486a5a Port Global

[Cmake-commits] CMake branch, next, updated. v3.2.1-1836-ga4f0f6c

2015-04-13 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a4f0f6ca892491e787e3259d5eba632196e2a4d6 commit a4f0f6ca892491e787e3259d5eba632196e2a4d6 Merge: c009d68 7172add Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Apr 13 17:14:24 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.1-1759-gb0c18ba

2015-04-12 Thread Stephen Kelly
=b0c18ba6de66445ba3d416fc62e6dc924ad380cf commit b0c18ba6de66445ba3d416fc62e6dc924ad380cf Merge: be2570d 11633c7 Author: Stephen Kelly steve...@gmail.com AuthorDate: Sun Apr 12 14:11:30 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sun Apr 12 14:11:30 2015 -0400 Merge

[Cmake-commits] CMake branch, next, updated. v3.2.1-1761-gece47ef

2015-04-12 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ece47efcfadae336402a9e58f99534aa243d12c5 commit ece47efcfadae336402a9e58f99534aa243d12c5 Merge: b0c18ba d824a01 Author: Stephen Kelly steve...@gmail.com AuthorDate: Sun Apr 12 15:53:10 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.1-1769-gcb1ea87

2015-04-12 Thread Stephen Kelly
in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cb1ea87c8d8bff131594cd7837a078079ba36286 commit cb1ea87c8d8bff131594cd7837a078079ba36286 Merge: ece47ef 07d44d6 Author: Stephen Kelly steve...@gmail.com

[Cmake-commits] CMake branch, next, updated. v3.2.1-1734-gbe2570d

2015-04-11 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=be2570d2726ced4c5f62f63d098a5c363afd9dd2 commit be2570d2726ced4c5f62f63d098a5c363afd9dd2 Merge: 5c86b23 60fdb9a Author: Stephen Kelly steve...@gmail.com AuthorDate: Sat Apr 11 10:52:29 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.1-1659-g9a9f626

2015-04-09 Thread Stephen Kelly
9a9f62683ff256cd90a1ab98effc12a821a48f0d Merge: 311d165 d0e13ab Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu Apr 9 02:40:10 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Apr 9 02:40:10 2015 -0400 Merge topic 'introduce-cmState' into next

[Cmake-commits] CMake branch, next, updated. v3.2.1-1606-gbf53173

2015-04-08 Thread Stephen Kelly
=bf53173a0d19d025fe21e53091a2efe6b1c62a21 commit bf53173a0d19d025fe21e53091a2efe6b1c62a21 Merge: 277b21a a580ee8 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 8 02:55:51 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Apr 8 02:55:51 2015 -0400 Merge topic 'refactor-cache-api

[Cmake-commits] CMake branch, next, updated. v3.2.1-1628-g575742d

2015-04-08 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=575742d4f928f7a9e2a1c17c38de4ff4cece4ea3 commit 575742d4f928f7a9e2a1c17c38de4ff4cece4ea3 Merge: c80c588 1daa60f Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 8 12:43:03 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.1-1635-gdbdae3b

2015-04-08 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbdae3b67ad5ad036750d0e31f48d9514a1c5c6a commit dbdae3b67ad5ad036750d0e31f48d9514a1c5c6a Merge: 575742d ba40493 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 8 12:55:22 2015 -0400 Commit: CMake Topic

Re: [CMake] Enable C++11 for a Target with Intel

2015-04-07 Thread Stephen Kelly
Robert Maynard wrote: Currently the only compilers that support compiler features are: Apple Clang versions 4.4 though 6.1. GNU compiler versions 4.4 through 5.0 on UNIX and Apple. Microsoft Visual Studio versions 2010 through 2015. Oracle SolarisStudio version 12.4. If you are

[Cmake-commits] CMake branch, next, updated. v3.2.1-1585-g8d04367

2015-04-07 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8d0436743079e56fc77d5352b62604266ddfc4f5 commit 8d0436743079e56fc77d5352b62604266ddfc4f5 Merge: c6f88a1 1eb97ae Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Apr 7 16:15:55 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.1-1492-gb698a9b

2015-04-06 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b698a9b255e5012a50a3b9a76342f3ccbb19fffd commit b698a9b255e5012a50a3b9a76342f3ccbb19fffd Merge: 71f7b67 c22f6c1 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Apr 6 08:43:09 2015 -0400 Commit: CMake Topic Stage kwro

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-04-06 Thread Stephen Kelly
Ben Boeckel wrote: On Sat, Apr 04, 2015 at 14:32:51 +0200, Stephen Kelly wrote: However, there are other users of the compile-commands.json, so it will remain and the feature for generation of it will not be deprecated. Or, to be more clear - it doesn't need to be deprecated as a result

[Cmake-commits] CMake branch, next, updated. v3.2.1-1487-gbda8224

2015-04-05 Thread Stephen Kelly
: 1382e81 c37cf7f Author: Stephen Kelly steve...@gmail.com AuthorDate: Sun Apr 5 04:26:51 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sun Apr 5 04:26:51 2015 -0400 Merge topic 'minor-cleanups' into next c37cf7fa cmCacheManager: Remove unused method

[Cmake-commits] CMake branch, next, updated. v3.2.1-1472-ga78a2f8

2015-04-04 Thread Stephen Kelly
a78a2f8997a87806fb04e833c27b684b7c20fb3e Merge: 646bd1a a469bf7 Author: Stephen Kelly steve...@gmail.com AuthorDate: Sat Apr 4 12:36:41 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sat Apr 4 12:36:41 2015 -0400 Merge topic 'minor-cleanups' into next

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-04-04 Thread Stephen Kelly
On 04/02/2015 10:29 AM, Anton Makeev wrote: I see, but how will having include_directories help ‘Add include directory’-like actions? I mean, simply having this list (without additional info like backtraces) doesn’t seem to help much. We'll have to see :). So, in the end, we probably need

[Cmake-commits] CMake branch, next, updated. v3.2.1-1478-g1382e81

2015-04-04 Thread Stephen Kelly
;a=commitdiff;h=1382e8156cfe09a06a13451f9ae7879b135f3ede commit 1382e8156cfe09a06a13451f9ae7879b135f3ede Merge: a78a2f8 6f82b5e Author: Stephen Kelly steve...@gmail.com AuthorDate: Sat Apr 4 13:16:45 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sat Apr 4 13:16:45 2015

Re: [CMake] iOS multi-arch library target and xcodebuild

2015-04-02 Thread Stephen Kelly
Jason Cooper wrote: Is there a plan to merge the above into cmake as a module? You can of course do something similar for Android: https://github.com/taka-no-me/android-cmake/blob/master/android.toolchain.cmake Ah, thanks for the heads up. I'll need that later. There should be no need

[Cmake-commits] CMake branch, next, updated. v3.2.1-1362-g6e16fb8

2015-04-01 Thread Stephen Kelly
in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e16fb8832cc6fffaf0661e5f120b4b4f6f09bf9 commit 6e16fb8832cc6fffaf0661e5f120b4b4f6f09bf9 Merge: 4cb9f82 dcbef50 Author: Stephen Kelly steve...@gmail.com

[Cmake-commits] CMake branch, next, updated. v3.2.1-1372-gffa3e4b

2015-04-01 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ffa3e4bffacd9d48a045039e74c7a66c00e52e21 commit ffa3e4bffacd9d48a045039e74c7a66c00e52e21 Merge: a7d2520 064625f Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 1 15:20:38 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.1-1366-g0134ce0

2015-04-01 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0134ce0e8c10e23d1d33fca8b65d817ff07a05e5 commit 0134ce0e8c10e23d1d33fca8b65d817ff07a05e5 Merge: ae11f76 9c59989 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 1 15:06:49 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.1-1370-ga7d2520

2015-04-01 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a7d2520836725e9dcc8611ee24c6e80f7fefb14b commit a7d2520836725e9dcc8611ee24c6e80f7fefb14b Merge: a678294 30dd4f8 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 1 15:08:26 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.1-1364-gae11f76

2015-04-01 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ae11f760358c8bd05f95eb81118bd08bd88aa416 commit ae11f760358c8bd05f95eb81118bd08bd88aa416 Merge: 6e16fb8 4f663fb Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 1 15:04:28 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.1-1374-g4f51a06

2015-04-01 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4f51a06046cb500c742a97a25bf5c7a83ac474bb commit 4f51a06046cb500c742a97a25bf5c7a83ac474bb Merge: ffa3e4b 9e3c8eb Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Apr 1 15:22:02 2015 -0400 Commit: CMake Topic Stage kwro

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-04-01 Thread Stephen Kelly
Anton Makeev wrote: On 01 Apr 2015, at 00:41, Stephen Kelly steve...@gmail.com wrote: Anton Makeev wrote: The problem with the following format: --- include_directories : [/foo, /opt] compile_definitions : [DEF=\Foo\, OTHER_DEF=1] compile_flags: [ -c ] — Is that it’s incomplete

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-04-01 Thread Stephen Kelly
Tobias Hunger wrote: On Wed, Apr 1, 2015 at 12:41 AM, Stephen Kelly steve...@gmail.com wrote: Anton Makeev wrote: The problem with the following format: --- include_directories : [/foo, /opt] compile_definitions : [DEF=\Foo\, OTHER_DEF=1] compile_flags: [ -c ] — Is that it’s incomplete

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-04-01 Thread Stephen Kelly
Anton Makeev wrote: Not only do we reed it, we also have the UI that allows user to interact and the cached values. That means we’ll have CMakeCache parser anyways and do not need these values in metadata.json file, as it was mentioned in parallel discussion. Yes, that's what I thought. I

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-31 Thread Stephen Kelly
Anton Makeev wrote: The problem with the following format: --- include_directories : [/foo, /opt] compile_definitions : [DEF=\Foo\, OTHER_DEF=1] compile_flags: [ -c ] — Is that it’s incomplete and cannot be used directly: * include directories list misses compiler-defined search paths

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-29 Thread Stephen Kelly
Stephen Kelly wrote: I expect to require a few iterations to figure out what the metadata files should contain in the end. Just FYI, I have not forgotten about this and am working on an expanded design to cover the reported needs. Thanks, Steve. -- Powered by www.kitware.com Please

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-23 Thread Stephen Kelly
Tobias Hunger wrote: and which kit (think set of compiler, Qt, some other settings) were used to in the built in that directory. Is this hypothetical? Currently I can add a compiler location and a Qt location in QtCreator, and I can create a kit and give it a name and partcular compiler

Re: [cmake-developers] How to handle configurations (Was: Generating buildsystem metadata from CMake)

2015-03-23 Thread Stephen Kelly
Tobias Hunger wrote: Hi Stephen, On Sat, Mar 21, 2015 at 10:56 AM, Stephen Kelly steve...@gmail.com wrote: So, the design question I have is: * Is lots of repetition ok in the metadata file? If it can not be avoided, then so be it. It can be avoided at the cost of computation. I

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-21 Thread Stephen Kelly
Tobias Hunger wrote: Hi Anton, you raised some good points, all of which I agree with:-) On Thu, Mar 19, 2015 at 10:18 AM, Anton Makeev anton.mak...@jetbrains.com wrote: * If it is useful to preprocess/compile/assemble individual files from IDEs, as made possible by the Makefiles and

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-21 Thread Stephen Kelly
Anton Makeev wrote: The other thing that seems troubling to me is that since file, target, language compiler options are split into different parts of metadata, the IDE need to know exactly how to assemble them back into the compiler’s command line (e.g. what flags go first file’s or

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-21 Thread Stephen Kelly
Tobias Hunger wrote: On Wed, Mar 11, 2015 at 11:10 AM, Stephen Kelly steve...@gmail.com wrote: * Make it possible for editors/IDEs to allow specifying the configuration at build-time, where the IDE has that feature, and where a multi-config generator is available. That is, QtCreator

[cmake-developers] How to handle configurations (Was: Generating buildsystem metadata from CMake)

2015-03-21 Thread Stephen Kelly
This seems to be to be a design point which we are blocked on. There are many different ideas floating around. I think we need to talk about what would be generated for actual CMakeLists files, and how tools would parse the result. I suggest starting with the Tests/Metadata/CMakeLists.txt

Re: [CMake] Full paths for transitive dependencies

2015-03-18 Thread Stephen Kelly
Adam wrote: I happened to stumble acrosss this today. I fixed it by adding another find_package to the last project but this seems to defeat the purpose of transitive dependencies. What am I doing wrong? The docs I linked to describe Config files which include() the result of

Re: [cmake-developers] Extracting target metadata, IDE integration

2015-03-16 Thread Stephen Kelly
Tobias Hunger wrote: This JSON file can be a step forward here: It is actually meant to be used by IDEs, it has a format straight forward to parse, it does not depend on the generator used, it will (hopefully;-) end up being documented, it provides versioning, etc. I see some potential there.

Re: [CMake] List all binaries associated with a target.

2015-03-16 Thread Stephen Kelly
Klaim - Joël Lamotte wrote: Actually 2 and 3 are the same, I just put the files in a specific place in the build directory so that it looks like installed, but I do this when the binary is built so that it's always up to date while debugging. Now, I use post-build command

Re: [CMake] List all binaries associated with a target.

2015-03-16 Thread Stephen Kelly
Klaim - Joël Lamotte wrote: I am looking for a (hopefully simple) way to do the following: 1. gather a list of paths of all the binaries associated with a target, that is all the linked dll/so and executable the target link or depend on. Apparently I starting thinking about a genex to do

Re: [CMake] Full paths for transitive dependencies

2015-03-16 Thread Stephen Kelly
Richard Taylor wrote: http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file Prefer the official documentation instead of the wiki wherever official documentation exists (especially if it is well-formatted; that means it's probably recent and maintained).

Re: [CMake] Globally disable AUTO MOC

2015-03-16 Thread Stephen Kelly
Scott Aron Bloom wrote: I have found I can disable it project by project, but I cant seem to disable it, globally for every project Is there a way (or point in the cmake flow) to disable it globally? It is disabled by default. It is defaulted to on for targets following the setting of

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-16 Thread Stephen Kelly
Aleix Pol wrote: By 'in scope' you mean 'used by the primary CMakeLists.txt files via include() or find_package()' or something like that? OK, let's see if that's the best source of that data or if we should add something new internally in cmake. By in scope I mean whether a variable or a

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-16 Thread Stephen Kelly
Nils Gladitz wrote: On 03/11/2015 11:10 AM, Stephen Kelly wrote: I'm starting to gather requirements and make sure the feature is well designed to satisfy the needs we're already aware of, and fits with the features CMake currently has. Source file groups (as in defined by source_group

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-14 Thread Stephen Kelly
On Saturday, March 14, 2015, Aleix Pol aleix...@kde.org wrote: On Wed, Mar 11, 2015 at 11:10 AM, Stephen Kelly steve...@gmail.com wrote: Hi, Following from the thread here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=12394 http://thread.gmane.org

Re: [cmake-developers] Generating buildsystem metadata from CMake

2015-03-13 Thread Stephen Kelly
On 03/11/2015 11:10 AM, Stephen Kelly wrote: Hi, Following from the thread here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=12394 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=12650 The discussion in that thread

[cmake-developers] Generating buildsystem metadata from CMake

2015-03-11 Thread Stephen Kelly
Hi, Following from the thread here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=12394 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=12650 I'm starting to gather requirements and make sure the feature is well designed to satisfy

[Cmake-commits] CMake branch, next, updated. v3.2.0-968-g1d054bf

2015-03-10 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1d054bf65c67edf290109335872943ebcf30cade commit 1d054bf65c67edf290109335872943ebcf30cade Merge: 737eb5c 3ff95f3 Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Mar 10 16:25:33 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.0-997-g60a0124

2015-03-10 Thread Stephen Kelly
95dd238 Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Mar 10 19:18:33 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue Mar 10 19:18:33 2015 -0400 Merge topic 'cmAlgorithms-cleanup' into next 95dd238f cmRemoveDuplicates: Fix iterator

[Cmake-commits] CMake branch, next, updated. v3.2.0-980-g0f96f10

2015-03-10 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0f96f10ec66b118473fa349702fc8355e8f0412d commit 0f96f10ec66b118473fa349702fc8355e8f0412d Merge: ecce429 da12ae2 Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Mar 10 19:12:18 2015 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.0-993-gb6e28c1

2015-03-10 Thread Stephen Kelly
b6e28c13f00cdfb3299ba280395333d648385be8 Merge: 94425f4 0a73c85 Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Mar 10 19:16:15 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue Mar 10 19:16:15 2015 -0400 Merge topic 'cmRemoveDuplicates-improvement

[Cmake-commits] CMake branch, next, updated. v3.2.0-988-g94425f4

2015-03-10 Thread Stephen Kelly
ed6c614 Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Mar 10 19:15:46 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue Mar 10 19:15:46 2015 -0400 Merge topic 'cmAlgorithms-cleanup' into next ed6c614f cmRemoveDuplicates: Fix iterator

[Cmake-commits] CMake branch, next, updated. v3.2.0-1001-gfefa015

2015-03-10 Thread Stephen Kelly
8701a3f Author: Stephen Kelly steve...@gmail.com AuthorDate: Tue Mar 10 19:18:56 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue Mar 10 19:18:56 2015 -0400 Merge topic 'cmRemoveDuplicates-improvement' into next 8701a3f4 cmRemoveDuplicates: Partially

[Cmake-commits] CMake branch, next, updated. v3.2.0-936-g95105b9

2015-03-09 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=95105b9e140a74048d0bcd015e92c8ddc6593a61 commit 95105b9e140a74048d0bcd015e92c8ddc6593a61 Merge: 9aec617 5f09436 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Mar 9 16:55:11 2015 -0400 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.0-932-gbd86df6

2015-03-09 Thread Stephen Kelly
bd86df676c8b19c0f5a4e5d87c0074caf3ebcbe3 Merge: 60fd5e0 9e16894 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Mar 9 16:08:11 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Mon Mar 9 16:08:11 2015 -0400 Merge topic 'target-language-genex' into next

Re: [cmake-developers] Extracting target metadata, IDE integration

2015-03-09 Thread Stephen Kelly
Aleix Pol wrote: I just pushed my change into a github clone for easier testing and reviewing. https://github.com/aleixpol/CMake Hi Aleix, Thanks for your efforts. Here are some things that are required before a feature like this can be committed to the cmake repo: * Discuss the feature

[Cmake-commits] CMake branch, next, updated. v3.2.0-905-g735edbd

2015-03-08 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=735edbd3335791929fa2e9ab4cd25b001dada607 commit 735edbd3335791929fa2e9ab4cd25b001dada607 Merge: e410257 40895db Author: Stephen Kelly steve...@gmail.com AuthorDate: Sun Mar 8 11:16:31 2015 -0400 Commit: CMake Topic Stage kwro

Re: [CMake] can I make an AUTOMOC generated file depend on something ?

2015-03-05 Thread Stephen Kelly
Kim Rydhof Thor Hansen wrote: On Wed, Feb 25, 2015 at 10:45 PM, Stephen Kelly steve...@gmail.com wrote: Kim Rydhof Thor Hansen wrote: http://www.cmake.org/cmake/help/v3.0/prop_tgt/AUTOGEN_TARGET_DEPENDS.html I have a similar problem because automoc doesn't pick up that my metadata.json

[Cmake-commits] CMake branch, next, updated. v3.2.0-859-g67f87e6

2015-03-05 Thread Stephen Kelly
;a=commitdiff;h=67f87e683f8845b688cccf663ae7454d96e6dfe3 commit 67f87e683f8845b688cccf663ae7454d96e6dfe3 Merge: aa18ddf 37820a8 Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu Mar 5 17:33:24 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Mar 5 17:33:24 2015

[Cmake-commits] CMake branch, next, updated. v3.2.0-861-g09e6248

2015-03-05 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=09e6248ba23e6d89a98d03f4cb0831fb6ef55e3d commit 09e6248ba23e6d89a98d03f4cb0831fb6ef55e3d Merge: 67f87e6 860f73b Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu Mar 5 17:37:58 2015 -0500 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.0-846-gdc6cebe

2015-03-05 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dc6cebe35f74b2fbc1b99434d04e454bdb6525f7 commit dc6cebe35f74b2fbc1b99434d04e454bdb6525f7 Merge: 4f61b2a 95a6a4b Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu Mar 5 13:57:48 2015 -0500 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.0-851-g3ea132e

2015-03-05 Thread Stephen Kelly
3ea132eb29448001cf27544e3fd1e35fc4b0574b Merge: dc6cebe ccb0cd8 Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu Mar 5 14:03:01 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Mar 5 14:03:01 2015 -0500 Merge topic 'target-language-genex' into next

[Cmake-commits] CMake branch, next, updated. v3.2.0-838-g6f6181e

2015-03-04 Thread Stephen Kelly
;a=commitdiff;h=6f6181e6fabf21ef75054f18c888bc9f7ab4b337 commit 6f6181e6fabf21ef75054f18c888bc9f7ab4b337 Merge: 2b10088 807f894 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Mar 4 17:23:58 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 4 17:23:58 2015

[Cmake-commits] CMake branch, next, updated. v3.2.0-840-g38305a8

2015-03-04 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=38305a812e6d79ce60b67130f9b6f5c37e32b39a commit 38305a812e6d79ce60b67130f9b6f5c37e32b39a Merge: 6f6181e fd2875d Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Mar 4 18:13:27 2015 -0500 Commit: CMake Topic Stage kwro

[Cmake-commits] CMake branch, next, updated. v3.2.0-842-g7c6a5fe

2015-03-04 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7c6a5fe2a078438b5850a75a22549f280a16f3e0 commit 7c6a5fe2a078438b5850a75a22549f280a16f3e0 Merge: 38305a8 3f1362b Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu Mar 5 02:56:38 2015 -0500 Commit: CMake Topic Stage kwro

Re: [CMake] can I make an AUTOMOC generated file depend on something ?

2015-02-25 Thread Stephen Kelly
Kim Rydhof Thor Hansen wrote: http://www.cmake.org/cmake/help/v3.0/prop_tgt/AUTOGEN_TARGET_DEPENDS.html I have a similar problem because automoc doesn't pick up that my metadata.json file is a dependency to the generated moc_plugin.cpp when building a Qt plugin Thanks for the testcase. I

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Stephen Kelly
Brad King wrote: On 02/24/2015 05:25 PM, Stephen Kelly wrote: Until that problem is solved we cannot make object libraries implicitly offer their objects just through tll(). Honestly, the problem is still not clear to me. Consider an object library with some usage requirements

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Stephen Kelly
Ben Boeckel wrote: On Wed, Feb 25, 2015 at 22:57:13 +0100, Stephen Kelly wrote: What I envision for the future is: add_library(objlib OBJECT ...) target_compile_definitions(objlib PUBLIC MYDEF) target_sources(objlib INTERFACE $TARGET_OBJECTS:objlib) Do you envision

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Stephen Kelly
Ben Boeckel wrote: It is just as easy to get into this situation when linking static libraries, right? Object libraries are not part of the problem, right? Or could you post a sscce? It is, so maybe it's less of an issue. I just think it is much easier to stumble upon it when you start

Re: [CMake] Problems with combo CMake/MSVC2013/Qt5

2015-02-24 Thread Stephen Kelly
Jakob van Bethlehem wrote: Dear users, set(CMAKE_PREFIX_PATH C:/Qt/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake) Don't do this. Pass CMAKE_PREFIX_PATH as an argument to cmake. The CMakeLists.txt file in the subfolder looks like this: CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0) This has

Re: [CMake] CMP0026 - Disallow use of the LOCATION target property

2015-02-24 Thread Stephen Kelly
Jifeng ZHANG wrote: Any idea when CMake 4.0 is planned to release? So we can get a general idea when the old behavior will stop working. What will you do when it is released and the LOCATION property does stop working for build targets? Whatever it is, any reason not to do it now? Thanks,

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-24 Thread Stephen Kelly
Stephen Kelly wrote: For the diamond-usage problem, is there some way of utilizing the COMPATIBLE_INTERFACES to deny the mixing of two libraries where each built with an object libraries' objects? Having a property to trigger that would be nice... Yes, that's possible by adding

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-24 Thread Stephen Kelly
Brad King wrote: On 02/23/2015 07:50 PM, Ben Boeckel wrote: We could also lift the restriction then. I'm fine with just dropping the patch. Basically without it, all it blocks is add_custom_{command,target} from using $TARGET_OBJECTS…which could be useful for some obscure linker target CMake

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-23 Thread Stephen Kelly
Ben Boeckel wrote: Hi, I have a branch on my Github fork to support object library linking: object-library-linking https://github.com/mathstuf/CMake/tree/object-library-linking Thanks for working on this. There is also a commit which updates usage of $TARGET_OBJECTS to not

Re: [CMake] Mixed linking

2015-02-21 Thread Stephen Kelly
Ray Donnelly wrote: 1) Am I right when I say CMake, Qt and static linking don’t mix ? They should mix fine. What I meant when I wrote this was 'they should mix fine, but some convenience is not available - you need to specify the correct link flags yourself'. That is, it's 'fine' in

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-567-gf819cf5

2015-02-21 Thread Stephen Kelly
;a=commitdiff;h=f819cf535653a2ff9aad630ce4b767421627c42e commit f819cf535653a2ff9aad630ce4b767421627c42e Merge: 9462da3 c021f59 Author: Stephen Kelly steve...@gmail.com AuthorDate: Sat Feb 21 05:31:14 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sat Feb 21 05:31:14

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2015-02-21 Thread Stephen Kelly
René Tschirley wrote: Simplified the problem and verified if the set_directory_properties trick works. It does not work for me. Used software: Windows7 SP1, CMake 3.1.2, Ninja 1.5.3. Am I forgetting something obvious? Is this an unfixed CMake bug? Yes, it is:

Re: [CMake] add_dependencies: Disallow use with INTERFACE_LIBRARY. WHY?!?

2015-02-21 Thread Stephen Kelly
Andrey Pokrovskiy wrote: Hi, Current CMake disallows Interface Libraries to have dependencies. I filed http://public.kitware.com/Bug/view.php?id=15414 Thanks, Steve. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] Minor documentation mistake

2015-02-21 Thread Stephen Kelly
Cutberto Escamilla wrote: Hello, I tried searching the different archives, but there is no mention about this. Was wondering if I should submit a bug. Thanks for the note. I've pushed a fix here: http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f93438cd Fix typo, graphiz -

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-561-g9462da3

2015-02-21 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9462da361295122182406dbddfb5107694ab759a commit 9462da361295122182406dbddfb5107694ab759a Merge: 051a565 f93438c Author: Stephen Kelly steve...@gmail.com AuthorDate: Sat Feb 21 04:28:50 2015 -0500 Commit: CMake Topic Stage

Re: [CMake] Lower the barrier of entry to the wiki

2015-02-21 Thread Stephen Kelly
Gonzalo BG wrote: This is what happened: - For making an account I had to fill up a 50 words bio . Years ago this prevented me from creating a wiki account. I put 'this page intentionally left blank' in this field because I thought I shouldn't have to fill a bio to edit a wiki (like you

Re: [CMake] Mixed linking

2015-02-21 Thread Stephen Kelly
Ghyslain Leclerc wrote: Thanks for all the insight. I have been looking at this and quite a few posts (mostly from you !) to try and understand. I think I get most of it. That being said, I finally got a static executable for my application on my mac. What I did is build my application

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-541-gfc716a5

2015-02-20 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fc716a5e14862935267dc71d70956a44a6954e1a commit fc716a5e14862935267dc71d70956a44a6954e1a Merge: 61f41f3 deb1a0f Author: Stephen Kelly steve...@gmail.com AuthorDate: Fri Feb 20 15:24:02 2015 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-543-g5195e57

2015-02-20 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5195e57aaa313fe3d9f14143a6f212cdaea81ccd commit 5195e57aaa313fe3d9f14143a6f212cdaea81ccd Merge: fc716a5 0d9da55 Author: Stephen Kelly steve...@gmail.com AuthorDate: Fri Feb 20 15:29:23 2015 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-559-g051a565

2015-02-20 Thread Stephen Kelly
/gitweb?p=cmake.git;a=commitdiff;h=051a565a7adf3c5a7e0dc02306a0f5368a74e212 commit 051a565a7adf3c5a7e0dc02306a0f5368a74e212 Merge: 5195e57 bb9d71b Author: Stephen Kelly steve...@gmail.com AuthorDate: Fri Feb 20 15:39:42 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Fri

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-539-g61f41f3

2015-02-20 Thread Stephen Kelly
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=61f41f354b513b64040401a201fdeb834b38aa6e commit 61f41f354b513b64040401a201fdeb834b38aa6e Merge: e69434f 3764e44 Author: Stephen Kelly steve...@gmail.com AuthorDate: Fri Feb 20 14:53:24 2015 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-464-g3b31afe

2015-02-18 Thread Stephen Kelly
3b31afe292561dbc67b42c855c2921a6b24284f5 Merge: 6cd2d27 f9bcc78 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Feb 18 18:59:42 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Feb 18 18:59:42 2015 -0500 Merge topic 'use-algorithms' into next f9bcc78f Replace loops

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-445-g6cd2d27

2015-02-18 Thread Stephen Kelly
=6cd2d2711b401c157d5c63d647a065bc97cca174 commit 6cd2d2711b401c157d5c63d647a065bc97cca174 Merge: 08a867e fa518fe Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Feb 18 18:59:04 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Feb 18 18:59:04 2015 -0500 Merge topic 'use-algorithms' into next

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-435-g08a867e

2015-02-18 Thread Stephen Kelly
=08a867e5cdb2832180539d57f2ec28e4b0a4faba commit 08a867e5cdb2832180539d57f2ec28e4b0a4faba Merge: 5176fba 3010915 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Feb 18 18:24:40 2015 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Feb 18 18:24:40 2015 -0500 Merge topic 'use-algorithms

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