solvespace/bench/CMakeLists.txt

18 lines
422 B
CMake
Raw Normal View History

2016-11-18 13:55:24 +00:00
# benchmark runner
foreach(pkg_config_lib CAIRO)
include_directories(${${pkg_config_lib}_INCLUDE_DIRS})
link_directories(${${pkg_config_lib}_LIBRARY_DIRS})
endforeach()
add_executable(solvespace-benchmark
harness.cpp
$<TARGET_PROPERTY:resources,EXTRA_SOURCES>)
2016-11-18 13:55:24 +00:00
target_link_libraries(solvespace-benchmark
solvespace-core
solvespace-headless)
add_dependencies(solvespace-benchmark
resources)