Is there a DCC32.exe command line switch to use / create .dcu files?

When compiling a Delphi project that calls DCC32.EXE from a script, .dcu files are not generated.

Is there a command line switch (or .cfg) to force the compiler to create dcu? Will the compiler also check the .pas file and recreate the .dcu if the source has changed?

(I saw a similar question there for the Delphi 6 compiler, but I could not find it for newer versions of Delphi)

+3
source share
3 answers

-m (make) -b (build) , .dcu . .dcus .

+6

, , dcu, - -N0 ( N, ). , , dcu , () pas, .

+2

Borland ++ Builder 5. Delphi CmdLine. make bpr2mak.

, :

  • -N<path> -N0<path> dcu
  • option -N1<path>determines the output path of the hpp files .
  • option -N2<path>defines the output path for obj files
+2
source

Source: https://habr.com/ru/post/1751765/


All Articles