Pārlūkot izejas kodu

Add build scripts for macOS

Include build scripts for generating CMake cache as well as building from ninja.
master
TheoryOfNekomata pirms 1 gada
vecāks
revīzija
ebebba1fb9
3 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

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

cmake --build build/Debug -t game

+ 3
- 0
02-build-server Parādīt failu

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

cmake --build build/Debug -t server

Notiek ielāde…
Atcelt
Saglabāt