mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 08:59:07 +00:00
chore(build): add WOW and SC1 flavors
This commit is contained in:
parent
222e3ec624
commit
62121bef6f
4 changed files with 54 additions and 18 deletions
|
|
@ -25,6 +25,17 @@ list(APPEND CMAKE_MODULE_PATH
|
|||
|
||||
include(system)
|
||||
|
||||
# Storm flavors
|
||||
if(WHOA_STORM_FLAVOR STREQUAL "SC1")
|
||||
message(STATUS "Building Storm with StarCraft flavoring")
|
||||
|
||||
add_definitions(-DWHOA_STORM_C_CRIT_SECT_RECURSIVE)
|
||||
elseif(WHOA_STORM_FLAVOR STREQUAL "WOW")
|
||||
message(STATUS "Building Storm with World of Warcraft flavoring")
|
||||
else()
|
||||
message(STATUS "Building Storm with default flavoring")
|
||||
endif()
|
||||
|
||||
# OS defines
|
||||
if(WHOA_SYSTEM_WIN)
|
||||
# Avoid win32 header hell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue