mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-25 15:50:06 +00:00
minor 'DEBUG' refactoring
- for debug builds, the LAIKA_DEBUG_BUILD macro will be defined in lconfig.h - LAIKA_OBFUSCATE now controls the winobf IAT obfuscation as well
This commit is contained in:
@@ -30,9 +30,6 @@ 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>")
|
||||
|
||||
# add include directory
|
||||
target_include_directories(LaikaBot PUBLIC ${BOT_INCLUDEDIR})
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifndef DEBUG
|
||||
# ifndef LAIKA_DEBUG_BUILD
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, INT nCmdShow)
|
||||
{
|
||||
# else
|
||||
|
||||
Reference in New Issue
Block a user