solvespace/bench/CMakeLists.txt

17 lines
402 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_headless)
add_dependencies(solvespace_benchmark
resources)