Silence -Wunused-variable in release builds.
[llvm/stm8.git] / runtime / libprofile / CMakeLists.txt
blob414ad00b4a80d704c8d971ad98dfcb33513bb0f6
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   )
11 add_llvm_library( profile_rt-static ${SOURCES} )
12 set_target_properties( profile_rt-static
13   PROPERTIES
14   OUTPUT_NAME "profile_rt" )
16 add_llvm_loadable_module( profile_rt-shared ${SOURCES} )
17 set_target_properties( profile_rt-shared
18   PROPERTIES
19   OUTPUT_NAME "profile_rt" )