Skip to content

Meta: mention compiler requirements, remove unsupported versions from… #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ Open a command line prompt in the directory where your compiled application and

Type: `CodeCoverage -m TestApp.map -e TestApp.exe -u TestUnit TestUnit2 -xml -html`

## Building

Due to newer language features used, somewhat newer compiler is required. The project is known to not support Delphi XE2.
XE3 will probably work. Main develop is done with 10.x versions.

## Output
### HTML output (specify `-html` as a parameter)
For each unit there will be a unit.html with a summary of the coverage, followed by the source marked up.
Expand All @@ -49,7 +54,7 @@ It is now possible to create EMMA compatible output which allows for using emma
well as using emma for generating reports.

### Delphi compatibility
DCC is compatible with Delphi up tot 10.4.2, both 32 and 64 bit.
DCC is compatible with Delphi up to 10.4.2, both 32 and 64 bit.

### SonarQube integration
You can integrate the results of the xml report in SonarQube. See the [Delphi SonarQube plugin](https://github.com/mendrix/SonarDelphi)
Expand Down
18 changes: 0 additions & 18 deletions SetupEnvironment.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,6 @@ IF EXIST "%DPF%\Embarcadero\Studio\17.0\bin\rsvars.bat" (
IF EXIST "%DPF%\Embarcadero\Studio\14.0\bin\rsvars.bat" (
ECHO Found Delphi XE6
CALL "%DPF%\Embarcadero\Studio\14.0\bin\rsvars.bat"
) ELSE (
:: check for Delphi XE2
IF EXIST "%DPF%\Embarcadero\RAD Studio\9.0\bin\rsvars.bat" (
ECHO Found Delphi XE2
CALL "%DPF%\Embarcadero\RAD Studio\9.0\bin\rsvars.bat"
) ELSE (
:: Delphi 2010
IF EXIST "%DPF%\Embarcadero\RAD Studio\7.0\bin\rsvars.bat" (
ECHO Found Delphi 2010
CALL "%DPF%\Embarcadero\RAD Studio\7.0\bin\rsvars.bat"
) ELSE (
:: Delphi 2009
IF EXIST "%DPF%\CodeGear\RAD Studio\6.0\bin\rsvars.bat" (
ECHO Found Delphi 2009
CALL "%DPF%\CodeGear\RAD Studio\6.0\bin\rsvars.bat"
)
)
)
)
)
)
Expand Down