mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-20 09:33:37 +00:00
Add mod (compiling) support
If cmake is invoked with -DMODS=ON, stuff specified by neo/mods/CMakeLists.txt (which again adds the subdirectories containing the mods) is built. neo/mods/ is from another repository: https://github.com/DanielGibson/dhewm3-mods
This commit is contained in:
parent
1b1787bb50
commit
1422633bec
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,7 @@ include(GNUInstallDirs OPTIONAL RESULT_VARIABLE GNUINSTALLDIRS)
|
|||
option(CORE "Build the core" ON)
|
||||
option(BASE "Build the base game code" ON)
|
||||
option(D3XP "Build the d3xp game code" ON)
|
||||
option(MODS "Build game code for additional mods" OFF)
|
||||
option(DEDICATED "Build the dedicated server" OFF)
|
||||
option(ONATIVE "Optimize for the host CPU" OFF)
|
||||
option(SDL2 "Use SDL2 instead of SDL1.2" OFF)
|
||||
|
@ -828,3 +829,8 @@ if(D3XP)
|
|||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (MODS)
|
||||
add_subdirectory(mods)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue