1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 18:49:25 +08:00

add: add DEBUG_MODE define to cracker

This commit is contained in:
LA_DI_DA
2025-04-01 18:31:11 +08:00
parent a90b6dbac6
commit f0d0e95fb3

View File

@@ -24,6 +24,10 @@ target_compile_definitions(${CRACKER}
PRIVATE SOL_USE_LUA_HPP
)
if (DEBUG_MODE)
target_compile_definitions(${CRACKER} PRIVATE DEBUG_MODE)
endif ()
set(CRACKER_PB_DIR ${CMAKE_CURRENT_LIST_DIR}/pb)
if (NOT EXISTS ${CRACKER_PB_DIR})