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

📄 makefile.windows

📁 ArcGIS编程学习事例
💻 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 = TinStats.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_TIN is the full path to the input tin (e.g.
# c:\path\to\tin).  You may want to enclose the file
# paths in quotes.
#

FULL_PATH_TO_TIN = 

#
# 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 = ..\TinStats.cpp ..\PathUtilities.cpp ..\LicenseUtilities.cpp
CPPOBJECTS = TinStats.obj PathUtilities.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.
#

TinStats.obj: ..\TinStats.cpp ..\TinStats.h

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

PathUtilities.obj: ..\PathUtilities.cpp ..\PathUtilities.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.
#

run:
	$(PROGRAM) $(FULL_PATH_TO_TIN)

⌨️ 快捷键说明

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