Update README.md
This commit is contained in:
parent
73b7880243
commit
8ddeb8ddf7
1 changed files with 2 additions and 3 deletions
|
@ -6,10 +6,9 @@ CMake for D2
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
1. Download and extract https://github.com/dcarp/cmake-d/archive/master.zip to a local directory \<cmake-d-dir\>
|
1. Download and extract https://github.com/dcarp/cmake-d/archive/master.zip to a local directory \<local-dir\>
|
||||||
2. Create a D CMake Project: project(project-name D)
|
2. Create a D CMake Project: project(project-name D)
|
||||||
3. Run cmake as usual specifing the cmake-d path. To cache it, don't forget to specify the *:PATH* variable type.<br/>
|
3. Run cmake as usual specifing the cmake-d path. To cache it, don't forget to specify the *:PATH* variable type.<br/>
|
||||||
```
|
```
|
||||||
cmake -DCMAKE_MODULE_PATH:PATH=<cmake-d-dir>/cmake-d <path-to-source>
|
cmake -DCMAKE_MODULE_PATH:PATH=<local-dir>/cmake-d <path-to-source>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue