r203321 - Revert "Add an option to disable plugins in clang."
Rafael Espindola
rafael.espindola at gmail.com
Fri Mar 7 16:41:53 PST 2014
Author: rafael
Date: Fri Mar 7 18:41:53 2014
New Revision: 203321
URL: http://llvm.org/viewvc/llvm-project?rev=203321&view=rev
Log:
Revert "Add an option to disable plugins in clang."
This reverts commit r203320.
There is some order dependency going on that I missed.
Modified:
cfe/trunk/tools/driver/CMakeLists.txt
Modified: cfe/trunk/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/CMakeLists.txt?rev=203321&r1=203320&r2=203321&view=diff
==============================================================================
--- cfe/trunk/tools/driver/CMakeLists.txt (original)
+++ cfe/trunk/tools/driver/CMakeLists.txt Fri Mar 7 18:41:53 2014
@@ -16,6 +16,9 @@ set( LLVM_LINK_COMPONENTS
Vectorize
)
+# Support plugins.
+set(LLVM_NO_DEAD_STRIP 1)
+
add_clang_executable(clang
driver.cpp
cc1_main.cpp
@@ -29,13 +32,8 @@ target_link_libraries(clang
clangFrontendTool
)
-if(NOT CLANG_IS_PRODUCTION)
- # Support plugins.
- set(LLVM_NO_DEAD_STRIP 1)
- set_target_properties(clang PROPERTIES ENABLE_EXPORTS 1)
-endif()
-
set_target_properties(clang PROPERTIES VERSION ${CLANG_EXECUTABLE_VERSION})
+set_target_properties(clang PROPERTIES ENABLE_EXPORTS 1)
add_dependencies(clang clang-headers)
More information about the cfe-commits
mailing list