llvm.org GIT mirror llvm / ab92d1e
Honor LLVM_BUILD_RUNTIME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130199 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 9 years ago
2 changed file(s) with 11 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
5656 LINK_FLAGS "-Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
5757 endif()
5858
59 install(TARGETS ${name}
60 LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
61 ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
59 if( EXCLUDE_FROM_ALL )
60 set_target_properties(profile_rt PROPERTIES EXCLUDE_FROM_ALL ON)
61 else()
62 install(TARGETS ${name}
63 LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
64 ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
65 endif()
6266 endif()
6367
6468 set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
0 if( NOT LLVM_BUILD_RUNTIME )
1 set(EXCLUDE_FROM_ALL ON)
2 endif()
3
4 add_subdirectory(libprofile)