aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-19 13:21:24 +0000
committer_ov4 <ov4@ov4.org>2026-10-19 13:21:24 +0000
commitf01cafc0ead695e8c5280e5e4a942b24e1922e13 (patch)
tree431d4063f5ab5d78e44db4b02f0747f7b3b94432 /CMakeLists.txt
parent2157f7e4043a0742cac19d3ae62f6b836c14516f (diff)
refactor(driver): isolate MinGW JIT compatibility support
Move COFF normalization, jump stubs and SEH registration behind two internal entry points. Keep runtime bindings in the embedded runner, remove redundant conditions and document the upstream requirements. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 86fef58..5d9f84f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,7 +97,9 @@ include(cmake/EmbeddedLLVM.cmake)
add_executable(cpsc tools/driver/main.cc)
target_compile_definitions(cpsc PRIVATE CPSC_RUN_${CPSC_RUN_MODE})
if(CPSC_RUN_MODE STREQUAL "EMBEDDED")
- target_sources(cpsc PRIVATE tools/driver/EmbeddedRunner.cc)
+ target_sources(cpsc PRIVATE
+ tools/driver/EmbeddedRunner.cc
+ tools/driver/MinGWJIT.cc)
endif()
if(MINGW)
target_link_options(cpsc PRIVATE -static)