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. Express users must # explicitly turn off this option to build CMake in the Express IDE... # OPTION(CMAKE_USE_FOLDERS "Enable folder grouping of projects in IDEs." ON) MARK_AS_ADVANCED(CMAKE_USE_FOLDERS) HTH, David On Sat, May 7, 2011 at 7:37 AM, QbProg <tho...@gmail.com> wrote: > 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.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake