cmake-d/README.md

15 lines
403 B
Markdown
Raw Normal View History

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
-----
2014-03-24 23:34:52 +00:00
1. Download and extract https://github.com/dcarp/cmake-d/archive/master.zip to a local directory \<local-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
```
2014-03-24 23:34:52 +00:00
cmake -DCMAKE_MODULE_PATH:PATH=<local-dir>/cmake-d <path-to-source>
2013-10-14 23:55:13 +00:00
```