Module files for standard VCL files, such as Dialogs, StringUtils, etc., are never mentioned in the DPR project file. But when should I add a link to the DPR file? Now I have my own source files and a source of my own components.
How about source files for Ravereport, Devexpress, Indy, Gnostice, etc.? I want to specify the code as quickly as possible, but, of course, I do not want to add bloat to the DPR file. I am using Delphi 2007
See also question for related problem.
Hi
, dpr uses. VCL . vcl .
dpr, , , , , "" dcu .
, . , . "unit1", dpr , . , .
dpr , vcl . . vcl. (), ...
, , $(MVC)\ComponentName\Source, () . , , ( USB-) MVC Delphi. , , , .
( ) DPR, DPR. , (, ), GuiTestRunner TextTestRunner ( DUnit):
program MyTest; uses all.pas in 'src\all.pas', your.pas in 'src\your.pas', project.pas in 'test\projects.pas', units.pas in 'test\units.pas', TextTestRunner; var R: TTestResult; begin R := TextTestRunner.RunRegisteredTests; ExitCode := R.ErrorCount + R.FailureCount; end.
, Indy , , .
.dpr. , , ( ) .
However, I don’t really look at the nodes through the project inspector, I mainly move units with ctrl-enter, opening the units. My colleague had to get used to it a lot, so it might not be feasible for a mouse-oriented team.