mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(app): specific WHOA_APP_DEBUG macro passed to resource file
This commit is contained in:
parent
0080934ed9
commit
c9829ca5e1
2 changed files with 14 additions and 7 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue