llvm.org GIT mirror llvm / b149340
[CMake] Temporarily remove the LLVM_ENABLE_IDE option All uses of this option have been removed, and the intent is to change the purpose and default value of this option. To prevent it from having impacts on users, this patch temporarily removes the option and purges it from CMake caches. In a few days, once this has propagated to contributors I will re-introduce the option with the new default value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344219 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 1 year, 12 days ago
1 changed file(s) with 10 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
867867 set(LLVM_ENABLE_PLUGINS ON)
868868 endif()
869869
870 set(LLVM_ENABLE_IDE_default OFF)
871 if (XCODE OR MSVC_IDE OR CMAKE_EXTRA_GENERATOR)
872 set(LLVM_ENABLE_IDE_default ON)
873 endif()
874 option(LLVM_ENABLE_IDE "Generate targets and process sources for use with an IDE"
875 ${LLVM_ENABLE_IDE_default})
870 # Remove LLVM_ENABLE_IDE from the CMake cache. This is a temporary change to
871 # allow CMake caches to be cleaned up so that we can change the default for this
872 # option and how it is used.
873 unset(LLVM_ENABLE_IDE CACHE)
874 #set(LLVM_ENABLE_IDE_default OFF)
875 #if (XCODE OR MSVC_IDE OR CMAKE_EXTRA_GENERATOR)
876 # set(LLVM_ENABLE_IDE_default ON)
877 #endif()
878 #option(LLVM_ENABLE_IDE "Generate targets and process sources for use with an IDE"
879 # ${LLVM_ENABLE_IDE_default})
876880
877881 function(get_compile_definitions)
878882 get_directory_property(top_dir_definitions DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS)