File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 57
57
$(LI `CppRuntime_Sun`)
58
58
)
59
59
)
60
+
61
+ $(P
62
+ The C++ runtime in use generally depends on the C++ compiler used to build the C++ code that will be linked against.
63
+ This is contrast to the C runtime, which generally depends on the target system.
64
+ )
60
65
)
61
66
62
67
$(LI $(LNAME2 deprecated_switch_gc,Deprecated CLI switch `-gc` have been removed)
@@ -254,7 +259,12 @@ buildOptions "betterC"
254
259
$(LI $(LNAME2 env_var_package_version,Environment variable DUB_PACKAGE_VERSION added)
255
260
$(CHANGELOG_SOURCE_FILE dub, changelog/env_var_package_version.dd)
256
261
$(P
257
- DUB now supports the environment variable DUB_PACKAGE_VERSION containing the version of the package
262
+ When executing external commands, DUB will now set the environment variable `DUB_PACKAGE_VERSION`.
263
+ The variable will contain the version of the package being built, as it appears in the output of `dub describe`.
264
+ )
265
+ $(P
266
+ One application of this addition is to use a pre-build command to save the package version to a source file,
267
+ in order to compile the version string into the application being built.
258
268
)
259
269
)
260
270
You can’t perform that action at this time.
0 commit comments