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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user