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

Re: [CMake] Bug in SLN generation

2015-01-06 Thread Petr Kmoch
On Tue, Jan 6, 2015 at 2:29 PM, David Cole dlrd...@aol.com 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

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 petr.km...@gmail.com wrote: On Tue, Jan 6, 2015 at 2:29 PM, David Cole dlrd...@aol.com wrote: Two ways to do

Re: [CMake] Bug in SLN generation

2015-01-06 Thread Scott Aron Bloom
:00) To: Scott Aron Bloom scott.bl...@onshorecs.com 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

Re: [CMake] Bug in SLN generation

2015-01-06 Thread Scott Aron Bloom
, cmake@cmake.org Subject: Re: [CMake] Bug in SLN generation 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 petr.km...@gmail.com wrote: On Tue, Jan 6, 2015 at 2

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,

[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