Gears/dub.json
2025-07-12 08:15:48 +10:00

46 lines
1.6 KiB
JSON

{
"name": "main",
"targetType": "none",
"subPackages": [
{
"name": "gears",
"targetType": "executable",
"targetName": "Gears",
"targetPath": "build",
"sourceFiles-linux": ["build/libvma.a", "build/libxxhash.a", "build/libstb_image.a"],
"sourceFiles-windows": [],
"importPaths": ["src/gears", "src/shared", "src/generated"],
"sourcePaths": ["src/gears", "src/shared", "src/generated"],
"libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++"],
"libs-windows": [],
"preGenerateCommands-linux": ["./build-vma.sh", "build/Codegen", "dub main:packer", "build/Packer"],
"preGenerateCommands-windows": [],
},
{
"name": "packer",
"targetType": "executable",
"targetPath": "build",
"targetName": "Packer",
"importPaths": ["src/packer", "src/shared", "src/generated"],
"sourcePaths": ["src/packer", "src/shared", "src/generated"],
"sourceFiles-linux": ["build/libxxhash.a", "build/libstb_image.a", "build/libm3d.a"],
"preGenerateCommands-linux": ["./build-vma.sh"],
"preGenerateCommands-windows": [],
"dflags-dmd": ["-P=-DXXH_VECTOR=0", "-P=-DSTBI_NO_SIMD", "-P=-DXXH_NO_PREFTECH"],
},
{
"name": "codegen",
"targetType": "executable",
"targetPath": "build",
"targetName": "Codegen",
"importPaths": ["src/codegen", "src/shared"],
"sourcePaths": ["src/codegen", "src/shared"],
"sourceFiles-linux": ["build/libxxhash.a", "build/libstb_image.a"],
"preGenerateCommands-linux": ["./build-vma.sh"],
"preGenerateCommands-windows": [],
"versions": ["codegen"],
"dflags-dmd": ["-P=-DXXH_VECTOR=0", "-P=-DSTBI_NO_SIMD", "-P=-DXXH_NO_PREFTECH"],
}
]
}