[llvm] r225355 - Reverting r225319; since there is a folder named Examples, attempting to add a target of the same name causes problems for IDEs like Visual Studio.
Aaron Ballman
aaron at aaronballman.com
Wed Jan 7 06:47:12 PST 2015
Author: aaronballman
Date: Wed Jan 7 08:47:12 2015
New Revision: 225355
URL: http://llvm.org/viewvc/llvm-project?rev=225355&view=rev
Log:
Reverting r225319; since there is a folder named Examples, attempting to add a target of the same name causes problems for IDEs like Visual Studio.
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=225355&r1=225354&r2=225355&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Wed Jan 7 08:47:12 2015
@@ -513,12 +513,6 @@ macro(add_llvm_example name)
install(TARGETS ${name} RUNTIME DESTINATION examples)
endif()
set_target_properties(${name} PROPERTIES FOLDER "Examples")
-
- if(NOT TARGET examples)
- add_custom_target(examples DEPENDS ${name})
- else()
- add_dependencies(examples ${name})
- endif()
endmacro(add_llvm_example name)
More information about the llvm-commits
mailing list