mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-10 11:25:59 +03:00
feat(app): specific WHOA_APP_DEBUG macro passed to resource file
This commit is contained in:
parent
0080934ed9
commit
c9829ca5e1
@ -3,6 +3,13 @@ if(WHOA_SYSTEM_WIN)
|
||||
|
||||
add_executable(Whoa WIN32 ${PRIVATE_SOURCES})
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_compile_definitions(Whoa
|
||||
PRIVATE
|
||||
-DWHOA_APP_DEBUG
|
||||
)
|
||||
endif ()
|
||||
|
||||
target_link_libraries(Whoa
|
||||
PRIVATE
|
||||
client
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#pragma code_page(65001) // UTF-8
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef WHOA_APP_DEBUG
|
||||
BlizzardIcon.ico ICON DISCARDABLE "debug/Whoa.ico"
|
||||
#else
|
||||
BlizzardIcon.ico ICON DISCARDABLE "release/Whoa.ico"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user