Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-24 Thread Stephen Kelly
On 24/08/18 02:32, David Blaikie wrote: On Tue, Jul 24, 2018 at 3:20 PM Stephen Kelly <mailto:steve...@gmail.com>> wrote: David Blaikie wrote: > (just CC'ing you Richard in case you want to read my ramblings/spot any > inaccuracies, etc) > > Excu

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-06 Thread Stephen Kelly
Stephen Kelly wrote: >> The build.sh script shows the commands required to build it (though I >> haven't checked the exact fmodule-file dependencies to check that they're >> all necessary, etc) - and with current Clang top-of-tree it does build >> and run the example dinn

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-07-24 Thread Stephen Kelly
David Blaikie wrote: > (just CC'ing you Richard in case you want to read my ramblings/spot any > inaccuracies, etc) > > Excuse the delay - coming back to this a bit now. Though the varying > opinions on what modules will take to integrate with build system still > weighs on me a bit Can you

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-15 Thread Stephen Kelly
David Blaikie wrote: >> Nope, scratch that ^ I had thought that was the case, but talking more >> with Richard Smith it seems there's an expectation that modules will be >> somewhere between header and library granularity (obviously some small >> libraries today have one or only a few headers,

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-15 Thread Stephen Kelly
Brad King wrote: > On 05/07/2018 12:01 PM, Stephen Kelly wrote: >> Hopefully Brad or someone else can provide other input from research >> already done. > > I'm not particularly familiar with what compiler writers or the modules > standard specification expects build sys

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-07 Thread Stephen Kelly
I think this discussion is more suited to the cmake-developers mailing list. Moving there. Hopefully Brad or someone else can provide other input from research already done. On 05/07/2018 12:49 AM, David Blaikie wrote: > >> The basic commands required are: >> >>   clang++ -fmodules -xc++

Re: [CMake] Experiments in CMake support for Clang (header & standard) modules

2018-04-30 Thread Stephen Kelly
On 04/30/2018 11:30 PM, Stephen Kelly wrote: > Interestingly, GCC is taking a directory-centric approach in the > driver (-fmodule-path=) as opposed to the 'add a file to your > compile line for each import' that Clang and MSVC are taking: > >  http://gcc.gnu.org/wiki/cxx-modules &

[CMake] Experiments in CMake support for Clang (header & standard) modules

2018-04-30 Thread Stephen Kelly
On 04/20/2018 01:39 AM, David Blaikie wrote: > Hi there, > > I'm experimenting with creating examples (& potential changes to CMake > itself, if needed/useful) of building clang modules (currently using > the semi-backwards compatible "header modules", with the intent of > also/moving towards

[cmake-developers] Embracing Modern CMake Video and Slides

2017-11-05 Thread Stephen Kelly
Hi, I know I'm not active here at the moment, but I thought this post might be interesting for some here: https://steveire.wordpress.com/2017/11/05/embracing-modern-cmake/ Thanks, Steve. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] C++ standard version fallbacks.

2017-06-05 Thread Stephen Kelly
Craig Scott wrote: > On Tue, Jun 6, 2017 at 7:50 AM, Stephen Kelly > <steve...@gmail.com> wrote: > >> Roger Leigh wrote: >> >> > Hi folks, >> > >> > I'm currently using this logic to use C++14 with a fallback to C++11 >> > wh

Re: [CMake] C++ standard version fallbacks.

2017-06-05 Thread Stephen Kelly
Roger Leigh wrote: > Hi folks, > > I'm currently using this logic to use C++14 with a fallback to C++11 > when C++14 is unavailable: > >if(NOT CMAKE_CXX_STANDARD) > set(CMAKE_CXX_STANDARD 14) >endif() >if(NOT CMAKE_CXX_STANDARD_REQUIRED) > set(CMAKE_CXX_STANDARD_REQUIRED

Re: [cmake-developers] Question about ALIAS targets

2017-06-05 Thread Stephen Kelly
David Cole via cmake-developers wrote: > Is there a good reason why this error must be an error? > > CMake Error at CMakeLists.txt:23 (add_library): > add_library cannot create ALIAS target "MyProj::gtest" because > target "OtherProj::googletest" is IMPORTED. > > The line of

Re: [CMake] Absolute path printing of CMakeLists.txt files in title of CMake error messages.

2017-02-12 Thread Stephen Kelly
vbspam wrote: > *What is the real driver behind?* > > - I use KDevelop as my Linux IDE which has as you may know pretty nice > CMake integration. I believe KDevelop is getting support for the cmake server, so exposing messages through that would probably solve this aspect. Specifically, there

Re: [cmake-developers] [Discussion] Add python support for CMakeLists

2017-01-16 Thread Stephen Kelly
Florent Castelli wrote: > Well, CMake scripts can be written in a somewhat declarative form now. > What prevents this now is that a lot of people use indirections > everywhere. For example: add_library(foo STATIC ${SRCS}) If it was a plain > list, any decent IDE would be able to parse this and

Re: [cmake-developers] COMPILE_FEATURES, Mac and non-Apple clang versions

2017-01-05 Thread Stephen Kelly
Craig Scott wrote: >> if you use add_subdirectory with top-level projects which don't >> explicitly do something like that, you're getting undefined , and >> generally unexpected behavior in many ways. > > This seems at odds with the CMake documentation for > cmake_minimum_required(). That

Re: [cmake-developers] COMPILE_FEATURES, Mac and non-Apple clang versions

2017-01-03 Thread Stephen Kelly
René J.V. Bertin wrote: > On Tuesday January 03 2017 11:41:29 Robert Maynard wrote: > >> It is the responsibility of the project to understand what components >> of CMake they require, and correctly specify a cmake_minimum required >> that satisfies all those requirements. In this case to use

Re: [cmake-developers] COMPILE_FEATURES, Mac and non-Apple clang versions

2017-01-03 Thread Stephen Kelly
René J.V. Bertin wrote: > The > issue was a project that requested an earlier CMake version > (2.8.something) further down. There should be no 'further down'. There should be exactly one use of cmake_minimum_required per buildsystem. If you are hitting this issue because you are cloning

Re: [CMake] OBJECT libraries and INTERFACE_SOURCES

2016-12-08 Thread Stephen Kelly
Giovanni Funchal wrote: > Hi, > > The help page [1] mentions that: > >> Although object libraries may not be named directly in calls to the >> target_link_libraries() command, they can be “linked” indirectly by >> using an Interface Library whose INTERFACE_SOURCES target property >> is set to

Re: [cmake-developers] cm(Generator)Target::IsFrameworkOnApple

2016-11-17 Thread Stephen Kelly
Gregor Jasny via cmake-developers wrote: > Hello, > > it looks like that during Generator Target refactoring the > cm(Generator)Target::IsFrameworkOnApple and similar got duplicated. Is > there a reason for this or could the GeneratorTarget simply query the > Target? Hi Gregor, The intention

Re: [cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-06 Thread Stephen Kelly
Brad King wrote: > On 11/04/2016 09:52 AM, maikel van den Hurk wrote: >> What about doing what was targeted with this bug: >> https://cmake.org/Bug/view.php?id=12435? > > That issue is now tracked here: > > https://gitlab.kitware.com/cmake/cmake/issues/12435 > > I've just added some notes to

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-644-g50eb6cf

2016-10-19 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=50eb6cf42322dafb0b9f53ac02f956e69a4be188 commit 50eb6cf42322dafb0b9f53ac02f956e69a4be188 Merge: db659b6 bd4f7bd Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Wed Oct 19 09:40:45 2016 -0400 Commit:

Re: [CMake] Editing IMPORTED targets

2016-10-16 Thread Stephen Kelly
Ivan Shapovalov wrote: > On 2016-10-03 at 14:43 +0200, Stephen Kelly wrote: >> Ivan Shapovalov wrote: >> >> > Hello! >> > >> > Using find modules to detect dependencies has a nice feature: it is >> > then possible to edit the resulting cac

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-539-g0e69f51

2016-10-16 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0e69f517951fefc4f4917d3101259c8a7a7fbc66 commit 0e69f517951fefc4f4917d3101259c8a7a7fbc66 Merge: d1f0e30 75ace0a Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sun Oct 16 07:54:59 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-537-gd1f0e30

2016-10-16 Thread Stephen Kelly
: 0fde927b d94460c Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sun Oct 16 06:09:54 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sun Oct 16 06:09:54 2016 -0400 Merge topic 'extract-computed-target-properties' into next d94460

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-533-g0fde927b

2016-10-16 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0fde927b36aa8972da15fefa3e0f01ee22c6bcef commit 0fde927b36aa8972da15fefa3e0f01ee22c6bcef Merge: 2c0f3a3 d1e7a46 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sun Oct 16 06:09:30 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-531-g2c0f3a3

2016-10-15 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2c0f3a34e5bd163b5194da61c9d1c0d89dc4f68d commit 2c0f3a34e5bd163b5194da61c9d1c0d89dc4f68d Merge: 590f2a3 b59b6dd Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-514-g590f2a3

2016-10-15 Thread Stephen Kelly
mmitdiff;h=590f2a365ed4ee2cc3a7fd93f55b2ab869fc3004 commit 590f2a365ed4ee2cc3a7fd93f55b2ab869fc3004 Merge: 749587d a5dfe23 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 15 05:14:52 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sat Oct 15 05:14:52 2016

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-394-g67c528c

2016-10-10 Thread Stephen Kelly
mmitdiff;h=67c528c03d2c598e4922f932c5598d5da91bc408 commit 67c528c03d2c598e4922f932c5598d5da91bc408 Merge: 17bef2c 6f0cee1 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Oct 10 18:44:22 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Mon Oct 10 18:44:22 2016 -0400

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-384-g17bef2c

2016-10-10 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=17bef2cd6780731f77be1383f74ddb5d9c44bffc commit 17bef2cd6780731f77be1383f74ddb5d9c44bffc Merge: 885c6f5 9dcfa5f Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Oct 10 18:05:12 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-382-g885c6f5

2016-10-10 Thread Stephen Kelly
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=885c6f5f348a45174cf5e3a799dc8c0f13c37e67 commit 885c6f5f348a45174cf5e3a799dc8c0f13c37e67 Merge: e5c68d0 ca40503 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Oct 10 17:23:44 2016 -0400 Commit: CMake Topic Stage <

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-360-gf62d2c8

2016-10-10 Thread Stephen Kelly
ail; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f62d2c869f7ebbb418bde71bff2ecbfc7a3993b2 commit f62d2c869f7ebbb418bde71bff2ecbfc7a3993b2 Merge: dd75faf 4134030 Author: Ste

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-304-gc238285

2016-10-09 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c2382855e6a9706c9f71beb1f57bfafc75587f65 commit c2382855e6a9706c9f71beb1f57bfafc75587f65 Merge: 6b05e33 7f13f7a Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sun Oct 9 07:14:44 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-302-g6b05e33

2016-10-09 Thread Stephen Kelly
mmitdiff;h=6b05e33c95b2bb392f6c6602da4677747613e35d commit 6b05e33c95b2bb392f6c6602da4677747613e35d Merge: 2f5c30a 5de7601 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sun Oct 9 04:49:00 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sun Oct 9 04:49:00 2016 -0400 Merge

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-292-g2f5c30a

2016-10-08 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2f5c30a55bdabcf606b26abb89395608170f9ae2 commit 2f5c30a55bdabcf606b26abb89395608170f9ae2 Merge: 9ba2a76 65ca5df Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 8 19:09:55 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-290-g9ba2a76

2016-10-08 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9ba2a76c8636156de00496f62a4d9d2be85b1b56 commit 9ba2a76c8636156de00496f62a4d9d2be85b1b56 Merge: 0428c72 8d9daad Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 8 17:25:56 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-288-g0428c72

2016-10-08 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0428c729ec5203a1887bbb078940a4fc0ad20be0 commit 0428c729ec5203a1887bbb078940a4fc0ad20be0 Merge: 742fcc2 ae6ee87 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 8 16:28:51 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-286-g742fcc2

2016-10-08 Thread Stephen Kelly
fe9 commit 742fcc25999fa30d348dc6df35cd07ecbdcb6fe9 Merge: 1991df2 b57b787 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 8 16:00:36 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sat Oct 8 16:00:36 2016 -0400 Merge topic 'extract-cmLinkLineComputer' into

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-267-g1991df2

2016-10-08 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1991df2f67e587f01de2836f09015fc1983d1a45 commit 1991df2f67e587f01de2836f09015fc1983d1a45 Merge: e0f4282 cc5e6b8 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 8 05:36:14 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-265-ge0f4282

2016-10-08 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e0f428248c51aacfc2b9e53cca5b88aa15042013 commit e0f428248c51aacfc2b9e53cca5b88aa15042013 Merge: e8ce847 cfcf110 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Oct 8 05:35:45 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-260-g1035d0e

2016-10-07 Thread Stephen Kelly
e: d808f0f a1cfc4f Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Fri Oct 7 16:08:36 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Fri Oct 7 16:08:36 2016 -0400 Merge topic 'clean-up-link-configuration' into next a1cfc4fe cmMakefil

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-256-gd808f0f

2016-10-07 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d808f0fdad129f19f1607aa5585a5642fcecf01a commit d808f0fdad129f19f1607aa5585a5642fcecf01a Merge: 61e6945 f17210a Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Fri Oct 7 16:06:06 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-254-g61e6945

2016-10-07 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=61e69451ace821aaa94a9ba2b2f4e15140222736 commit 61e69451ace821aaa94a9ba2b2f4e15140222736 Merge: da3c79a f4458e9 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Fri Oct 7 16:05:06 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-252-gda3c79a

2016-10-07 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=da3c79a376774a27792e349381ea727bc91e1eef commit da3c79a376774a27792e349381ea727bc91e1eef Merge: 9f667ee d8633d3 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Fri Oct 7 16:04:44 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-250-g9f667ee

2016-10-07 Thread Stephen Kelly
9e1 commit 9f667ee9f52f436a3d43121d43c8efe4e05709e1 Merge: befbf7a 87bde93 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Fri Oct 7 15:49:21 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Fri Oct 7 15:49:21 2016 -0400 Merge topic 'clean-up-link-co

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-226-gbefbf7a

2016-10-07 Thread Stephen Kelly
731a Merge: 4b64d26 cb56b77 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Fri Oct 7 15:48:13 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Fri Oct 7 15:48:13 2016 -0400 Merge topic 'ninja-cleanups' into next cb56b773 Ninja: Extract a

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-164-gaf6f300

2016-10-06 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=af6f3004dcf83123b3d12cf7446edb51bbec1b14 commit af6f3004dcf83123b3d12cf7446edb51bbec1b14 Merge: ab65a1e 2c7bc60 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Oct 6 16:44:59 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-162-gab65a1e

2016-10-06 Thread Stephen Kelly
e: f90c7ba d96271d Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Oct 6 16:35:44 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Thu Oct 6 16:35:44 2016 -0400 Merge topic 'CMP0065-LINK_FLAGS' into next d96271d9 CMP0065: Put computed

Re: [cmake-developers] CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS and CMP0065

2016-10-06 Thread Stephen Kelly
Brad King wrote: out of place in cmLocalGenerator. If it were returned from cli.GetItems, >>> >>> Yes, it could be moved. >> >> Ok. I might look into that. > > It looks like OutputLinkLibraries currently puts the flag in the > linkLibs (which goes to the placeholder) but it > would

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-155-gc8a4533

2016-10-06 Thread Stephen Kelly
list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c8a45332313cac5acc6661f8bcf4993d1fb81b49 commit c8a45332313cac5acc6661f8bcf4993d1fb81b49 Merge: 78a3604 20e62f7 Author: Stephen Ke

Re: [cmake-developers] CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS and CMP0065

2016-10-06 Thread Stephen Kelly
Brad King wrote: > The variable name refers to flags needed when linking an executable *to* > shared libraries. It is a terrible name that has been around since the > earliest days. One could rename the variable in our own platform files > but would have to also honor the old name just in case.

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-142-g78a3604

2016-10-06 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=78a3604d252b6f42d192807b9bac84f46e6ec76f commit 78a3604d252b6f42d192807b9bac84f46e6ec76f Merge: 0d83b54 d971850 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Oct 6 14:01:44 2016 -0400 Commit: C

[cmake-developers] CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS and CMP0065

2016-10-06 Thread Stephen Kelly
Hi, I have encountered the implementation of CMP0065. As far as I can see, this is the only use of CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS, and it is not used for shared libraries, but for executables. Finding uses of variables like that is hard because they could be composed like "CMAKE_"

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-131-g23d732f

2016-10-06 Thread Stephen Kelly
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23d732fa83e7e0ae07aad810e1867238900a51f0 commit 23d732fa83e7e0ae07aad810e1867238900a51f0 Merge: eea5dba 8f612e2 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Oct 6 12:45:43 2016 -0400 Commit: CMake Topic Stage <

Re: [cmake-developers] Generator options per-directory v. global

2016-10-06 Thread Stephen Kelly
Brad King wrote: > On 10/05/2016 06:38 PM, Stephen Kelly wrote: >> The suggestion to use the first cmMakefile for these kinds of definitions >> is a good one >> >> 1) It can be documented that the variable can only be set in the top >> level 2) It is wha

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-115-geea5dba

2016-10-06 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eea5dbab2e1db3b265035346d52a2b2c6df53a5c commit eea5dbab2e1db3b265035346d52a2b2c6df53a5c Merge: f38d2ed f5c9da0 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Oct 6 12:43:32 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-113-gf38d2ed

2016-10-06 Thread Stephen Kelly
ns in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f38d2ed7d391c788baec7e215ee0c1b1d95982d1 commit f38d2ed7d391c788baec7e215ee0c1b1d95982d1 Merge: 6a0843d c8c24d8d Author: Stephen Kelly <steve

Re: [cmake-developers] Generator options per-directory v. global

2016-10-05 Thread Stephen Kelly
Craig Scott wrote: > I'm coming in half way to this discussion, so apologies if my comments > interspersed below are not so well related to the core topic of > discussion. Hi Craig, Thanks for your input. > Consider the following example which perhaps better shows that this > problem may not

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-67-g280cf7a

2016-10-04 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=280cf7aa4e2cad24440039f4b7105c5096caf437 commit 280cf7aa4e2cad24440039f4b7105c5096caf437 Merge: fae02d5 62e8387 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Tue Oct 4 18:00:00 2016 -0400 Commit: C

Re: [cmake-developers] [ANNOUNCE] CMake 3.7.0-rc1 now ready for testing!

2016-10-04 Thread Stephen Kelly
Robert Maynard wrote: > * The "CodeLite" generator gained a new "CMAKE_CODELITE_USE_TARGETS" > option to change project creation from projects to targets. Something that I have often noticed (and which causes problems) in my refactoring is that per-directory variable definitions are used when

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-65-gfae02d5

2016-10-04 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fae02d5e5126fba375e26ec66f216a1d16f29413 commit fae02d5e5126fba375e26ec66f216a1d16f29413 Merge: 74adf4e 866e4d5 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Tue Oct 4 17:10:02 2016 -0400 Commit: C

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc1-63-g74adf4e

2016-10-04 Thread Stephen Kelly
7f0 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Tue Oct 4 16:57:34 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Tue Oct 4 16:57:34 2016 -0400 Merge topic 'extract-cmLinkLineComputer' into next dfa27f07 cmLinkLineComputer: Extract

Re: [CMake] Editing IMPORTED targets

2016-10-03 Thread Stephen Kelly
Ivan Shapovalov wrote: > Hello! > > Using find modules to detect dependencies has a nice feature: it is > then possible to edit the resulting cache entries to link to different > libraries (or add other libraries along the found ones, for whatever > purposes), or change directories, or flags, or

[Cmake-commits] CMake branch, next, updated. v3.6.2-2259-g828f247

2016-09-19 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=828f247c9bb36f6e378c773497b6ce0b333839b5 commit 828f247c9bb36f6e378c773497b6ce0b333839b5 Merge: 98220cb 3e3ebea Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Sep 19 16:05:19 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-2257-g98220cb

2016-09-19 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=98220cb3c9dc8a01db12ecfb224ffbd45052fc7b commit 98220cb3c9dc8a01db12ecfb224ffbd45052fc7b Merge: 27d1525 b5fa39c Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Sep 19 16:04:32 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-2253-g253d0ee

2016-09-19 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=253d0ee84d3b86d8594bd7b82ed60f5464150295 commit 253d0ee84d3b86d8594bd7b82ed60f5464150295 Merge: 7696577 bd17b5d Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Sep 19 15:48:57 2016 -0400 Commit: CMake Topic Stage <

[Cmake-commits] CMake branch, next, updated. v3.6.2-2175-g52d2520

2016-09-17 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=52d2520d39abeefe97ce69ff3029f487bf285d53 commit 52d2520d39abeefe97ce69ff3029f487bf285d53 Merge: e61400c 6afd35b Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Sep 17 13:49:50 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-2173-ge61400c

2016-09-17 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e61400cafdfce42049cbd7c88cf56ddc4217b483 commit e61400cafdfce42049cbd7c88cf56ddc4217b483 Merge: 229c3f4 92d1466 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Sep 17 13:48:22 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-2168-g4e952da

2016-09-17 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4e952dabb663c8c65844d608d76f7bb7c691ab00 commit 4e952dabb663c8c65844d608d76f7bb7c691ab00 Merge: fe89762 d4f8956 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Sep 17 06:15:31 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-2166-gfe89762

2016-09-17 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fe8976265416da8333cd7497d8d41db177b23769 commit fe8976265416da8333cd7497d8d41db177b23769 Merge: cade5c7 18d4ce2 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Sep 17 04:55:12 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-2164-gcade5c7

2016-09-17 Thread Stephen Kelly
mmitdiff;h=cade5c78ff25278826bc1690084230a04994a6e6 commit cade5c78ff25278826bc1690084230a04994a6e6 Merge: a1d30dc 5683e63 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Sep 17 04:50:52 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sat Sep

Re: [cmake-developers] CMake version to build CMake

2016-09-08 Thread Stephen Kelly
Brad King wrote: > On 09/07/2016 06:44 PM, Stephen Kelly wrote: >> ALIAS targets were introduced in CMake 2.8.12 (released August 2013). >> >> What do you think of updating the requirement to that or higher? > > Fine with me. It really only matters on pla

[cmake-developers] CMake version to build CMake

2016-09-07 Thread Stephen Kelly
Hi, Currently CMake requires a minimum of CMake 2.8.4 to build. I was reviewing the cmake-server work from Tobias starting with the libuv integration, and I think CMake might benefit from using ALIAS targets in its own build. ALIAS targets were introduced in CMake 2.8.12 (released August

Re: [cmake-developers] Developer tasks - Refactoring

2016-09-07 Thread Stephen Kelly
Daniel Pfeifer wrote: > On Wed, Feb 10, 2016 at 12:12 AM, Stephen Kelly > <steve...@gmail.com> wrote: >> 3) Compute cmGeneratorTarget state non-lazily in its constructor. >> * Historically target state for generators was computed lazily because it >> might need

Re: [CMake] User-overriding IMPORTED targets (overlaying libraries, ...)

2016-09-01 Thread Stephen Kelly
Ivan Shapovalov wrote: > Of course, I can always edit the FooConfig.cmake file manually, but I'd > better avoid patching anything (installing new files or running any > cmake commands is OK). > > Is there any nice way to solve this? After find_package(Foo CONFIG) do set_property(TARGET

Re: [CMake] set_directory_properties ADDITIONAL_MAKE_CLEAN_FILES globbing pattern?

2016-09-01 Thread Stephen Kelly
Steve Lorimer wrote: > Is this just not possible? Indeed - this is not possible. Thanks, Steve. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community.

[Cmake-commits] CMake branch, next, updated. v3.6.1-1571-g0dd8dc6

2016-08-27 Thread Stephen Kelly
7d2a1641a9 commit 0dd8dc67bc08d52744d501bdbedd077d2a1641a9 Merge: 32389a1 9cc5a4d Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:41:31 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sat Aug 27 09:41:31 2016 -0400 Merge topic 'clea

[Cmake-commits] CMake branch, next, updated. v3.6.1-1566-g32389a1

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=32389a10550df33224522978f5b9d6794c628d55 commit 32389a10550df33224522978f5b9d6794c628d55 Merge: 799348a 9040d96 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:41:09 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1564-g799348a

2016-08-27 Thread Stephen Kelly
e3a commit 799348a2d38e6237561168184fcab801262ffe3a Merge: e0cb867 0bfbf20 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:28:12 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sat Aug 27 09:28:12 2016 -0400 Merge topic 'cleanup-Convert' into next

[Cmake-commits] CMake branch, next, updated. v3.6.1-1545-ge0cb867

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e0cb8675975b1ca4d3576c1f0847ff9a6bad1b1e commit e0cb8675975b1ca4d3576c1f0847ff9a6bad1b1e Merge: 11a80af 638f907 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:17:11 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1543-g11a80af

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=11a80af5b291997c173df0451fddfa3aaa4f4752 commit 11a80af5b291997c173df0451fddfa3aaa4f4752 Merge: a0d49a9 62f19fc Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:16:39 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1541-ga0d49a9

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a0d49a9213400b3bbb9f2505d09e47c3680a4680 commit a0d49a9213400b3bbb9f2505d09e47c3680a4680 Merge: 4812110 8bdd65e Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:14:41 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1539-g4812110

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4812110823f42f84573a23c87459afa91349995f commit 4812110823f42f84573a23c87459afa91349995f Merge: 978941f dc0edf2 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:14:16 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1537-g978941f

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=978941f83ab3e4bd80ac52100a13c68a85bb8ce0 commit 978941f83ab3e4bd80ac52100a13c68a85bb8ce0 Merge: 677090f 99483b9 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 09:13:44 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1535-g677090f

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=677090f0749b78f9cc44e33c7a77c6eda977be0f commit 677090f0749b78f9cc44e33c7a77c6eda977be0f Merge: 2b114c4 ad4b7e0 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 08:47:44 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1533-g2b114c4

2016-08-27 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2b114c41b54c4d14745b2b98c57ccc7c92111f7e commit 2b114c41b54c4d14745b2b98c57ccc7c92111f7e Merge: 738e3e9 1fc076d Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 08:46:13 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1531-g738e3e9

2016-08-27 Thread Stephen Kelly
2af commit 738e3e9d9af191e7f118e182bb3ba3690430e2af Merge: 61cdf5d 6ad1537 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Sat Aug 27 07:45:30 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Sat Aug 27 07:45:30 2016 -0400 Merge topic 'clea

[Cmake-commits] CMake branch, next, updated. v3.6.1-1417-gd644883

2016-08-24 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d64488359696c8ad9519daff699ac9f1d93b2b4f commit d64488359696c8ad9519daff699ac9f1d93b2b4f Merge: a035078 d0c8e91 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Wed Aug 24 16:11:17 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1411-g873ec69

2016-08-24 Thread Stephen Kelly
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=873ec699047784aa9072e8fb471aa597e573d084 commit 873ec699047784aa9072e8fb471aa597e573d084 Merge: 075c74e 1c66f23 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Wed Aug 24 15:20:09 2016 -0400 C

[Cmake-commits] CMake branch, next, updated. v3.6.1-1313-g41b3c6b

2016-08-22 Thread Stephen Kelly
ns in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=41b3c6b77a37839c5bbf93c2f4b2a19de55ab19b commit 41b3c6b77a37839c5bbf93c2f4b2a19de55ab19b Merge: cdf7e58 d10f2d8 Author: Stephen Kelly <steve

Re: [cmake-developers] cmake -E capabilities [attempt 2]

2016-08-02 Thread Stephen Kelly
Tobias Hunger wrote: > Hi Stephen, > > thanks for taking the time to do such a thorough review! Actually my review wasn't thorough at all. I didn't try to review it further. The NewFactory methods in your patch don't return a new'd object, but instead return static locals. The regular

Re: [cmake-developers] cmake -E capabilities [attempt 2]

2016-07-26 Thread Stephen Kelly
Tobias Hunger wrote: > Did anyone find some time for a review yet? Hi Tobias, I had a look through this this evening. Thanks for working on this. The commit adding the functionality at the end looks much better after the extra generator refactoring. Here are some review notes: * That

Re: [cmake-developers] Autogen subdirectories patches

2016-07-26 Thread Stephen Kelly
Sebastian Holtermann wrote: >> It might be better to just use a NULL sentinel at the end of the array. >> If not, the extra spaces here should go away. > > I have changed that to use a NULL sentinel. > std::array would be the best solution IMO but it is not allowed, is it? You could use

Re: [CMake] Automatic inclusion of import targets found by find_package()?

2016-07-10 Thread Stephen Kelly
Robert Dailey wrote: > Is there more automation here that I'm not seeing? Thanks in advance. Yes, the documentation tells you to include what you need in the config file: https://cmake.org/cmake/help/v3.6/manual/cmake-packages.7.html#creating-a-package-configuration-file Thanks, Steve.

Re: [cmake-developers] cmake -E capabilities

2016-07-04 Thread Stephen Kelly
Tobias Hunger wrote: > On So, 2016-07-03 at 12:33 +0200, Stephen Kelly wrote: >> Tobias Hunger wrote: >> >> > Either we should have multiConfig return a list of configuration names >> > that will be generated or I do not see any need to have the information

Re: [cmake-developers] cmake -E capabilities

2016-07-03 Thread Stephen Kelly
Tobias Hunger wrote: > Hello CMake Developers! > > As laid out in the last mail thread about daemon-mode in CMake (for your > reference: > http://public.kitware.com/pipermail/cmake-developers/2016-June/028777 > .html ), Stephen and me agreed that we needed a way for IDEs to figure out > which

Re: [cmake-developers] cmake -E capabilities

2016-07-03 Thread Stephen Kelly
Tobias Hunger wrote: > Either we should have multiConfig return a list of configuration names > that will be generated or I do not see any need to have the information in > the first place. I think when using qmake with QtCreator, the user can choose the configuration at build time by selecting

Re: [cmake-developers] cmake -E capabilities

2016-07-03 Thread Stephen Kelly
Brad King wrote: > On 07/01/2016 05:11 AM, Tobias Hunger wrote: >>> For "multiconfig", there is the cmGlobalGenerator::IsMultiConfig method. >> I do not see why this information is need to set up a cmake project. I >> need two directories and a generator. Do I need to know what the >> generator

Re: [cmake-developers] daemon-mode meeting last Tuesday

2016-06-28 Thread Stephen Kelly
Tobias Hunger wrote: > Hello CMake Developers, > > Stephen Kelly and me met last Tuesday to talk about the daemon-mode patch > we both have been working on. It was a very productive meeting: We managed > to resolve almost all the differences of opinion we had. Thanks Tobias

Re: [cmake-developers] CMake 32 and 64 bit packages on Windows

2016-06-22 Thread Stephen Kelly
Brad King wrote: > I logged out and logged back in and > then everything gets the proper PATH. > > Then I un-installed again and had to logout/login again to get the > PATH updated for programs launched through shortcuts. Hmm, I didn't do any logging out or in. Maybe that was the cause.

Re: [cmake-developers] How to set startup project in Visual Studio

2016-06-20 Thread Stephen Kelly
J Decker wrote: > The setting is in a different file that's .vcproj.user (or .user.vcproj) And there is not one of these for each project() command? It seems to me that this should either be a GLOBAL property, or the documentation which directory to set the DIRECTORY property on. I have no

  1   2   3   4   5   6   7   8   9   10   >