[CMake] Inherit problem with MSVC views

Tal Blum tblum at bbn.com
Tue Oct 16 10:22:54 EDT 2007


I have a large project with more than 2 different views. For example one
view just runs the project in many languages (each language has its own
libraries and configurations) another project trains all the models that are
used in the first solution.

-Tal


-----Original Message-----
From: figueroa.villanueva at gmail.com [mailto:figueroa.villanueva at gmail.com]
On Behalf Of Miguel A. Figueroa-Villanueva
Sent: Tuesday, October 16, 2007 10:20 AM
To: Tal Blum
Cc: cmake at cmake.org
Subject: Re: [CMake] Inherit problem with MSVC views

On 10/16/07, Tal Blum  wrote:
> I am running into a difficulty implementing a Linux/Windows MSVC project.
> How do you reconcile MSVC ability to view the project through different
> views (via different solution files) and cmake requirement that there be
> only one CMakeFiles.txt file per a project? I tried to implement several
> solution files through the cache by specifying a variable, but this has
the
> disadvantage that when I choose another value for the variable are rerun
> cmake, this changes the CmakeCache.txt and the previous solution file
> changes as well. Sure I can use different builds directories for the
> different solution files, but that would require rebuilding the projects
> many times. Does anyone have any suggestions?

Why do you need the different views (solution files)? Maybe it can be
restructured in a different way.

--Miguel




More information about the CMake mailing list