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]>
20 lines
540 B
CMake
20 lines
540 B
CMake
# Copyright (c) 2026 Dominic Masters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
add_subdirectory(animation)
|
|
add_subdirectory(assert)
|
|
add_subdirectory(asset)
|
|
add_subdirectory(console)
|
|
if(DUSK_TARGET_SYSTEM STREQUAL "linux" OR DUSK_TARGET_SYSTEM STREQUAL "knulli")
|
|
add_subdirectory(duskscript)
|
|
endif()
|
|
add_subdirectory(error)
|
|
add_subdirectory(thread)
|
|
add_subdirectory(display)
|
|
add_subdirectory(rpg)
|
|
add_subdirectory(item)
|
|
add_subdirectory(save)
|
|
add_subdirectory(time)
|
|
add_subdirectory(util) |