diff options
| author | Mike Wey | 2017-05-19 20:29:37 +0200 |
|---|---|---|
| committer | Mike Wey | 2017-05-19 20:31:44 +0200 |
| commit | 87c811161c608f8428ff8e399c60f9672c6cfc7e (patch) | |
| tree | 59f2d3656e14e13c32354a835a5251bea864a174 /windows.mak | |
| parent | 1f55c1eaf58bd2bcdb8d11656e816db2e9f05682 (diff) | |
Swith to using a config file.
This is hopefully a first step to supporting dub. See #12
Diffstat (limited to 'windows.mak')
| -rw-r--r-- | windows.mak | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/windows.mak b/windows.mak index 7a587b9..4160adb 100644 --- a/windows.mak +++ b/windows.mak @@ -523,6 +523,13 @@ docs\c\xwindow.html: dmagick\c\xwindow.d ################### Library generation ######################### +dmagick\c\magickVersion.d: dmagick\c\magickVersion.d.in + @powershell -Command "get-content $** | \ + %{$$_ -replace '@MagickLibVersion@','700'} | \ + %{$$_ -replace '@MagickLibVersionText@','7.0.0'} | \ + %{$$_ -replace '@QuantumDepth@','16'} | \ + %{$$_ -replace '@HDRI@','false'} | Set-Content $@" + $(LIBNAME): $(SOURCE) $(DMD) -lib -of$(LIBNAME) $(DFLAGS) $(SOURCE) @@ -541,6 +548,7 @@ stubmain.d: echo void main(){} > $@ clean: + del dmagick\c\magickVersion.d del $(LIBNAME) del $(MAGICKCORELIBNAME) del $(DOCS) |
