cmake-d/README.md

16 lines
408 B
Markdown
Raw Normal View History

2013-10-16 17:12:54 +02:00
cmake-d
2013-10-14 23:49:56 +02:00
=======
2013-10-16 17:12:54 +02:00
CMake for D2
2013-10-15 01:12:34 +02:00
Usage
-----
2013-10-16 17:12:54 +02:00
1. Download and extract https://github.com/dcarp/cmake-d/archive/master.zip to a local directory \<cmake-d-dir\>
2013-10-15 01:12:34 +02:00
2. Create a D CMake Project: project(project-name D)
2013-10-16 17:12:54 +02: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-15 01:55:13 +02:00
```
2013-10-16 17:22:30 +02:00
cmake -DCMAKE_MODULE_PATH:PATH=<cmake-d-dir>/cmake-d <path-to-source>
2013-10-15 01:55:13 +02:00
```
2013-10-16 18:16:13 +02:00