[cfe-commits] [PATCH] Make solution folders optional in cmake
Douglas Gregor
dgregor at apple.com
Tue May 8 23:34:23 PDT 2012
LGTM
Sent from my iPhone
On May 8, 2012, at 12:06 PM, Manuel Klimek <klimek at google.com> wrote:
> Using cmake with VS 2010 Express is a pain, as it doesn't support
> solution folders. This patch allows easily turning them off for
> express users.
>
> Thoughts?
> /Manuel
>
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt (revision 156387)
> +++ CMakeLists.txt (working copy)
> @@ -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)
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list