optionalJson
immutable
auto optionalJson =
`
[
{
"type": "fixed",
"outputs": ["foo.o"],
"command": {"type": "shell", "cmd": "dmd -of$out -c $in"},
"dependencies": {
"type": "fixed",
"targets": [
{"type": "fixed",
"outputs": ["foo.d"],
"command": {},
"dependencies": {"type": "fixed", "targets": []},
"implicits": {"type": "fixed", "targets": []}}]},
"implicits": {"type": "fixed", "targets": []}
},
{
"type": "fixed",
"outputs": ["bar.o"],
"command": {"type": "shell", "cmd": "dmd -of$out -c $in"},
"dependencies": {
"type": "fixed",
"targets": [
{"type": "fixed",
"outputs": ["bar.d"],
"command": {},
"dependencies": {"type": "fixed", "targets": []},
"implicits": {"type": "fixed", "targets": []}}]},
"implicits": {"type": "fixed", "targets": []},
"optional": true
}
]
`;