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.

llvm-svn: 156472
This commit is contained in:
Manuel Klimek 2012-05-09 15:10:54 +00:00
parent 5c43305383
commit 13cfa00018

View File

@ -15,7 +15,10 @@ set(LLVM_VERSION_MINOR 2)
set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn") 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) include(VersionFromVCS)