From 01d9455897290b836a7062a8ef86d5c8bd3461c9 Mon Sep 17 00:00:00 2001 From: Ryan Carsten Schmidt Date: Wed, 24 Jan 2024 22:44:54 -0600 Subject: [PATCH] Exclude *AllRAM*.cpp from CMake program sources. These files serve as documentation and are used in tests. --- cmake/CLK_SOURCES.cmake | 3 --- cmake/generate_CLK_SOURCES | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmake/CLK_SOURCES.cmake b/cmake/CLK_SOURCES.cmake index 66184bbb4..903728b12 100644 --- a/cmake/CLK_SOURCES.cmake +++ b/cmake/CLK_SOURCES.cmake @@ -159,13 +159,10 @@ set(CLK_SOURCES Outputs/ScanTarget.cpp Outputs/ScanTargets/BufferingScanTarget.cpp - Processors/6502/AllRAM/6502AllRAM.cpp Processors/6502/Implementation/6502Storage.cpp Processors/6502/State/State.cpp Processors/65816/Implementation/65816Base.cpp Processors/65816/Implementation/65816Storage.cpp - Processors/AllRAMProcessor.cpp - Processors/Z80/AllRAM/Z80AllRAM.cpp Processors/Z80/Implementation/PartialMachineCycle.cpp Processors/Z80/Implementation/Z80Base.cpp Processors/Z80/Implementation/Z80Storage.cpp diff --git a/cmake/generate_CLK_SOURCES b/cmake/generate_CLK_SOURCES index a1f3354b2..fc5e2e344 100755 --- a/cmake/generate_CLK_SOURCES +++ b/cmake/generate_CLK_SOURCES @@ -39,7 +39,8 @@ write_sources() { cd "$top_dir" printf '# Generated by %s.\n\n' "${BASH_SOURCE[0]##*/}" > "$tmp" -write_sources '' 'set(' [A-Z]* -name OSBindings -prune -o -name '*.cpp' -print >> "$tmp" +write_sources '' 'set(' [A-Z]* -name OSBindings -prune -o \ + -name '*AllRAM*.cpp' -prune -o -name '*.cpp' -print >> "$tmp" # TODO: Add 'Mac/Clock Signal' # TODO: Add Qt for dir in SDL; do