[CMake] Multi-platform visual studio projects

John Drescher drescherjm at gmail.com
Fri Feb 27 11:06:29 EST 2015


On Fri, Feb 27, 2015 at 10:44 AM, Scott Aron Bloom
<scott.bloom at 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


More information about the CMake mailing list