linux headless build, default the gui debugger to off

This commit is contained in:
Kelvin Sherlock 2019-03-13 20:14:04 -04:00
parent 2554364910
commit e07f0a99e7
2 changed files with 21 additions and 1 deletions

View File

@ -8,11 +8,14 @@ configuration:
- mingw64-gdi
- msys-gdi
- linux-sdl
- linux-headless
matrix:
exclude:
- configuration: linux-sdl
image: Visual Studio 2017
- configuration: linux-headless
image: Visual Studio 2017
- configuration: mingw32-sdl
image: Ubuntu1804
- configuration: mingw32-gdi
@ -119,3 +122,20 @@ for:
artifacts:
- path: 'build/bin/GSplus'
name: GSplus-linux-sdl
- # linux/headless
matrix:
only:
- image: Ubuntu1804
configuration: linux-headless
install:
- sh: sudo apt-get update
- sh: sudo apt-get install -y re2c
build_script:
- sh: mkdir build
- sh: cd build
- sh: cmake ../ -DDRIVER=HEADLESS
- sh: make VERBOSE=1 GSplus
artifacts:
- path: 'build/bin/GSplus'
name: GSplus-linux-headless

View File

@ -57,7 +57,7 @@ pkg_check_modules(FREETYPE2 freetype2)
# run ccmake, cmake -LH, or cmake -D...
#
set(DRIVER "SDL" CACHE STRING "Driver (SDL, X11, WIN32, FB, or HEADLESS")
option(WITH_DEBUGGER "Enable the debugger" ON)
option(WITH_DEBUGGER "Enable the debugger" OFF)
option(WITH_HOST_FST "Enable host fst support" ON)
option(TOGGLE_STATUS "Enable F10 Toggle Status support (win32/x11)" OFF)
option(WITH_RAWNET "Enable Uthernet emulation" OFF)