Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bench/compile-time/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ find_package(Threads REQUIRED)
# runtime dependency on Google Benchmark.

function(_ptn_ct_add_lit_tu N)
set(_tufile "${CMAKE_CURRENT_SOURCE_DIR}/ct_bench_lit_${N}.cpp")
# Generate into the build tree, not the source tree: writing to
# CMAKE_CURRENT_SOURCE_DIR dirtied the working tree on every
# configure, and the generated files must not be committed.
set(_tufile "${CMAKE_CURRENT_BINARY_DIR}/ct_bench_lit_${N}.cpp")
file(WRITE "${_tufile}"
"// compile-time literal-match benchmark – forces full instantiation\n"
"// of the match-dispatch machinery with ${N} literal cases.\n\n"
Expand Down
144 changes: 0 additions & 144 deletions bench/compile-time/ct_bench_lit_128.cpp

This file was deleted.

32 changes: 0 additions & 32 deletions bench/compile-time/ct_bench_lit_16.cpp

This file was deleted.

48 changes: 0 additions & 48 deletions bench/compile-time/ct_bench_lit_32.cpp

This file was deleted.

80 changes: 0 additions & 80 deletions bench/compile-time/ct_bench_lit_64.cpp

This file was deleted.

24 changes: 0 additions & 24 deletions bench/compile-time/ct_bench_lit_8.cpp

This file was deleted.

Loading