Mercurial > hg > forks > libbpg
view x265/source/profile/CMakeLists.txt @ 34:5d51fff843eb default tip
A "commit dump" of random changes I've made, as I probably won't be touching this code anymore.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 08 Mar 2020 19:18:48 +0200 |
parents | 772086c29cc7 |
children |
line wrap: on
line source
# vim: syntax=cmake option(ENABLE_PPA "Enable PPA profiling instrumentation" OFF) if(ENABLE_PPA) add_definitions(-DENABLE_PPA) add_subdirectory(PPA) list(APPEND PLATFORM_LIBS PPA) if(UNIX) list(APPEND PLATFORM_LIBS dl) endif(UNIX) endif(ENABLE_PPA) option(ENABLE_VTUNE "Enable Vtune profiling instrumentation" OFF) if(ENABLE_VTUNE) add_definitions(-DENABLE_VTUNE) add_subdirectory(vtune) list(APPEND PLATFORM_LIBS vtune) include_directories($ENV{VTUNE_AMPLIFIER_XE_2015_DIR}/include) link_directories($ENV{VTUNE_AMPLIFIER_XE_2015_DIR}/lib64) if(WIN32) list(APPEND PLATFORM_LIBS libittnotify.lib) else() list(APPEND PLATFORM_LIBS libittnotify.a dl) endif() endif(ENABLE_VTUNE)