Dlang equivalent of #define/#ifdef : not... version
mw
mingwu at gmail.com
Tue Apr 20 19:24:12 UTC 2021
On Tuesday, 20 April 2021 at 18:57:46 UTC, ichneumwn wrote:
> So my questions:
> - is there a module-crossing equivalent of "version"?
https://dub.pm/package-format-json.html
Configurations / versions
{
...
"name": "somepackage",
"configurations": [
{
"name": "metro-app",
"targetType": "executable",
"platforms": ["windows"],
"versions": ["MetroApp"],
"libs": ["d3d11"]
},
{
"name": "desktop-app",
"targetType": "executable",
"platforms": ["windows"],
"versions": ["DesktopApp"],
"libs": ["d3d9"]
},
{
"name": "glut-app",
"targetType": "executable",
"versions": ["GlutApp"]
}
]
}
More information about the Digitalmars-d-learn
mailing list