Graphics Engine is now part of the whole engine instead, Project will
actually compile #9
This commit is contained in:
@ -3,32 +3,56 @@ project "BarinkEngine"
|
||||
|
||||
buildmessage "Building BarinkEngine"
|
||||
|
||||
includedirs{
|
||||
"./../libs/lua/include",
|
||||
"./libs/spdlog/include",
|
||||
includedirs {
|
||||
"Include/",
|
||||
|
||||
"./../libs/glm",
|
||||
"./../MyGraphicsEngine/include",
|
||||
"../libs/lua/include",
|
||||
"../libs/spdlog/include",
|
||||
"../libs/glm",
|
||||
"../libs/GorillaAudio/include",
|
||||
|
||||
"./../libs/GorillaAudio/include"
|
||||
"../libs/assimp/include",
|
||||
"../libs/glad/include",
|
||||
"../libs/glfw/include",
|
||||
"../libs/tinygltf",
|
||||
"../libs/glew/include",
|
||||
"../libs/glm",
|
||||
"../libs/ImGui",
|
||||
|
||||
}
|
||||
|
||||
libdirs {
|
||||
"./../libs/lua",
|
||||
"./../libs/spdlog/build/Release"
|
||||
"../libs/lua",
|
||||
"../libs/spdlog/build/Release",
|
||||
"../libs/assimp/lib/Debug",
|
||||
"../libs/glfw/build/src/Debug",
|
||||
"../libs/ImGui"
|
||||
}
|
||||
|
||||
links {
|
||||
"lua54",
|
||||
"spdlog",
|
||||
"MyGraphicsEngine"
|
||||
"assimp-vc143-mtd",
|
||||
"glfw3"
|
||||
}
|
||||
|
||||
files {
|
||||
"../libs/ImGui/*.cpp",
|
||||
"../libs/ImGui/backends/imgui_impl_glfw.cpp",
|
||||
"../libs/ImGui/backends/imgui_impl_Opengl3.cpp",
|
||||
"../libs/glad/src/glad.c",
|
||||
|
||||
"./*.cpp",
|
||||
"./*.h",
|
||||
"./**/*.cpp",
|
||||
"./**/*.h"
|
||||
}
|
||||
|
||||
|
||||
|
||||
-- NOTE: make these copy instructions more flexible
|
||||
ok, err = os.copyfile("graphics/shaders/fragment.shader", "../build/SandboxApplication/Debug/test.fs")
|
||||
if err then error("Copy fragment shader source failed!") end
|
||||
|
||||
ok, err = os.copyfile("graphics/shaders/vertex.shader", "../build/SandboxApplication/Debug/test.vs")
|
||||
if err then error("Copy vertex shader source failed!") end
|
||||
|
Reference in New Issue
Block a user