48 lines
1.6 KiB
JSON
48 lines
1.6 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", "external/xxhash"],
|
|
"sourcePaths": ["src/gears", "src/shared", "src/generated", "external/xxhash"],
|
|
"libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++"],
|
|
"libs-windows": [],
|
|
"preGenerateCommands-linux": ["./build-vma.sh", "build/Codegen", "dub main:packer"],
|
|
"preGenerateCommands-windows": [],
|
|
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"]
|
|
},
|
|
{
|
|
"name": "packer",
|
|
"targetType": "executable",
|
|
"targetPath": "build",
|
|
"targetName": "Packer",
|
|
"importPaths": ["src/packer", "src/shared", "src/generated", "external/xxhash"],
|
|
"sourcePaths": ["src/packer", "src/shared", "src/generated", "external/xxhash"],
|
|
"sourceFiles-linux": ["build/libstb_image.a", "build/libm3d.a"],
|
|
"preGenerateCommands-linux": ["./build-vma.sh"],
|
|
"postGenerateCommands-linux": ["build/Packer"],
|
|
"preGenerateCommands-windows": [],
|
|
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"],
|
|
},
|
|
{
|
|
"name": "codegen",
|
|
"targetType": "executable",
|
|
"targetPath": "build",
|
|
"targetName": "Codegen",
|
|
"importPaths": ["src/codegen", "src/shared", "external/xxhash"],
|
|
"sourcePaths": ["src/codegen", "src/shared", "external/xxhash"],
|
|
"sourceFiles-linux": ["build/libstb_image.a"],
|
|
"preGenerateCommands-linux": ["./build-vma.sh"],
|
|
"preGenerateCommands-windows": [],
|
|
"versions": ["codegen"],
|
|
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"],
|
|
}
|
|
]
|
|
}
|