mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
fixing windows build x3 | replacing compile commands by compile flags
This commit is contained in:
@@ -1,812 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Application.o",
|
|
||||||
"runtime/Sources/Core/Application.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Application.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Application.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Bridge.o",
|
|
||||||
"runtime/Sources/Core/Bridge.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Bridge.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Bridge.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/EventBus.o",
|
|
||||||
"runtime/Sources/Core/EventBus.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/EventBus.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/EventBus.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/EventListener.o",
|
|
||||||
"runtime/Sources/Core/EventListener.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/EventListener.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/EventListener.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Fps.o",
|
|
||||||
"runtime/Sources/Core/Fps.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Fps.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Fps.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Graphics.o",
|
|
||||||
"runtime/Sources/Core/Graphics.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Graphics.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Graphics.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Logs.o",
|
|
||||||
"runtime/Sources/Core/Logs.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Logs.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Logs.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Memory.o",
|
|
||||||
"runtime/Sources/Core/Memory.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Memory.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Memory.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/Profiler.o",
|
|
||||||
"runtime/Sources/Core/Profiler.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/Profiler.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/Profiler.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/SDLManager.o",
|
|
||||||
"runtime/Sources/Core/SDLManager.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/SDLManager.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/SDLManager.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Core/UUID.o",
|
|
||||||
"runtime/Sources/Core/UUID.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Core/UUID.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Core/UUID.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Graphics/Mesh.o",
|
|
||||||
"runtime/Sources/Graphics/Mesh.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Graphics/Mesh.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Graphics/Mesh.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Graphics/PixelPutManager.o",
|
|
||||||
"runtime/Sources/Graphics/PixelPutManager.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Graphics/PixelPutManager.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Graphics/PixelPutManager.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Graphics/Scene.o",
|
|
||||||
"runtime/Sources/Graphics/Scene.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Graphics/Scene.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Graphics/Scene.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Graphics/Sprite.o",
|
|
||||||
"runtime/Sources/Graphics/Sprite.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Graphics/Sprite.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Graphics/Sprite.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Platform/Inputs.o",
|
|
||||||
"runtime/Sources/Platform/Inputs.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Platform/Inputs.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Platform/Inputs.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Platform/Window.o",
|
|
||||||
"runtime/Sources/Platform/Window.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Platform/Window.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Platform/Window.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Buffer.o",
|
|
||||||
"runtime/Sources/Renderer/Buffer.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Buffer.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Buffer.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Descriptor.o",
|
|
||||||
"runtime/Sources/Renderer/Descriptor.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Descriptor.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Descriptor.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Image.o",
|
|
||||||
"runtime/Sources/Renderer/Image.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Image.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Image.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Memory.o",
|
|
||||||
"runtime/Sources/Renderer/Memory.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Memory.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Memory.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/RenderCore.o",
|
|
||||||
"runtime/Sources/Renderer/RenderCore.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/RenderCore.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/RenderCore.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Renderer.o",
|
|
||||||
"runtime/Sources/Renderer/Renderer.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Renderer.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Renderer.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/SceneRenderer.o",
|
|
||||||
"runtime/Sources/Renderer/SceneRenderer.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/SceneRenderer.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/SceneRenderer.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Pipelines/Graphics.o",
|
|
||||||
"runtime/Sources/Renderer/Pipelines/Graphics.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Pipelines/Graphics.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Pipelines/Graphics.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Pipelines/Shader.o",
|
|
||||||
"runtime/Sources/Renderer/Pipelines/Shader.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Pipelines/Shader.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Pipelines/Shader.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/RenderPasses/2DPass.o",
|
|
||||||
"runtime/Sources/Renderer/RenderPasses/2DPass.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/RenderPasses/2DPass.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/RenderPasses/2DPass.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/RenderPasses/FinalPass.o",
|
|
||||||
"runtime/Sources/Renderer/RenderPasses/FinalPass.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/RenderPasses/FinalPass.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/RenderPasses/FinalPass.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/RenderPasses/Passes.o",
|
|
||||||
"runtime/Sources/Renderer/RenderPasses/Passes.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/RenderPasses/Passes.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/RenderPasses/Passes.o"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
"/usr/bin/clang++",
|
|
||||||
"-std=c++20",
|
|
||||||
"-O3",
|
|
||||||
"-fPIC",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-DSDL_MAIN_HANDLED",
|
|
||||||
"-Wno-error=",
|
|
||||||
"-g3",
|
|
||||||
"-D",
|
|
||||||
"DEBUG",
|
|
||||||
"-DIMAGE_OPTIMIZED",
|
|
||||||
"-I./includes",
|
|
||||||
"-I./runtime/Includes",
|
|
||||||
"-I./runtime/Sources",
|
|
||||||
"-I./third_party",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"objs/make/linux/runtime/Sources/Renderer/Vulkan/VulkanLoader.o",
|
|
||||||
"runtime/Sources/Renderer/Vulkan/VulkanLoader.cpp"
|
|
||||||
],
|
|
||||||
"directory": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX",
|
|
||||||
"file": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/runtime/Sources/Renderer/Vulkan/VulkanLoader.cpp",
|
|
||||||
"output": "/home/kbz8/Documents/Code/42/Other/MacroLibX/MacroLibX/objs/make/linux/runtime/Sources/Renderer/Vulkan/VulkanLoader.o"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
12
compile_flags.txt
git.filemode.normal_file
12
compile_flags.txt
git.filemode.normal_file
@@ -0,0 +1,12 @@
|
|||||||
|
-xc++
|
||||||
|
-std=c++20
|
||||||
|
-Iruntime/Includes
|
||||||
|
-Iruntime/Sources
|
||||||
|
-Iincludes
|
||||||
|
-Ithird_party
|
||||||
|
-DMLX_BUILD
|
||||||
|
-DSDL_MAIN_HANDLED
|
||||||
|
-DDEBUG
|
||||||
|
-DIMAGE_OPTIMIZED
|
||||||
|
-D_REENTRANT
|
||||||
|
-isystem/usr/include/SDL2
|
||||||
@@ -47,6 +47,11 @@
|
|||||||
#include <math.h> // sincos
|
#include <math.h> // sincos
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
||||||
|
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
|
||||||
|
#define VMA_VULKAN_VERSION 1000000
|
||||||
|
#define VMA_ASSERT(expr) ((void)0)
|
||||||
|
|
||||||
#ifdef MLX_COMPILER_CLANG
|
#ifdef MLX_COMPILER_CLANG
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Weverything"
|
#pragma clang diagnostic ignored "-Weverything"
|
||||||
@@ -69,6 +74,9 @@
|
|||||||
#include <Utils/AntiWindows.h>
|
#include <Utils/AntiWindows.h>
|
||||||
|
|
||||||
#include <Renderer/Vulkan/VulkanPrototypes.h>
|
#include <Renderer/Vulkan/VulkanPrototypes.h>
|
||||||
|
#ifdef DEBUG
|
||||||
|
#define KVF_ENABLE_VALIDATION_LAYERS
|
||||||
|
#endif
|
||||||
#include <kvf.h>
|
#include <kvf.h>
|
||||||
|
|
||||||
#include <Core/Logs.h>
|
#include <Core/Logs.h>
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
#include <mlx_profile.h>
|
#include <mlx_profile.h>
|
||||||
|
#include <PreCompiled.h>
|
||||||
|
|
||||||
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
|
||||||
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
|
|
||||||
#define VMA_VULKAN_VERSION 1000000
|
|
||||||
#define VMA_ASSERT(expr) ((void)0)
|
|
||||||
#define VMA_IMPLEMENTATION
|
#define VMA_IMPLEMENTATION
|
||||||
|
|
||||||
#ifdef MLX_COMPILER_CLANG
|
#ifdef MLX_COMPILER_CLANG
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Weverything"
|
#pragma clang diagnostic ignored "-Weverything"
|
||||||
#include <PreCompiled.h>
|
#include <vma.h>
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#elif defined(MLX_COMPILER_GCC)
|
#elif defined(MLX_COMPILER_GCC)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
@@ -18,10 +14,10 @@
|
|||||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||||
#pragma GCC diagnostic ignored "-Wparentheses"
|
#pragma GCC diagnostic ignored "-Wparentheses"
|
||||||
#include <PreCompiled.h>
|
#include <vma.h>
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#else
|
#else
|
||||||
#include <PreCompiled.h>
|
#include <vma.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Renderer/RenderCore.h>
|
#include <Renderer/RenderCore.h>
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
|
#include <PreCompiled.h>
|
||||||
|
|
||||||
#define KVF_IMPLEMENTATION
|
#define KVF_IMPLEMENTATION
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define KVF_ENABLE_VALIDATION_LAYERS
|
#define KVF_ENABLE_VALIDATION_LAYERS
|
||||||
#endif
|
#endif
|
||||||
#include <PreCompiled.h>
|
|
||||||
|
#include <kvf.h>
|
||||||
|
|
||||||
#include <Renderer/RenderCore.h>
|
#include <Renderer/RenderCore.h>
|
||||||
#include <Renderer/Vulkan/VulkanLoader.h>
|
#include <Renderer/Vulkan/VulkanLoader.h>
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
#else
|
#else
|
||||||
typedef int (__stdcall* FARPROC)(void);
|
typedef int (__stdcall* FARPROC)(void);
|
||||||
#endif
|
#endif
|
||||||
#else
|
|
||||||
#include <dlfcn.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace mlx
|
namespace mlx
|
||||||
|
|||||||
19
xmake.lua
19
xmake.lua
@@ -1,6 +1,6 @@
|
|||||||
-- Global settings
|
-- Global settings
|
||||||
|
|
||||||
add_requires("libsdl", { configs = { sdlmain = false }})
|
add_requires("libsdl", { configs = { sdlmain = false } })
|
||||||
|
|
||||||
add_rules("mode.debug", "mode.release")
|
add_rules("mode.debug", "mode.release")
|
||||||
set_languages("cxx20", "c99")
|
set_languages("cxx20", "c99")
|
||||||
@@ -61,7 +61,22 @@ target("mlx")
|
|||||||
if is_mode("debug") then
|
if is_mode("debug") then
|
||||||
add_defines("DEBUG")
|
add_defines("DEBUG")
|
||||||
end
|
end
|
||||||
target_end() -- optional but I think the code is cleaner with this -- optional but I think the code is cleaner with this
|
|
||||||
|
on_clean(function(target)
|
||||||
|
if target:objectfiles() then
|
||||||
|
for _, file in ipairs(target:objectfiles()) do
|
||||||
|
if os.exists(file) then
|
||||||
|
print("Removing " .. file)
|
||||||
|
os.rm(file)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if target:targetfile() and os.exists(target:targetfile()) then
|
||||||
|
print("Removing " .. target:targetfile())
|
||||||
|
os.rm(target:targetfile())
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
target_end()
|
||||||
|
|
||||||
target("Test")
|
target("Test")
|
||||||
set_default(false)
|
set_default(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user