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 - mingw64-gdi
- msys-gdi - msys-gdi
- linux-sdl - linux-sdl
- linux-headless
matrix: matrix:
exclude: exclude:
- configuration: linux-sdl - configuration: linux-sdl
image: Visual Studio 2017 image: Visual Studio 2017
- configuration: linux-headless
image: Visual Studio 2017
- configuration: mingw32-sdl - configuration: mingw32-sdl
image: Ubuntu1804 image: Ubuntu1804
- configuration: mingw32-gdi - configuration: mingw32-gdi
@ -119,3 +122,20 @@ for:
artifacts: artifacts:
- path: 'build/bin/GSplus' - path: 'build/bin/GSplus'
name: GSplus-linux-sdl 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... # run ccmake, cmake -LH, or cmake -D...
# #
set(DRIVER "SDL" CACHE STRING "Driver (SDL, X11, WIN32, FB, or HEADLESS") 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(WITH_HOST_FST "Enable host fst support" ON)
option(TOGGLE_STATUS "Enable F10 Toggle Status support (win32/x11)" OFF) option(TOGGLE_STATUS "Enable F10 Toggle Status support (win32/x11)" OFF)
option(WITH_RAWNET "Enable Uthernet emulation" OFF) option(WITH_RAWNET "Enable Uthernet emulation" OFF)