1 set(SOURCES 2 BasicBlockTracing.c 3 CommonProfiling.c 4 PathProfiling.c 5 EdgeProfiling.c 6 OptimalEdgeProfiling.c 7 Profiling.h 8 ) 9 10 add_llvm_library( profile_rt-static ${SOURCES} ) 11 set_target_properties( profile_rt-static 12 PROPERTIES 13 OUTPUT_NAME "profile_rt" ) 14 15 set(BUILD_SHARED_LIBS ON) 16 add_llvm_library( profile_rt-shared ${SOURCES} ) 17 set_target_properties( profile_rt-shared 18 PROPERTIES 19 OUTPUT_NAME "profile_rt" ) 20