mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-13 19:20:10 +00:00
VMBoxGen: generate lboxconfig.h post build if LAIKA_OBFUSCATE
This commit is contained in:
@@ -12,3 +12,12 @@ target_link_libraries(VMBoxGen PUBLIC LaikaLib)
|
||||
|
||||
# add the 'DEBUG' preprocessor definition if we're compiling as Debug
|
||||
target_compile_definitions(VMBoxGen PUBLIC "$<$<CONFIG:Debug>:DEBUG>")
|
||||
|
||||
# generate the VMBOXCONFIG file
|
||||
if(LAIKA_OBFUSCATE)
|
||||
add_custom_command(TARGET VMBoxGen POST_BUILD
|
||||
DEPENDS VMBoxGen
|
||||
COMMAND VMBoxGen ${LAIKA_VMBOXCONFIG}
|
||||
COMMENT "Generating VMBox data & keys..."
|
||||
)
|
||||
endif()
|
Reference in New Issue
Block a user