aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-22 03:41:04 +0000
committer_ov4 <ov4@ov4.org>2026-10-22 03:58:36 +0000
commiteba981b4f515010f8f6e9602c563d2074d8bd915 (patch)
tree632e5b72446e5fdfa8b575e19fd6d01ea25598de /CMakeLists.txt
parent6f11b59dff6ddc84c20fc1847a42344bfdddf066 (diff)
refactor(driver): move PATH-mode lli runner into PathRunner
PathRunner.cc holds the lli lookup, LLVM 23 version check and lli execution, and is built only with CPSC_RUN_MODE=PATH like EmbeddedRunner.cc is for EMBEDDED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dea04e..32e6c1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,6 +101,8 @@ if(CPSC_RUN_MODE STREQUAL "EMBEDDED")
target_sources(cpsc PRIVATE
tools/driver/EmbeddedRunner.cc
tools/driver/MinGWJIT.cc)
+elseif(CPSC_RUN_MODE STREQUAL "PATH")
+ target_sources(cpsc PRIVATE tools/driver/PathRunner.cc)
endif()
if(MINGW)
target_link_options(cpsc PRIVATE -static)