mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
cmake: Add 'examples' target
llvm-svn: 225319
This commit is contained in:
parent
8726c80a5f
commit
7d28ae72ac
@ -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