mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
cmake: Add 'examples' target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225319 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c182476974
commit
7c659cc405
@ -513,6 +513,12 @@ 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 ${name})
|
||||
else()
|
||||
add_dependencies(examples ${name})
|
||||
endif()
|
||||
endmacro(add_llvm_example name)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user