1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
solution "VampEngine"
configurations {"Debug", "Release"}
platforms "x64"
location (path.join("ides", _ACTION))
--Application |PROJECT|==================================================
project "Application"
language "C++"
kind "ConsoleApp"
files {"Application/**.c",
"Application/**.cpp",
"Application/**.h",
"Application/**.hpp"
}
--Cross Platform Links.
links "VampEngine"
--Cross Plat Includes.
includedirs {"Depedencies/Cross-Plat/glm-0.9.9.5",
"VampEngine/src"
}
--Debug bin outputs.
configuration "Debug"
targetdir "bin/Debug"
objdir "bin-int/Debug/VampEngine"
--Release bin outputs.
configuration "Release"
targetdir "bin/Release"
objdir "bin-int/Release/VampEngine"
--Windows, All configurations.
configuration {}
configuration "windows"
--Windows, Defines.
defines {"VAMP_PLATFORM_WINDOWS"}
--Unix Based Systems, All configurations.
configuration {}
configuration "not windows"
--Unix Based Systems, Includes.
includedirs {"/usr/include/", "/usr/local/include/"}
--Unix Based Systems, Lib Directories.
libdirs {"/usr/lib/", "/usr/lib64/",
"/usr/local/lib/", "/usr/local/lib64/"
}
--VampEngine |PROJECT|====================================================
project "VampEngine"
language "C++"
kind "SharedLib"
files {"VampEngine/**.c",
"VampEngine/**.cpp",
"VampEngine/**.h",
"VampEngine/**.hpp"
}
--Cross Plat Includes.
includedirs {"Depedencies/Cross-Plat/glm-0.9.9.5"}
--Debug bin outputs.
configuration "Debug"
targetdir "bin/Debug"
objdir "bin-int/Debug/VampEngine"
--Release bin outputs.
configuration "Release"
targetdir "bin/Release"
objdir "bin-int/Release/VampEngine"
--Windows, All configurations.
configuration {}
configuration "windows"
--Windows, Includes.
includedirs {"Depedencies/Windows/glew-2.1.0/include",
"Depedencies/Windows/glfw-3.3.bin.WIN64/include"
}
--Windows, Lib Directories.
libdirs {"Depedencies/Windows/glfw-3.3.bin.WIN64/lib-vc2019",
"Depedencies/Windows/glew-2.1.0"
}
--Windows, Links.
links {"opengl32", "glfw3dll", "glew32"}
--Windows, Defines.
defines {"VAMP_BUILD_DLL", "VAMP_PLATFORM_WINDOWS"}
--Unix Based Systems, All configurations.
configuration {}
configuration "not windows"
--Unix Based Systems, Includes.
includedirs {"/usr/include/", "/usr/local/include/"}
--Unix Based Systems, Lib Directories.
libdirs {"/usr/lib/", "/usr/lib64/",
"/usr/local/lib/", "/usr/local/lib64/"
}
--Unix Based Systems, Links.
links {"GL", "GLEW", "glfw"}
| |