Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework


Package-Specific Command-Line Compiler Switches



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə221/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   217   218   219   220   221   222   223   224   ...   294
DelphiLanguageGuide

Package-Specific Command-Line Compiler Switches
The following package-specific switches are available for the command-line compiler.
Package-specific command-line compiler switches
Switch
Purpose
-$G-
Disables creation of imported data references. Using this switch increases memory-
access efficiency, but prevents packages compiled with it from referencing variables
in other packages.
LE path
Specifies the directory where the compiled package file will be placed.
LN path
Specifies the directory where the package dcp or dcpil file will be placed.
LUpackageName [;packageName2;...] Specifies additional runtime packages to use in an application. Used when compiling
a project.
Z
Prevents a package from being implicitly recompiled later. Use when compiling
packages that provide low-level functionality, that change infrequently between
builds, or whose source code will not be distributed.
Using the 
-$G-
 switch may prevent a package from being used in the same application with other packages.
Other command-line options may be used, if appropriate, when compiling packages.
Note:
When using the -LU switch on the .NET platform, you can refer to the package with or without the .dll
extension. If you omit the .dll extension, the compiler will look for the package on the unit search path, and
on the package search path. However, if the package specification contains a drive letter or the path separator
character, then the compiler will assume the package name is the full file name (including the .dll extension).
In the latter case, if you specify a full or relative path, but omit the .dll extension, the compiler will not be able
to locate the package.
189



Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   217   218   219   220   221   222   223   224   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin