Explorar el Código

Add build scripts for macOS

Include build scripts for generating CMake cache as well as building from ninja.
master
TheoryOfNekomata hace 1 año
padre
commit
ebebba1fb9
Se han modificado 3 ficheros con 9 adiciones y 0 borrados
  1. +3
    -0
      00-build-cache-debug-x64
  2. +3
    -0
      01-build-game
  3. +3
    -0
      02-build-server

+ 3
- 0
00-build-cache-debug-x64 Ver fichero

@@ -0,0 +1,3 @@
#!/usr/bin/env sh

cmake -DPROJECT_SOURCE_DIR=. -DCMAKE_SIZEOF_VOID_P=8 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_C_COMPILER=cc -DCMAKE_C_COMPILER_WORKS=1 -DCMAKE_C_FLAGS=-m64 -G Ninja -S . -B ./build/Debug

+ 3
- 0
01-build-game Ver fichero

@@ -0,0 +1,3 @@
#!/usr/bin/env sh

cmake --build build/Debug -t game

+ 3
- 0
02-build-server Ver fichero

@@ -0,0 +1,3 @@
#!/usr/bin/env sh

cmake --build build/Debug -t server

Cargando…
Cancelar
Guardar