From 2ed7dca69e4b20c629c7dd30cd0e0f0e19749409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 20 Apr 2011 01:32:34 +0200 Subject: [PATCH] Install the batch file for prospector tool on windows. Prospector-related readme update. --- README.rst | 7 ++++--- Readme.html | 6 +++--- tools/supported/CMakeLists.txt | 3 +++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index f5185c3e1..e23305518 100644 --- a/README.rst +++ b/README.rst @@ -133,9 +133,10 @@ Can be used to determine tile properties like temperature. dfprospector ============ Lists all available minerals on the map and how much of them there is. -It has two parameters: --a processes all tiles, even hidden ones. --b includes layer rocks into the count. +It has one parameter: +* -a processes all tiles, even hidden ones. + +On windows, it's possible to run dfprsopector-all.bat to process all the tiles without messing with terminal windows. dfreveal ======== diff --git a/Readme.html b/Readme.html index f407065dc..75083c2dc 100644 --- a/Readme.html +++ b/Readme.html @@ -474,9 +474,9 @@ You just lost a fortress and gained an adventurer.

dfprospector

Lists all available minerals on the map and how much of them there is. -It has two parameters: --a processes all tiles, even hidden ones. --b includes layer rocks into the count.

+It has one parameter: +* -a processes all tiles, even hidden ones.

+

On windows, it's possible to run dfprsopector-all.bat to process all the tiles without messing with terminal windows.

dfreveal

diff --git a/tools/supported/CMakeLists.txt b/tools/supported/CMakeLists.txt index 88f8f22c2..bc6a01506 100644 --- a/tools/supported/CMakeLists.txt +++ b/tools/supported/CMakeLists.txt @@ -28,6 +28,9 @@ DFHACK_TOOL(dfpause forcepause.cpp) # prospector - produces a list of available materials and their quantities DFHACK_TOOL(dfprospector prospector.cpp) +IF(WIN32) + INSTALL(PROGRAMS dfprospector-all.bat DESTINATION ${DFHACK_BINARY_DESTINATION}) +ENDIF() # vdig - dig the vein under the cursor DFHACK_TOOL(dfvdig vdig.cpp)