Mercurial > hg > forks > libbpg
view x265/source/profile/CMakeLists.txt @ 0:772086c29cc7
Initial import.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 16 Nov 2016 11:16:33 +0200 |
parents | |
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)