]> gitweb.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
cmake: build ATonce support on Unix
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 21 Jun 2026 22:00:35 +0000 (15:00 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 7 Jul 2026 21:00:11 +0000 (14:00 -0700)
The upstream ATonce merge added atonce.cpp to the Windows project
but left the Unix CMake source list without the new source file.

Add atonce.cpp beside the Unix x86/PCem sources so WITH_X86 builds
link the ATonce calls from cia.cpp, expansion.cpp, and x86.cpp.

CMakeLists.txt

index 86ae16af2d102e86f5b75e6f8e5f945b5dacd32b..b09afc1571fc4c1b579e1d252141fce1a24f1b69 100644 (file)
@@ -869,6 +869,7 @@ set(WINUAE_UNIX_ENABLE_X86 ON)
 set(WINUAE_UNIX_ENABLE_PCEM ON)
 target_compile_definitions(winuae_core PRIVATE WITH_X86=1)
 list(APPEND WINUAE_UNIX_EXTRA_SOURCES
+    atonce.cpp
     x86.cpp
     ${WINUAE_UNIX_PCEM_COMMON_SOURCES}
     ${WINUAE_UNIX_PCEM_X86_SOURCES}