Mercurial > hg > openttd
changeset 17791:d1eb025f40de draft
(svn r22576) -Add: bundle_pdb command to put the pdb into the bundles directory as well
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 13 Jun 2011 07:34:55 +0000 |
parents | 36f763a51f80 |
children | 61d5211bf7b2 |
files | Makefile.msvc |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.msvc +++ b/Makefile.msvc @@ -27,9 +27,16 @@ BUNDLE_DIR = "$(ROOT_DIR)/bundle" BUNDLES_DIR = "$(ROOT_DIR)/bundles" TTD = openttd.exe +PDB = openttd.pdb TARGET := $(shell echo $(PLATFORM) | sed "s@win64@x64@;s@win32@Win32@") all: $(Q)cp objs/$(TARGET)/Release/$(TTD) $(BIN_DIR)/$(TTD) include Makefile.bundle.in + +bundle_pdb: + @echo '[BUNDLE] Creating $(BUNDLE_NAME).pdb.xz' + $(Q)mkdir -p "$(BUNDLES_DIR)" + $(Q)cp objs/$(TARGET)/Release/$(PDB) $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb + $(Q)cd xz -9 $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb