mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-21 20:40:05 +00:00
Bot: add VMBoxGen as a dependency
This commit is contained in:
parent
f649ca4a56
commit
134f1fee37
@ -24,6 +24,11 @@ endif ()
|
||||
add_executable(LaikaBot ${BOTSOURCE} ${BOTHEADERS} ${BOTPLATFORMSOURCE})
|
||||
target_link_libraries(LaikaBot PUBLIC LaikaLib ${BOTPLATFORMLIBS})
|
||||
|
||||
# make sure lboxconfig.h is generated before building
|
||||
if(LAIKA_OBFUSCATE)
|
||||
add_dependencies(LaikaBot VMBoxGen)
|
||||
endif ()
|
||||
|
||||
# add the 'DEBUG' preprocessor definition if we're compiling as Debug
|
||||
target_compile_definitions(LaikaBot PUBLIC "$<$<CONFIG:Debug>:DEBUG>")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user