Fixup readme markdown formatting

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2019-04-14 08:48:00 +02:00
parent 6298787aa3
commit 82655e6e0e

View File

@ -33,7 +33,7 @@ If you already have `wintun.vcxproj.user` file, just add the `<PropertyGroup>` s
## Building from Command Line ## Building from Command Line
Open _Developer Command Prompt for VS 2017_ and use `nmake` command: Open _Developer Command Prompt for VS 2017_ and use the `nmake` command:
``` ```
nmake [<target>] [CFG=<configuration>] [PLAT=<platform>] nmake [<target>] [CFG=<configuration>] [PLAT=<platform>]
@ -41,32 +41,28 @@ nmake [<target>] [CFG=<configuration>] [PLAT=<platform>]
### Targets ### Targets
`build` - `build`: Builds the driver. This is the default target.
Builds the driver. This is the default target.
`clean` - `clean`: Deletes all intermediate and output files.
Deletes all intermediate and output files.
`dvl` - `dvl`: Runs Static Driver Verifier, which includes a clean driver build, and creates a Driver Verification Log in `wintun.DVL.XML` file. Release configurations only. When you are ready to test your driver using the Windows Hardware Certification Kit (HCK), you need to copy the `wintun.DVL.XML` file to the `%SystemDrive%\DVL` directory on the test computer.
Runs Static Driver Verifier, which includes a clean driver build, and creates a Driver Verification Log in `wintun.DVL.XML` file. Release configurations only. When you are ready to test your driver using the Windows Hardware Certification Kit (HCK), you need to copy the `wintun.DVL.XML` file to the `%SystemDrive%\DVL` directory on the test computer.
The driver output folder is: The driver output folder is:
| Platform and Configuration | Folder |
| -------------------------- | -------------------- | Platform and Configuration | Folder
| x86 Debug | `Debug\wintun` | -------------------------- | --------------------
| x86 Release | `Release\wintun` | x86 Debug | `Debug\wintun`
| AMD64 Debug | `x64\Debug\wintun` | x86 Release | `Release\wintun`
| AMD64 Release | `x64\Release\wintun` | AMD64 Debug | `x64\Debug\wintun`
AMD64 Release | `x64\Release\wintun`
### Properties ### Properties
Properties may be defined as environment variables, or specified on the `nmake` command line. Properties may be defined as environment variables, or specified on the `nmake` command line.
`CFG` - `CFG`: Specifies configuration to build or clean. May be `Debug` or `Release` (default).
Specifies configuration to build or clean. May be `Debug` or `Release` (default).
`PLAT` - `PLAT`: Specifies driver platform to build. May be `Win32` or `x64` (default).
Specifies driver platform to build. May be `Win32` or `x64` (default).
## Usage ## Usage