Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-30 Thread Golebiewski, Jakub
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Golebiewski, > Jakub > Sent: Wednesday, September 23, 2015 9:35 AM > To: J Decker > Cc: cmake@cmake.org > Subject: Re: [CMake] How to create a custom solution with Visual Studio 2010 > generator? > > > --

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-23 Thread Golebiewski, Jakub
> -Original Message- > From: J Decker [mailto:d3c...@gmail.com] > Sent: Tuesday, September 22, 2015 9:40 AM > To: Golebiewski, Jakub > Cc: cmake@cmake.org > Subject: Re: [CMake] How to create a custom solution with Visual Studio > 2010 generator? > >

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-22 Thread Iosif Neitzke
Just as a point of information illustrating the opposite, we like using a CMakeList file for each target that contains a project() command where the name of the project is the name of the target. This is nice (for us) in that you get many .sln files generated from the larger source tree where you

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-22 Thread Hendrik Sattler
Hi, Am 22. September 2015 08:49:57 MESZ, schrieb "Golebiewski, Jakub" : >I have about 620 targets (VS projects) so when I open Main Project.sln >(with 620 projects) in VS it is impossible to work with. >Currently cmake produces .sln for each Sub Project but includes >dependencies from other proj

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-22 Thread J Decker
> I've tried running cmake independently for each subproject but I get errors > about unknown > Targets since every Sub Project depends on targets from 'earlier' one. > > I have about 620 targets (VS projects) so when I open Main Project.sln (with > 620 projects) in VS it is impossible to work wi

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-21 Thread Golebiewski, Jakub
> -Original Message- > From: J Decker [mailto:d3c...@gmail.com] > Sent: Tuesday, September 22, 2015 8:12 AM > To: Golebiewski, Jakub > Cc: cmake@cmake.org > Subject: Re: [CMake] How to create a custom solution with Visual Studio > 2010 generator? > > On Mo

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-21 Thread J Decker
ach one. (uses custom macro that's a few dozen lines to do each build) > Thanks for help, > JG > > -Original Message- > From: J Decker [mailto:d3c...@gmail.com] > Sent: Monday, September 21, 2015 4:50 PM > To: Golebiewski, Jakub > Cc: cmake@cmake.org > Subje

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-21 Thread Golebiewski, Jakub
...@gmail.com] Sent: Monday, September 21, 2015 4:50 PM To: Golebiewski, Jakub Cc: cmake@cmake.org Subject: Re: [CMake] How to create a custom solution with Visual Studio 2010 generator? CMake's PROJECT directive maps to 'Solution' (should only be one project() per chain) ... u

Re: [CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-21 Thread J Decker
CMake's PROJECT directive maps to 'Solution' (should only be one project() per chain) ... use set( PROJECT projectname) and then reference ${PROJECT} later instead of ${PROJECT_NAME} for easy conversion. add_library, add_executable map to 'project' from http://www.cmake.org/Wiki/CMake_Useful_Var

[CMake] How to create a custom solution with Visual Studio 2010 generator?

2015-09-20 Thread Golebiewski, Jakub
Hi, I'm trying to create a solution with custom set of projects (in VS sense) for Visual Studio 2010. I have a top level CMakeLists.txt with PROJECT() declared and then several CMakeLists.txt below in a tree also with PROJECT() in each of them. However for lower level PROJECT() directives I get