There is no quick & clean way to detect the various Express Editions of
Visual Studio.
That's why we have code like this in the source tree for CMake itself:
# Provide a way for Visual Studio Express users to turn OFF the new FOLDER
# organization feature. Default to ON for non-Express users.
ake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of
> Daniel Pfeifer
> Sent: Wednesday, May 11, 2011 3:00 AM
> To: cmake@cmake.org
> Subject: Re: [CMake] Express Edition
>
> CMake does a check for the compiler. But not for the IDE.
>
> If you are using the free compile
CMake does a check for the compiler. But not for the IDE.
If you are using the free compiler that is included in C++ Express,
then the CMAKE_USING_VC_FREE_TOOLS variable is set.
It is however possible to use the free compiler in the professional IDE
and vice versa. So using CMAKE_USING_VC_FREE_TO
Isn't CMAKE_USING_VC_FREE_TOOLS works? You can also look for files
containing builder configuration in BuildDir/CMakeFiles directory.
Anyways, you can write your own test to check for VC version.
On Sat, May 7, 2011 at 3:37 PM, QbProg wrote:
> Hello there,
> is there a quick & clean way to dete
Hello there,
is there a quick & clean way to detect if we are using a Visual C++
express edition with the MSVC generator?
A variable of something like that.
I would like to exclude solution folders in that case.
Thank you,
Qb
___
Powered by www.kitware.c