Instructions to cache the CMAKE_MODULE_PATH variable
This commit is contained in:
parent
7b4e66d6f2
commit
77f3ad4ab0
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ Usage
|
||||||
|
|
||||||
1. Download and extract https://github.com/dcarp/cmaked2/archive/master.zip to a local directory \<cmaked2-path\>
|
1. Download and extract https://github.com/dcarp/cmaked2/archive/master.zip to a local directory \<cmaked2-path\>
|
||||||
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 cmaked2 path:<br/>
|
3. Run cmake as usual specifing the cmaked2 path. To cache it, don't forget to specify the variable type (:PATH).<br/>
|
||||||
```
|
```
|
||||||
cmake -DCMAKE_MODULE_PATH=<cmaked2-path> <path-to-source>
|
cmake -DCMAKE_MODULE_PATH:PATH=<cmaked2-path> <path-to-source>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue