Skip to content

Commit

Permalink
Trying out CMAKE_BINARY_DIR as a working directory for targets genera…
Browse files Browse the repository at this point in the history
…ted by ctbench_add_graph
  • Loading branch information
JPenuchot committed Mar 28, 2022
1 parent 624a385 commit 47876a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarking.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function(ctbench_add_graph category config)
add_custom_target(
${category}
COMMAND grapher-plot --output=${category} --config=${config_path} ${ARGN}
DEPENDS ${config_path} ${ARGN})
DEPENDS ${config_path} ${ARGN}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
add_dependencies(ctbench-graph-all ${category})
endfunction(ctbench_add_graph)

0 comments on commit 47876a3

Please sign in to comment.