Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-18 Thread Andreas Mohr
Hi,

On Fri, Feb 17, 2012 at 12:00:10PM -0500, cmake-requ...@cmake.org wrote:
 Date: Fri, 17 Feb 2012 11:48:28 -0500
 From: John Drescher dresche...@gmail.com
 Subject: Re: [CMake] Generating CMake scripts from Visual Studio
   solutions  projects?
 To: Eric Noulard eric.noul...@gmail.com
 Cc: CMake ML cmake@cmake.org
 Message-ID:
   CAEhu1-56yW9fE5Xm-Bng+Y=wv+ig30wbcdv9dcuz2hgrity...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
  Did you try the tool listed in the Wiki
  http://www.cmake.org/Wiki/CMake#Visual_Studio
 
 
 I would be interested in if you get any of these to work well with non
 trivial projects. When I last looked at some of these (probably 2+
 years ago so things may have changed) they did not work well with my
 complex visual studio projects.

2+ years? That could easily end up like a Yugo vs. Porsche surprise ;)


The original vcproj2cmake script was composed of 300 lines,
and now the project is to the tune of around 4000 lines.

I've been doing more intensive updates in recent times,
carrying out parser - generator stages separation
and trying to get VS10 .vcxproj support finished real soonish.

For the (rather elaborate) needs of my largish build tree,
current .vcproj live conversion support is very adequate,
however there are still several weak or potentially even completely missing
areas left
(not to mention that differing requirements due to cross-platform extension
can easily mean that the base dataset itself as found in VS project files
is somewhat insufficient from the get go -
which my extensible hooks and mappings are supposed to be taking care of).
There's also a fair share of dark corners on CMake side as well, though
(include_directories() etc.), thus it's obvious that certain areas
of build systems often are considered to be less important.


Due to still very high development activity (i.e., many new features and
corrections arriving), at least for new users I'd _currently_ recommend
starting by directly checking out the experimental_unverified branch;
some longer-time users might need more stability and could thus
keep subscribing to experimental, whereas master currently is (too?) old.

If someone would like to create CMakeLists with it or use .vcproj
in their build, then simply ponder making use of the converter
(and possibly let me know of any issues or ideas that might turn up).

Thanks,

Andreas Mohr
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-18 Thread John Drescher
 2+ years? That could easily end up like a Yugo vs. Porsche surprise ;)


 The original vcproj2cmake script was composed of 300 lines,
 and now the project is to the tune of around 4000 lines.


I have a lot of 5 to 15 year old MFC code(applications, dlls, static
libraries) that I would like to use this on. I could give it a test
sometime next week.

John
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-17 Thread Robert Dailey
Is there a tool to do this? All I'm looking for is something to generate a
first, basic pass of the script. Doesn't have to be pretty, I just want the
majority of the work to be automated. Preprocessor defines, compiler flags,
include directories, dependencies, all of this should be generated in the
CMake script for me, I can manage cleanup and reorganization from there.

-
Robert Dailey
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-17 Thread Eric Noulard
2012/2/17 Robert Dailey rcdai...@gmail.com:
 Is there a tool to do this? All I'm looking for is something to generate a
 first, basic pass of the script. Doesn't have to be pretty, I just want the
 majority of the work to be automated. Preprocessor defines, compiler flags,
 include directories, dependencies, all of this should be generated in the
 CMake script for me, I can manage cleanup and reorganization from there.

Did you try the tool listed in the Wiki
http://www.cmake.org/Wiki/CMake#Visual_Studio

I cannot recommend any since I'm not a Visual Studio user but you may start
from there...

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-17 Thread John Drescher
 Did you try the tool listed in the Wiki
 http://www.cmake.org/Wiki/CMake#Visual_Studio


I would be interested in if you get any of these to work well with non
trivial projects. When I last looked at some of these (probably 2+
years ago so things may have changed) they did not work well with my
complex visual studio projects.

John
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-17 Thread aaron . meadows
I would second that sentiment.  We had more luck with writing a script
to generate CMakeLists.txt file from our source tree and knowledge of
what we wanted plus hand tuning the primary CMakeLists.txt file.

Aaron Meadows


-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of John Drescher
Sent: Friday, February 17, 2012 10:48 AM
To: Eric Noulard
Cc: CMake ML
Subject: Re: [CMake] Generating CMake scripts from Visual Studio
solutions projects?

 Did you try the tool listed in the Wiki 
 http://www.cmake.org/Wiki/CMake#Visual_Studio


I would be interested in if you get any of these to work well with non
trivial projects. When I last looked at some of these (probably 2+ years
ago so things may have changed) they did not work well with my complex
visual studio projects.

John
--

Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

This email was sent to you by Thomson Reuters, the global news and information 
company. Any views expressed in this message are those of the individual 
sender, except where the sender specifically states them to be the views of 
Thomson Reuters.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake