Skip to content

Commit 9bb7226

Browse files
committed
reduce makefile output
1 parent fde568a commit 9bb7226

File tree

4 files changed

+37
-29
lines changed

4 files changed

+37
-29
lines changed

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,3 +1468,9 @@ Version history
14681468
- some optimizations to to reduce communication overhead
14691469
* fixed WindowsApp template to build with recent DMD
14701470

1471+
2025-10-12 version 1.5.0-beta2
1472+
* dbuild: add option to select the D runtime: none/druntime/phobos (druntime LDC only)
1473+
* dmdserver:
1474+
- fix always skipping debug statements
1475+
- fix some crashes in the frontend
1476+
* exclude \\.\C: from dependencies generated by LDC v1.40+

Makefile

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ dmdserver_test:
8181
devenv /Project "dmdserver" /Build "TestDebug|x64" visuald_vs10.sln
8282

8383
dparser:
84-
cd vdc\abothe && $(MSBUILD15) vdserver.sln /p:Configuration=Release;Platform="Any CPU" /p:TargetFrameworkVersion=4.5.2 /p:DefineConstants=NET40 /t:Rebuild
84+
cd vdc\abothe && $(MSBUILD15) vdserver.sln /p:Configuration=Release;Platform="Any CPU" /p:TargetFrameworkVersion=4.5.2 /p:DefineConstants=NET40 $(MSBUILD_REBUILD)
8585
editbin /STACK:0x800000 bin\Release\DParserCOMServer\DParserCOMServer.exe
8686

8787
dparser_test:
@@ -94,18 +94,20 @@ fake_dparser:
9494
if not exist bin\Release\DParserCOMServer\DParserCOMServer.exe echo dummy >bin\Release\DParserCOMServer\DParserCOMServer.exe
9595
if not exist bin\Release\DParserCOMServer\D_Parser.dll echo dummy >bin\Release\DParserCOMServer\D_Parser.dll
9696

97+
MSBUILD_REBUILD = /verbosity:quiet /t:Rebuild
98+
9799
vdextension:
98-
cd vdextensions && $(MSBUILD) vdextensions.csproj /p:Configuration=Release;Platform=AnyCPU /t:Rebuild
100+
cd vdextensions && $(MSBUILD) vdextensions.csproj /p:Configuration=Release;Platform=AnyCPU $(MSBUILD_REBUILD)
99101

100102
vdext15:
101-
cd vdextensions && $(MSBUILD) vdext15.csproj /p:Configuration=Release;Platform=AnyCPU /t:Rebuild
103+
cd vdextensions && $(MSBUILD) vdext15.csproj /p:Configuration=Release;Platform=AnyCPU $(MSBUILD_REBUILD)
102104

103105
visualdwizard:
104-
cd vdwizard && $(MSBUILD) VisualDWizard.csproj /p:Configuration=Release;Platform=AnyCPU /t:Rebuild
106+
cd vdwizard && $(MSBUILD) VisualDWizard.csproj /p:Configuration=Release;Platform=AnyCPU $(MSBUILD_REBUILD)
105107

106108
dbuild12:
107109
# cd msbuild\dbuild && devenv /Build "Release|AnyCPU" /Project "dbuild" dbuild.sln
108-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release;Platform=AnyCPU /t:Rebuild
110+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release;Platform=AnyCPU $(MSBUILD_REBUILD)
109111

110112
fake_dbuild12:
111113
if not exist msbuild\dbuild\obj\release\nul md msbuild\dbuild\obj\release
@@ -114,7 +116,7 @@ fake_dbuild12:
114116

115117
dbuild14:
116118
# cd msbuild\dbuild && devenv /Build "Release-v14|AnyCPU" /Project "dbuild" dbuild.sln
117-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v14;Platform=AnyCPU /t:Rebuild
119+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v14;Platform=AnyCPU $(MSBUILD_REBUILD)
118120

119121
fake_dbuild14:
120122
if not exist msbuild\dbuild\obj\release-v14\nul md msbuild\dbuild\obj\release-v14
@@ -123,7 +125,7 @@ fake_dbuild14:
123125

124126
dbuild15:
125127
# cd msbuild\dbuild && devenv /Build "Release-v15|AnyCPU" /Project "dbuild" dbuild.sln
126-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v15;Platform=AnyCPU /t:Rebuild
128+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v15;Platform=AnyCPU $(MSBUILD_REBUILD)
127129

128130
fake_dbuild15:
129131
if not exist msbuild\dbuild\obj\release-v15\nul md msbuild\dbuild\obj\release-v15
@@ -132,65 +134,65 @@ fake_dbuild15:
132134

133135
dbuild16:
134136
# cd msbuild\dbuild && devenv /Build "Release-v16|AnyCPU" /Project "dbuild" dbuild.sln
135-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v16;Platform=AnyCPU /t:Rebuild
137+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v16;Platform=AnyCPU $(MSBUILD_REBUILD)
136138

137139
dbuild16_1:
138140
# cd msbuild\dbuild && devenv /Build "Release-v16_1|AnyCPU" /Project "dbuild" dbuild.sln
139-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v16_1;Platform=AnyCPU /t:Rebuild
141+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v16_1;Platform=AnyCPU $(MSBUILD_REBUILD)
140142

141143
dbuild17:
142-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17;Platform=AnyCPU /t:Rebuild
144+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17;Platform=AnyCPU $(MSBUILD_REBUILD)
143145

144146
dbuild17_0:
145-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_0;Platform=AnyCPU /t:Rebuild
147+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_0;Platform=AnyCPU $(MSBUILD_REBUILD)
146148

147149
dbuild17_1:
148-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_1;Platform=AnyCPU /t:Rebuild
150+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_1;Platform=AnyCPU $(MSBUILD_REBUILD)
149151

150152
dbuild17_2:
151-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_2;Platform=AnyCPU /t:Rebuild
153+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_2;Platform=AnyCPU $(MSBUILD_REBUILD)
152154

153155
dbuild17_3:
154-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_3;Platform=AnyCPU /t:Rebuild
156+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_3;Platform=AnyCPU $(MSBUILD_REBUILD)
155157

156158
dbuild17_4:
157-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_4;Platform=AnyCPU /t:Rebuild
159+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_4;Platform=AnyCPU $(MSBUILD_REBUILD)
158160

159161
dbuild17_5:
160-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_5;Platform=AnyCPU /t:Rebuild
162+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_5;Platform=AnyCPU $(MSBUILD_REBUILD)
161163

162164
dbuild17_6:
163-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_6;Platform=AnyCPU /t:Rebuild
165+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_6;Platform=AnyCPU $(MSBUILD_REBUILD)
164166

165167
dbuild17_7:
166-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_7;Platform=AnyCPU /t:Rebuild
168+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_7;Platform=AnyCPU $(MSBUILD_REBUILD)
167169

168170
dbuild17_8:
169-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_8;Platform=AnyCPU /t:Rebuild
171+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_8;Platform=AnyCPU $(MSBUILD_REBUILD)
170172

171173
dbuild17_9:
172-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_9;Platform=AnyCPU /t:Rebuild
174+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_9;Platform=AnyCPU $(MSBUILD_REBUILD)
173175

174176
dbuild17_10:
175-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_10;Platform=AnyCPU /t:Rebuild
177+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_10;Platform=AnyCPU $(MSBUILD_REBUILD)
176178

177179
dbuild17_11:
178-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_11;Platform=AnyCPU /t:Rebuild
180+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_11;Platform=AnyCPU $(MSBUILD_REBUILD)
179181

180182
dbuild17_12:
181-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_12;Platform=AnyCPU /t:Rebuild
183+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_12;Platform=AnyCPU $(MSBUILD_REBUILD)
182184

183185
dbuild17_13:
184-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_13;Platform=AnyCPU /t:Rebuild
186+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_13;Platform=AnyCPU $(MSBUILD_REBUILD)
185187

186188
dbuild17_14:
187-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_14;Platform=AnyCPU /t:Rebuild
189+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_14;Platform=AnyCPU $(MSBUILD_REBUILD)
188190

189191
dbuild17_all: dbuild17_0 dbuild17_1 dbuild17_2 dbuild17_3 dbuild17_4 dbuild17_5 dbuild17_6 dbuild17_7 \
190192
dbuild17_8 dbuild17_9 dbuild17_10 dbuild17_11 dbuild17_12 dbuild17_13 dbuild17_14
191193

192194
dbuild18_0:
193-
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v18_0;Platform=AnyCPU /t:Rebuild
195+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v18_0;Platform=AnyCPU $(MSBUILD_REBUILD)
194196

195197
dbuild18_all: dbuild18_0
196198

vdc/dmdserver/dmdserver.visualdproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
<nofloat>0</nofloat>
299299
<ignoreUnsupportedPragmas>0</ignoreUnsupportedPragmas>
300300
<allinst>0</allinst>
301-
<stackStomp>0</stackStomp>
301+
<stackStomp>1</stackStomp>
302302
<betterC>0</betterC>
303303
<dip25>0</dip25>
304304
<dip1000>0</dip1000>
@@ -1432,7 +1432,7 @@
14321432
<nofloat>0</nofloat>
14331433
<ignoreUnsupportedPragmas>0</ignoreUnsupportedPragmas>
14341434
<allinst>0</allinst>
1435-
<stackStomp>0</stackStomp>
1435+
<stackStomp>1</stackStomp>
14361436
<betterC>0</betterC>
14371437
<dip25>0</dip25>
14381438
<dip1000>0</dip1000>

0 commit comments

Comments
 (0)