There is no quick & clean way to detect the various Express Editions of Visual Studio.<br><br>That's why we have code like this in the source tree for CMake itself:<br><br> # Provide a way for Visual Studio Express users to turn OFF the new FOLDER<br>
# organization feature. Default to ON for non-Express users. Express users must<br> # explicitly turn off this option to build CMake in the Express IDE...<br> #<br> OPTION(CMAKE_USE_FOLDERS "Enable folder grouping of projects in IDEs." ON)<br>
MARK_AS_ADVANCED(CMAKE_USE_FOLDERS)<br><br><br>HTH,<br>David<br><br><br><br><div class="gmail_quote">On Sat, May 7, 2011 at 7:37 AM, QbProg <span dir="ltr"><<a href="mailto:tholag@gmail.com">tholag@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello there,<br>
is there a quick & clean way to detect if we are using a Visual C++<br>
express edition with the MSVC generator?<br>
A variable of something like that.<br>
I would like to exclude solution folders in that case.<br>
<br>
Thank you,<br>
Qb<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>