Thanks..

I have been successful with

Src\build.32 and src\build.64 so that on svn update effects both.

The problem, for my automated build flow, I was hoping to make a mix, 32/64 
installer.. it’s a lot harder to do with two completely separate build trees :(

As to my second question, and this is purely my newb'ness with 64 bit visual 
studio.

I know, to us "cl.exe" you must run the "vsvars" with the correct parameters, 
either for 32 or 64, before running cmake from the command line.

And to create the proper vcproj files you must append "Win64" to the generator 
name.

However,  once the solution is created, does the "path" of the shell matter at 
all?

Scott

-----Original Message-----
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Friday, February 27, 2015 8:06 AM
To: Scott Aron Bloom
Cc: cmake@cmake.org
Subject: Re: [CMake] Multi-platform visual studio projects

On Fri, Feb 27, 2015 at 10:44 AM, Scott Aron Bloom <scott.bl...@onshorecs.com> 
wrote:
> Is it possible with cmake, to build a VS 2013, win32 and win64 vsproj 
> solution file set?
>
> If not, I understand, then I have a follow on question..
>

No create 2 independent trees. I keep the source in a separate tree also. For 
example I have my source code in

x:\CMakeBased\Libraries\ITK-4.7.0
x:\CMakeBased\Libraries\VTK-5.10.2
...

x:\CMakeBased\Qt\LungAnalysis
x:\CMakeBased\Qt\StudyManager

...

Where Libraries are source code libraries like ITK, VTK, GDCM, DCMTK ...

And LungAnalysis, StudyManager  ... are applications written by me.


Then the build tress look like

x:\64bit\VC.100\Libraries\ITK-4.7.0
x:\64bit\VC.100\Libraries\VTK-5.10.2
x:\64bit\VC.100\Qt\LungAnalysis

...

x:\64bit\VC.120\Libraries\ITK-4.7.0
x:\64bit\VC.120\Libraries\VTK-5.10.2
x:\64bit\VC.120\Qt\LungAnalysis

...

x:\32bit\VC.100\Libraries\ITK-4.7.0
x:\32bit\VC.100\Libraries\VTK-5.10.2
x:\32bit\VC.100\Qt\LungAnalysis


John
-- 

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 various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to