windows build fixes
This commit is contained in:
parent
e90dd615d4
commit
732200a461
2 changed files with 6 additions and 9 deletions
|
|
@ -40,7 +40,7 @@ module;
|
|||
#include <wayland-client-protocol.h>
|
||||
#endif
|
||||
#ifdef CRAFTER_GRAPHICS_VULKAN
|
||||
#ifndef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32
|
||||
#ifndef CRAFTER_GRAPHICS_WINDOWS
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -282,7 +282,7 @@ export namespace Crafter {
|
|||
// Command buffer submission and execution
|
||||
VkSemaphore renderComplete;
|
||||
};
|
||||
#ifndef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32
|
||||
#ifndef CRAFTER_GRAPHICS_WINDOWS
|
||||
class WindowVulkan final : public Window, public WindowKeyboard, public WindowMouse, public WindowTitle {
|
||||
public:
|
||||
WindowVulkan(std::uint32_t width, std::uint32_t height);
|
||||
|
|
|
|||
11
project.json
11
project.json
|
|
@ -42,6 +42,9 @@
|
|||
"defines": [
|
||||
{
|
||||
"name": "CRAFTER_GRAPHICS_VULKAN"
|
||||
},
|
||||
{
|
||||
"name": "CRAFTER_GRAPHICS_WINDOWS"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -111,24 +114,18 @@
|
|||
{
|
||||
"name": "lib-vulkan-windows",
|
||||
"extends": ["vulkan-windows", "deps"],
|
||||
"type": "library",
|
||||
"target": "x86_64-w64-mingw32",
|
||||
"march": "x86-64"
|
||||
"type": "library"
|
||||
},
|
||||
{
|
||||
"name": "lib-vulkan-windows-debug",
|
||||
"extends": ["vulkan-windows", "deps-debug"],
|
||||
"type": "library",
|
||||
"target": "x86_64-w64-mingw32",
|
||||
"march": "x86-64",
|
||||
"debug": true
|
||||
},
|
||||
{
|
||||
"name": "lib-vulkan-windows-timing",
|
||||
"extends": ["vulkan-windows", "deps-timing"],
|
||||
"type": "library",
|
||||
"target": "x86_64-w64-mingw32",
|
||||
"march": "x86-64",
|
||||
"defines": [{ "name": "CRAFTER_TIMING" }]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue