Mercurial > hg > forks > libbpg
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:772086c29cc7 |
---|---|
1 # vim: syntax=cmake | |
2 | |
3 option(ENABLE_PPA "Enable PPA profiling instrumentation" OFF) | |
4 if(ENABLE_PPA) | |
5 add_definitions(-DENABLE_PPA) | |
6 add_subdirectory(PPA) | |
7 list(APPEND PLATFORM_LIBS PPA) | |
8 if(UNIX) | |
9 list(APPEND PLATFORM_LIBS dl) | |
10 endif(UNIX) | |
11 endif(ENABLE_PPA) | |
12 | |
13 option(ENABLE_VTUNE "Enable Vtune profiling instrumentation" OFF) | |
14 if(ENABLE_VTUNE) | |
15 add_definitions(-DENABLE_VTUNE) | |
16 add_subdirectory(vtune) | |
17 list(APPEND PLATFORM_LIBS vtune) | |
18 include_directories($ENV{VTUNE_AMPLIFIER_XE_2015_DIR}/include) | |
19 link_directories($ENV{VTUNE_AMPLIFIER_XE_2015_DIR}/lib64) | |
20 if(WIN32) | |
21 list(APPEND PLATFORM_LIBS libittnotify.lib) | |
22 else() | |
23 list(APPEND PLATFORM_LIBS libittnotify.a dl) | |
24 endif() | |
25 endif(ENABLE_VTUNE) |