Commit build settings to repo, consolodate
parent
17cebee22e
commit
8475393c33
@ -1,3 +1,3 @@
|
||||
call shadergen.bat
|
||||
set compileopts=/Fe"flight_debug" /Zi /FS /Fd"flight.pdb" /DSERVER_ADDRESS="\"127.0.0.1\"" /DDEBUG_RENDERING
|
||||
set compileopts=/Fe"flight_debug" /Zi /FS /Fd"flight.pdb" /DDEBUG_RENDERING /DDEBUG
|
||||
call build_msvc.bat
|
@ -1,3 +1,3 @@
|
||||
call shadergen.bat
|
||||
set compileopts=/Fe"flight_release" /O2
|
||||
set compileopts=/Fe"flight_release" /O2 /DRELEASE
|
||||
call build_msvc.bat
|
@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef SERVER_ADDRESS
|
||||
#error Don't define server address from the build system, use the build settings header
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
#define SERVER_ADDRESS "127.0.0.1"
|
||||
|
||||
#define PROFILING
|
||||
#define DEBUG_RENDERING
|
||||
#define DEBUG_WORLD
|
||||
#define UNLOCK_ALL
|
||||
#define INFINITE_RESOURCES
|
||||
#define NO_GRAVITY
|
||||
|
||||
#else
|
||||
|
||||
#ifdef RELEASE
|
||||
|
||||
#define SERVER_ADDRESS "207.246.80.160"
|
||||
|
||||
#else
|
||||
#error Define either DEBUG or RELEASE
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue