Changeset View
Changeset View
Standalone View
Standalone View
benchmarks/CMakeLists.txt
Context not available. | |||||
13 | set(LINK_VC_LIB) | 13 | set(LINK_VC_LIB) | ||
---|---|---|---|---|---|
14 | if(HAVE_VC) | 14 | if(HAVE_VC) | ||
15 | include_directories(${Vc_INCLUDE_DIR}) | 15 | include_directories(${Vc_INCLUDE_DIR}) | ||
16 | # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}") | 16 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}") | ||
17 | set(LINK_VC_LIB ${Vc_LIBRARIES}) | 17 | set(LINK_VC_LIB ${Vc_LIBRARIES}) | ||
18 | endif() | 18 | endif() | ||
19 | 19 | | |||
Context not available. | |||||
38 | set(kis_low_memory_benchmark_SRCS kis_low_memory_benchmark.cpp) | 38 | set(kis_low_memory_benchmark_SRCS kis_low_memory_benchmark.cpp) | ||
39 | set(kis_filter_selections_benchmark_SRCS kis_filter_selections_benchmark.cpp) | 39 | set(kis_filter_selections_benchmark_SRCS kis_filter_selections_benchmark.cpp) | ||
40 | if (UNIX) | 40 | if (UNIX) | ||
41 | #set(kis_composition_benchmark_SRCS kis_composition_benchmark.cpp) | 41 | set(kis_composition_benchmark_SRCS kis_composition_benchmark.cpp) | ||
42 | endif() | 42 | endif() | ||
43 | set(kis_thumbnail_benchmark_SRCS kis_thumbnail_benchmark.cpp) | 43 | set(kis_thumbnail_benchmark_SRCS kis_thumbnail_benchmark.cpp) | ||
44 | 44 | | |||
Context not available. | |||||
59 | krita_add_benchmark(KisLowMemoryBenchmark TESTNAME krita-benchmarks-KisLowMemory ${kis_low_memory_benchmark_SRCS}) | 59 | krita_add_benchmark(KisLowMemoryBenchmark TESTNAME krita-benchmarks-KisLowMemory ${kis_low_memory_benchmark_SRCS}) | ||
60 | krita_add_benchmark(KisFilterSelectionsBenchmark TESTNAME krita-image-KisFilterSelectionsBenchmark ${kis_filter_selections_benchmark_SRCS}) | 60 | krita_add_benchmark(KisFilterSelectionsBenchmark TESTNAME krita-image-KisFilterSelectionsBenchmark ${kis_filter_selections_benchmark_SRCS}) | ||
61 | if(UNIX) | 61 | if(UNIX) | ||
62 | #krita_add_benchmark(KisCompositionBenchmark TESTNAME krita-benchmarks-KisComposition ${kis_composition_benchmark_SRCS}) | 62 | krita_add_benchmark(KisCompositionBenchmark TESTNAME krita-benchmarks-KisComposition ${kis_composition_benchmark_SRCS}) | ||
63 | endif() | 63 | endif() | ||
64 | krita_add_benchmark(KisThumbnailBenchmark TESTNAME krita-benchmarks-KisThumbnail ${kis_thumbnail_benchmark_SRCS}) | 64 | krita_add_benchmark(KisThumbnailBenchmark TESTNAME krita-benchmarks-KisThumbnail ${kis_thumbnail_benchmark_SRCS}) | ||
65 | 65 | | |||
Context not available. | |||||
80 | target_link_libraries(KisFilterSelectionsBenchmark kritaimage Qt5::Test) | 80 | target_link_libraries(KisFilterSelectionsBenchmark kritaimage Qt5::Test) | ||
81 | 81 | | |||
82 | if(UNIX) | 82 | if(UNIX) | ||
83 | #target_link_libraries(KisCompositionBenchmark kritaimage Qt5::Test ${LINK_VC_LIB}) | 83 | target_link_libraries(KisCompositionBenchmark kritaimage Qt5::Test ${LINK_VC_LIB}) | ||
84 | #if(HAVE_VC) | 84 | if(HAVE_VC) | ||
85 | # set_property(TARGET KisCompositionBenchmark APPEND PROPERTY COMPILE_OPTIONS "${Vc_ARCHITECTURE_FLAGS}") | 85 | set_property(TARGET KisCompositionBenchmark APPEND PROPERTY COMPILE_OPTIONS "${Vc_ARCHITECTURE_FLAGS}") | ||
86 | #endif() | 86 | endif() | ||
87 | endif() | 87 | endif() | ||
88 | target_link_libraries(KisMaskGeneratorBenchmark kritaimage Qt5::Test) | 88 | target_link_libraries(KisMaskGeneratorBenchmark kritaimage Qt5::Test) | ||
89 | target_link_libraries(KisThumbnailBenchmark kritaimage Qt5::Test) | 89 | target_link_libraries(KisThumbnailBenchmark kritaimage Qt5::Test) | ||
Context not available. |