/3rd_party/llvm/runtime/libprofile/CMakeLists.txt

https://code.google.com/p/softart/ · CMake · 19 lines · 17 code · 2 blank · 0 comment · 0 complexity · 6cae4414acd468bc1e42fab757d0b121 MD5 · raw file

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