restructure project

This commit is contained in:
matthew 2025-07-08 04:24:34 +10:00
parent 6bec397d91
commit ad53a5d948
18 changed files with 8 additions and 10 deletions

View File

@ -1 +0,0 @@
#include "../external/xxhash/xxhash.h"

View File

@ -7,11 +7,10 @@
"targetType": "executable", "targetType": "executable",
"targetName": "Gears", "targetName": "Gears",
"targetPath": "build", "targetPath": "build",
"platforms": ["linux", "windows"],
"sourceFiles-linux": ["build/libvma.a", "build/libxxhash.a"], "sourceFiles-linux": ["build/libvma.a", "build/libxxhash.a"],
"sourceFiles-windows": [], "sourceFiles-windows": [],
"importPaths": ["src"], "importPaths": ["src/gears", "src/shared"],
"sourcePaths": ["src"], "sourcePaths": ["src/gears", "src/shared"],
"libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++"], "libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++"],
"libs-windows": [], "libs-windows": [],
"preGenerateCommands-linux": ["./build-vma.sh"], "preGenerateCommands-linux": ["./build-vma.sh"],
@ -22,10 +21,9 @@
"targetType": "executable", "targetType": "executable",
"targetPath": "build", "targetPath": "build",
"targetName": "Packer", "targetName": "Packer",
"platforms": ["linux", "windows"], "importPaths": ["src/packer", "src/shared"],
"importPaths": ["src", "asset-packer"], "sourcePaths": ["src/packer", "src/shared"],
"sourceFiles-linux": ["src/util.d", "build/libxxhash.a"], "sourceFiles-linux": ["build/libxxhash.a"],
"sourcePaths": ["asset-packer"],
} }
] ]
} }

View File

@ -20,6 +20,6 @@
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1 #define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
#define VMA_VULKAN_VERSION 1003000 #define VMA_VULKAN_VERSION 1003000
#include "../external/vma/vk_mem_alloc.h" #include "../../external/vma/vk_mem_alloc.h"
#include "../external/xxhash/xxhash.h" #include "../../external/xxhash/xxhash.h"

Binary file not shown.

1
src/packer/includes.c Normal file
View File

@ -0,0 +1 @@
#include "../../external/xxhash/xxhash.h"