view runtime/libprofile/CMakeLists.txt @ 16:d405342cecb1

can eliminate tail call regardless of optimize level
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 24 Sep 2013 19:04:26 +0900
parents 9ad51c7bc036
children
line wrap: on
line source

set(SOURCES
  BasicBlockTracing.c
  CommonProfiling.c
  PathProfiling.c
  EdgeProfiling.c
  OptimalEdgeProfiling.c
  Profiling.h
  )

add_llvm_library( profile_rt-static ${SOURCES} )
set_target_properties( profile_rt-static
  PROPERTIES
  OUTPUT_NAME "profile_rt" )

set(BUILD_SHARED_LIBS ON)
add_llvm_library( profile_rt-shared ${SOURCES} )
set_target_properties( profile_rt-shared
  PROPERTIES
  OUTPUT_NAME "profile_rt" )