Re: [CMake] Bug in SLN generation

2015-01-06 Thread Scott Aron Bloom
The other problem with the script technique, is most of my devs use cmake inside visual Studio.. --Scott Original message From: David Cole Date:01/06/2015 07:35 (GMT-08:00) To: Petr Kmoch Cc: Scott Aron Bloom , cmake@cmake.org Subject: Re: [CMake] Bug in SLN generation

Re: [CMake] Bug in SLN generation

2015-01-06 Thread Scott Aron Bloom
Bloom Cc: cmake@cmake.org Subject: Re: [CMake] Bug in SLN generation Hi Scott. To file a bug, use the Mantis tracker at http://public.kitware.com/Bug/ As for running custom processing post-generation, there is no way hook this, and a request for it was explicitly declined: http

Re: [CMake] Bug in SLN generation

2015-01-06 Thread David Cole via CMake
No, with the wrapper script technique, you'd have to train all your developers to run the wrapper script whenever any "CMake stuff" changes... On Tue, Jan 6, 2015 at 8:39 AM, Petr Kmoch wrote: > On Tue, Jan 6, 2015 at 2:29 PM, David Cole wrote: >> >> Two ways to do this occur to me: >> >> (1) w

Re: [CMake] Bug in SLN generation

2015-01-06 Thread Petr Kmoch
On Tue, Jan 6, 2015 at 2:29 PM, David Cole wrote: > Two ways to do this occur to me: > > (1) wrap cmake with a two-line script that your project developers use: > @call cmake -G "Visual Studio 12 2013" > @call post-cmake.cmd > Would this work with re-runs triggered by CMake itself (e.g.

Re: [CMake] Bug in SLN generation

2015-01-06 Thread David Cole via CMake
Two ways to do this occur to me: (1) wrap cmake with a two-line script that your project developers use: @call cmake -G "Visual Studio 12 2013" @call post-cmake.cmd (2) do a file(WRITE ...) unconditionally somewhere in your CMakeLists.txt file, and then introduce a custom command that dep

Re: [CMake] Bug in SLN generation

2015-01-05 Thread Petr Kmoch
Hi Scott. To file a bug, use the Mantis tracker at http://public.kitware.com/Bug/ As for running custom processing post-generation, there is no way hook this, and a request for it was explicitly declined: http://public.kitware.com/Bug/view.php?id=13020 Petr On Mon, Jan 5, 2015 at 8:53 PM, Scott

[CMake] Bug in SLN generation

2015-01-05 Thread Scott Aron Bloom
I have found a bug in SLN generation when the property USE_FOLDERS is set to on. The order of the folders, and vcprojects added to the folders is not sorted. It is sorted correctly if USE_FOLDERS is not set. I have two questions, first, what is the appropriate mechanism for filing a bug? I w