Skip to content

Commit

Permalink
optimize space
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Dec 10, 2024
1 parent 8189e2b commit 7d03016
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions proof-producer/tests/libs/output_artifacts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ function(add_output_artifacts_test target)
crypto3::common
)

message("Target is ${target}")
if (NOT target STREQUAL "test_range")
target_precompile_headers(${target}_single_thread REUSE_FROM test_range_single_thread)
endif()
target_precompile_headers(${target}_multi_thread REUSE_FROM test_range_single_thread)

add_dependencies(tests_output_artifacts_single_thread ${target}_single_thread)
add_dependencies(tests_output_artifacts_multi_thread ${target}_multi_thread)

target_precompile_headers(${target}_multi_thread REUSE_FROM ${target}_single_thread)
endfunction()

add_output_artifacts_test(test_range)
Expand Down

0 comments on commit 7d03016

Please sign in to comment.