Skip to content

Commit

Permalink
Create temporary scripting refactor build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmbernardi committed Dec 23, 2024
1 parent 680daf3 commit e732683
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,13 @@ endif ()
if (DISABLE_TTF)
target_compile_options(libopenrct2 PUBLIC -DNO_TTF)
endif ()
if (ENABLE_SCRIPTING)
target_compile_options(libopenrct2 PUBLIC -DENABLE_SCRIPTING)
endif ()

# TODO (mber) Temporary build for quickjs refactor. Revert.
#if (ENABLE_SCRIPTING)
# target_compile_options(libopenrct2 PUBLIC -DENABLE_SCRIPTING)
#endif ()
target_compile_options(libopenrct2 PUBLIC -DENABLE_SCRIPTING_REFACTOR)

if (ENABLE_ASAN)
target_compile_options(libopenrct2 PUBLIC -fsanitize=address)
target_link_options(libopenrct2 PUBLIC -fsanitize=address)
Expand Down

0 comments on commit e732683

Please sign in to comment.