⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.windows

📁 利用VB、Java、C++实现的AE镶嵌工具。
💻 WINDOWS
字号:
#
# The PROGRAM macro defines the name of the program or project.  It
# allows the program name to be changed by editing in only one
# location
#

PROGRAM = MosaicRaster.exe

#
# Command line parameters: Edit these parameters so that you can
# easily run the sample by typing "nmake /f Makefile.Windows run".
# FULL_PATH_TO_INPUT_RASTERS is the path to the input GRID rasters
# (e.g.  c:\path\to\dataset\directory).  INPUT_1 and INPUT_2 are the
# names of GRID rasters in the input directory that will be mosaiced.
# If you have 3 or 4 rasters to mosaic add additional parameters for
# them here and edit the run target at the bottom of the file.
# OUTPUT_FORMAT (either "GRID", "TIFF", or "IMAGINE") is the format
# for the mosaiced raster.  OUTPUT_NAME is the name of the raster that
# will be created.  You may want to enclose path in quotes.
#

PATH_TO_INPUT_RASTERS =

INPUT_1 = 

INPUT_2 = 

OUTPUT_FORMAT = 

OUTPUT_NAME = 

#
# The INCLUDEDIRS macro contains a list of include directories
# to pass to the compiler so it can find necessary header files.
# This must include not only the location of the SDK headers, but
# also the location of the ArcGIS OLB files.
#

INCLUDEDIRS = \
	/I "C:\Program Files\ArcGIS\include\CPPAPI" \
	/I "C:\Program Files\ArcGIS\Com"

#
# The CPPSOURCES macro contains a list of source files.
#
# The CPPOBJECTS macro contains a list of object files.
#
# The CPPFLAGS macro contains a list of options to be passed to
# the compiler.  The /GX flag enables synchronous exception handling.
# Adding "/Yd" to this line will cause the compiler to add
# debugging information to the executable.
#

CPPSOURCES = ..\MosaicRaster.cpp ..\LicenseUtilities.cpp
CPPOBJECTS = MosaicRaster.obj LicenseUtilities.obj
CPPFLAGS = /DESRI_WINDOWS $(INCLUDEDIRS) /nologo /GX

#
# Link target: automatically builds its object dependencies before
# executing its link command.
#

$(PROGRAM): $(CPPOBJECTS)
	link.exe /out:$@ $(CPPOBJECTS)

#
# Create an inference rule for .obj targets in the current directory
# and .cpp dependents which are one directory above
#

{..\}.cpp{}.obj:
	$(CPP) $(CPPFLAGS) /c ..\$*.cpp

#
# Object targets: rules that define objects, their dependencies, and
# a list of commands for compilation.  Our compilation command was 
# provided above.
#

MosaicRaster.obj: ..\MosaicRaster.cpp ..\MosaicRaster.h

LicenseUtilities.obj: ..\LicenseUtilities.cpp ..\LicenseUtilities.h

#
# Clean target: "nmake clean" to remove unwanted objects and executables.
#

clean:
	del $(CPPOBJECTS) $(PROGRAM) *.tlh

#
# run target: Edit the command line parameters at the top of the file
# and type "nmake /f Makefile.Windows run" to run the sample.  If you need
# to mosaic 3 or 4 rasters then add additional parameters here and at
# the top of the file.
#

run:
	$(PROGRAM) -p $(PATH_TO_INPUT_RASTERS) -i $(INPUT_1) -i $(INPUT_2) -f $(OUTPUT_FORMAT) -o $(OUTPUT_NAME)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -