Changeset - r17786:d6324eee7a1d
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-06-13 10:35:19
rubidium@openttd.org
(svn r22581) -Add: 'make regression' support to Makefile.msvc
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
Makefile.msvc
Show inline comments
 
@@ -28,10 +28,11 @@ BUNDLE_DIR  = "$(ROOT_DIR)/bundle"
 
BUNDLES_DIR = "$(ROOT_DIR)/bundles"
 
TTD         = openttd.exe
 
PDB         = openttd.pdb
 
MODE        = Release
 
TARGET     := $(shell echo $(PLATFORM) | sed "s@win64@x64@;s@win32@Win32@")
 

	
 
all:
 
	$(Q)cp objs/$(TARGET)/Release/$(TTD) $(BIN_DIR)/$(TTD)
 
	$(Q)cp objs/$(TARGET)/$(MODE)/$(TTD) $(BIN_DIR)/$(TTD)
 

	
 
include Makefile.bundle.in
 

	
 
@@ -40,3 +41,7 @@ bundle_pdb:
 
	$(Q)mkdir -p "$(BUNDLES_DIR)"
 
	$(Q)cp objs/$(TARGET)/Release/$(PDB) $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
 
	$(Q)xz -9 $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
 

	
 
regression: all
 
	$(Q)cp bin/$(TTD) bin/openttd
 
	$(Q)cd bin && sh ai/regression/run.sh
0 comments (0 inline, 0 general)