Description

Simple file inclusion in D programs.

Package Information

Version1.0.0 (2015-Oct-09)
Repository https://github.com/aquaratixc/dinclusion
LicenseESL-1.0
CopyrightCopyright © 2015, aquaratixc
Authorsaquaratixc
Registered byOleg Baharew
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

dinclusion

Simple file inclusion in D programs.

How to use

To create a inclusion-file with utility dinclusion run the following command at a command prompt:

dinclusion file1 file2 ... fileN

After the command, the utility will create appropriate files with names file1.di, file2.di etc.

The use in the project.

For use in the project file, edit the D interface files and replace dinclusion inserts with your names for variable in this inserts.

After editing, add command import file1, file2, ..., fileN; in import section of your project and compile project with following command:

dmd your_d_project file1.di file2.di .. fileN.di

Available versions

1.0.0 ~master