2013-10-16 15:12:54 +00:00
|
|
|
cmake-d
|
2013-10-14 21:49:56 +00:00
|
|
|
=======
|
|
|
|
|
2013-10-16 15:12:54 +00:00
|
|
|
CMake for D2
|
2013-10-14 23:12:34 +00:00
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
2013-10-16 15:12:54 +00:00
|
|
|
1. Download and extract https://github.com/dcarp/cmake-d/archive/master.zip to a local directory \<cmake-d-dir\>
|
2013-10-14 23:12:34 +00:00
|
|
|
2. Create a D CMake Project: project(project-name D)
|
2013-10-16 15:12:54 +00:00
|
|
|
3. Run cmake as usual specifing the cmake-d path. To cache it, don't forget to specify the *:PATH* variable type.<br/>
|
2013-10-14 23:55:13 +00:00
|
|
|
```
|
2013-10-16 15:22:30 +00:00
|
|
|
cmake -DCMAKE_MODULE_PATH:PATH=<cmake-d-dir>/cmake-d <path-to-source>
|
2013-10-14 23:55:13 +00:00
|
|
|
```
|
2013-10-16 16:16:13 +00:00
|
|
|
|