1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[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.

llvm-svn: 344219
This commit is contained in:
Chris Bieneman 2018-10-11 04:06:14 +00:00
parent d5e02c8a98
commit fff37cd2de

View File

@ -868,12 +868,16 @@ else()
set(LLVM_ENABLE_PLUGINS ON)
endif()
set(LLVM_ENABLE_IDE_default OFF)
if (XCODE OR MSVC_IDE OR CMAKE_EXTRA_GENERATOR)
set(LLVM_ENABLE_IDE_default ON)
endif()
option(LLVM_ENABLE_IDE "Generate targets and process sources for use with an IDE"
${LLVM_ENABLE_IDE_default})
# Remove LLVM_ENABLE_IDE from the CMake cache. This is a temporary change to
# allow CMake caches to be cleaned up so that we can change the default for this
# option and how it is used.
unset(LLVM_ENABLE_IDE CACHE)
#set(LLVM_ENABLE_IDE_default OFF)
#if (XCODE OR MSVC_IDE OR CMAKE_EXTRA_GENERATOR)
# set(LLVM_ENABLE_IDE_default ON)
#endif()
#option(LLVM_ENABLE_IDE "Generate targets and process sources for use with an IDE"
# ${LLVM_ENABLE_IDE_default})
function(get_compile_definitions)
get_directory_property(top_dir_definitions DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS)