Always build and init duskscript, remove the DUSK_SCRIPT option
Scripting is now a standard part of the engine rather than an optional feature: removes the DUSK_SCRIPT CMake option and its compile definition, makes src/dusk/CMakeLists.txt add_subdirectory(script) unconditionally, and drops the #ifdef DUSK_SCRIPT guards around scriptInit()/scriptDispose() in engine.c. duskscriptcc and its test still only build on the linux/knulli host target (it's a dev tool, not part of the runtime), now gated on that alone instead of DUSK_SCRIPT AND that. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
1 parent
6d056560e7
commit
5d8337af7e
5 files changed
+6
-27
No files matched your search
+1
-4
@@ -7,10 +7,7 @@ add_subdirectory(animation)
|
||||
add_subdirectory(assert)
|
||||
add_subdirectory(asset)
|
||||
add_subdirectory(console)
|
||||
if(
|
||||
DUSK_SCRIPT AND
|
||||
(DUSK_TARGET_SYSTEM STREQUAL "linux" OR DUSK_TARGET_SYSTEM STREQUAL "knulli")
|
||||
)
|
||||
if(DUSK_TARGET_SYSTEM STREQUAL "linux" OR DUSK_TARGET_SYSTEM STREQUAL "knulli")
|
||||
add_subdirectory(duskscript)
|
||||
endif()
|
||||
add_subdirectory(error)
|
||||
|
||||
Reference in new issue
Block a user