Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Stephen Kelly
Brad King wrote: > On 09/22/2015 09:58 AM, Robert Goulet wrote: >> Patch attached for adding makefile to install generators. >> This refactoring is required for install(FILES) genex support, >> and most likely other install() signatures in the future. > > Thanks. I applied that and merged to

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Brad King
On 09/22/2015 09:58 AM, Robert Goulet wrote: > Patch attached for adding makefile to install generators. > This refactoring is required for install(FILES) genex support, > and most likely other install() signatures in the future. Thanks. I applied that and merged to 'next' for testing:

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
Thanks, once this is accepted in master I will send you my updated install(FILES) with genex support. I removed the GetDestination() signature since I agree it's not needed and might be confusing. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday,

Re: [cmake-developers] Regression caused by compute-default-dialect topic

2015-09-22 Thread Stephen Kelly
Brad King wrote: > On 09/16/2015 03:14 PM, Brad King wrote: >> That eliminates my concern. > > This is now in 'master' as: > > Project: Determine default language dialect for the compiler. > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7235334a > > However, I just discovered that it

Re: [cmake-developers] CMakeForceCompiler (was: Regression caused by compute-default-dialect topic)

2015-09-22 Thread Brad King
On 09/22/2015 04:29 PM, Stephen Kelly wrote: > I've pushed fix-forced-toolchain-dialect to fix this. It uses an existing > mechanism already in use to determine whether the compiler was forced. Looks good, thanks. > Is there any legitimate need to force the compiler? The CMakeForceCompiler

[cmake-developers] Help with diagnosing dashboard failure

2015-09-22 Thread Stephen Kelly
Hi, A few days ago I merged a commit which moves the construction of cmLocalGenerator objects. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a3aa333d It fails on the RunCMake.try_compile test on several dashboards in the CMP0056 test at the end where the policy is set to NEW. I

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Brad King
On 09/22/2015 04:35 PM, Robert Goulet wrote: > Ok so that brings the question, how is 3.4 schedule looking? The feature freeze will be Oct 1 shortly after which post-3.4 development will open. Steve will then start his post-3.4 refactoring topic merges and then we can come back to this feature.

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Brad King
On 09/22/2015 04:00 PM, Stephen Kelly wrote: > This is going in the wrong direction. > (Merge topic 'generators-use-cmLocalGenerator', 2015-08-24) > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9135e370 [snip] > The patch from Robert should not undo that effort, so the branch > should be

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
Ok then perhaps the refactoring can wait but we'd still like to get install(FILES) destination genex support in 3.4 if possible, and genex evaluation requires the cmMakefile. How should we proceed then? -Original Message- From: cmake-developers

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
Yeah I guess it could look something like this (attachment). However I just realized that if I don't also get install(DIRECTORY) in 3.4 then this is not worth rushing it, since as you mention I would also need to write proper test cases. Just let me know when I can start looking at this again

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Stephen Kelly
Brad King wrote: > On 09/22/2015 04:00 PM, Stephen Kelly wrote: >> This is going in the wrong direction. >> (Merge topic 'generators-use-cmLocalGenerator', 2015-08-24) >> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9135e370 > [snip] >> The patch from Robert should not undo that effort,

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
Ok so that brings the question, how is 3.4 schedule looking? We really wanted to get install(FILES) destination genex in CMake 3.4 release version... this is a bit disappointing because we'll have to stick with our custom branch another round. Oh well. Thanks. -Original Message- From:

Re: [cmake-developers] [CMake] Visual Studio - Ninja Generator

2015-09-22 Thread Stephen Kelly
James Johnston wrote: >> > it would be useful to have Visual Studio available as an "Extra" CMake >> > generator. For example, specification of "Visual Studio 2015 - Ninja" >> >> This functionality sounds reasonable but the name of the extra/generator >> pair looks funny when spelled out that

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Stephen Kelly
Robert Goulet wrote: > Ok then perhaps the refactoring can wait but we'd still like to get > install(FILES) destination genex support in 3.4 if possible, and genex > evaluation requires the cmMakefile. How should we proceed then? cmLocalGenerator has a GetMakefile method (currently). Don't you

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Stephen Kelly
Robert Goulet wrote: > Yeah I guess it could look something like this (attachment). Yes, something like that (modulo the long line). > However I > just realized that if I don't also get install(DIRECTORY) in 3.4 then this > is not worth rushing it, since as you mention I would also need to

Re: [cmake-developers] [Patch] Adding Windows 10 support

2015-09-22 Thread Gilles Khouzam
Thanks for the feedback Brad, I have rebased the changes and I think that I have the proper default functionality properly implemented. I've extracted the WINDOWS_TARGET_PLATFORM_VERSION changes into a separate patch. WINDOWS_TARGET_PLATFORM_VERSION is a target property, for that will specify

Re: [cmake-developers] [CPackDeb] empty directories in packages

2015-09-22 Thread Domen Vrankar
> I was looking at this issue > http://public.kitware.com/Bug/view.php?id=13009 > > and apparently it is not possible to install empty directories (I just > tested). > > I believe that it should be possible to do that (even if there are better > ways like postinst). > What is your opinion? I

Re: [cmake-developers] [CPackDeb] empty directories in packages

2015-09-22 Thread Rolf Eike Beer
Domen Vrankar wrote: I was looking at this issue http://public.kitware.com/Bug/view.php?id=13009 and apparently it is not possible to install empty directories (I just tested). I believe that it should be possible to do that (even if there are better ways like postinst). What is your

Re: [cmake-developers] [CPackDeb] empty directories in packages

2015-09-22 Thread Domen Vrankar
> You left a commented out line in Source/CPack/cmCPackGenerator.cxx. Hm that should not be there. I'll delete it when I get to my PC. Thanks, Domen -- 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

[cmake-developers] Regression caused by compute-default-dialect topic

2015-09-22 Thread Brad King
On 09/16/2015 03:14 PM, Brad King wrote: > That eliminates my concern. This is now in 'master' as: Project: Determine default language dialect for the compiler. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7235334a However, I just discovered that it breaks use of toolchain files that

Re: [cmake-developers] Add command line options for deprecation message control

2015-09-22 Thread Brad King
On 09/21/2015 05:51 PM, Michael Scott wrote: > Yes the -Werr-dev, -Wno-err-dev, -Werr-deprectated and > -Wno-err-deprecated may be trickier than expected to get behaving as > intended. I'll try and get a better idea of the users of IssueMessage > and see if some ideas come to mind. Removing

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
> This and its related changes are also refactoring that should go in its own > commit. Ok let's begin with this. Patch attached for adding makefile to install generators. This refactoring is required for install(FILES) genex support, and most likely other install() signatures in the future.