[llvm-commits] [llvm] r156472 - /llvm/trunk/CMakeLists.txt

Manuel Klimek klimek at google.com
Wed May 9 08:10:54 PDT 2012


Author: klimek
Date: Wed May  9 10:10:54 2012
New Revision: 156472

URL: http://llvm.org/viewvc/llvm-project?rev=156472&view=rev
Log:
Make it possible to switch off solution folders. VS Express does not support
them, and requires the user to click away one error message per folder on
project load.


Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=156472&r1=156471&r2=156472&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Wed May  9 10:10:54 2012
@@ -15,7 +15,10 @@
 
 set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn")
 
-set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+option(LLVM_USE_FOLDERS "Enable solution folders in Visual Studio. Disable for Express versions." ON)
+if ( LLVM_USE_FOLDERS )
+  set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+endif()
 
 include(VersionFromVCS)
 





More information about the llvm-commits mailing list