nostalgia/mg.yml

36 lines
982 B
YAML
Raw Normal View History

2018-02-13 19:20:20 -06:00
---
envs:
nostalgia_devenv:
dockerfile_path: ./Dockerfile
cmake:
.:
src_dir: .
build_dir: build/${target}-${build_type}
generator: Unix Makefiles
defs:
CMAKE_EXPORT_COMPILE_COMMANDS: ON
CMAKE_INSTALL_PREFIX: dist/${target}-${build_type}
CMAKE_INSTALL_RPATH: dist/${target}-${build_type}
NOSTALGIA_BUILD_TYPE: OFF
build_types:
release:
defs:
CMAKE_BUILD_TYPE: Release
debug:
defs:
USE_ASAN: ON
CMAKE_BUILD_TYPE: Debug
targets:
linux:
env: nostalgia_devenv
windows:
env: nostalgia_devenv
defs:
CMAKE_TOOLCHAIN_FILE: cmake/modules/Mingw.cmake
2018-02-13 19:20:20 -06:00
gba:
env: nostalgia_devenv
defs:
CMAKE_TOOLCHAIN_FILE: cmake/modules/GBA.cmake
2018-02-13 19:20:20 -06:00
NOSTALGIA_BUILD_TYPE: GBA
OX_USE_STDLIB: OFF