Gears/dub.json

47 lines
1.5 KiB
JSON

{
"name": "main",
"targetType": "none",
"subPackages": [
{
"name": "gears",
"targetType": "executable",
"targetName": "Gears",
"targetPath": "build",
"sourceFiles-linux": ["build/libvma.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": [],
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"]
},
{
"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/libstb_image.a", "build/libm3d.a"],
"preGenerateCommands-linux": ["./build-vma.sh"],
"preGenerateCommands-windows": [],
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"],
},
{
"name": "codegen",
"targetType": "executable",
"targetPath": "build",
"targetName": "Codegen",
"importPaths": ["src/codegen", "src/shared"],
"sourcePaths": ["src/codegen", "src/shared"],
"sourceFiles-linux": ["build/libstb_image.a"],
"preGenerateCommands-linux": ["./build-vma.sh"],
"preGenerateCommands-windows": [],
"versions": ["codegen"],
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"],
}
]
}