diff --git a/README.markdown b/README.markdown index dac3b69..145159d 100644 --- a/README.markdown +++ b/README.markdown @@ -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. @@ -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) diff --git a/SetupEnvironment.bat b/SetupEnvironment.bat index a61d528..c3ad6ad 100644 --- a/SetupEnvironment.bat +++ b/SetupEnvironment.bat @@ -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" - ) - ) - ) ) ) )