-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild-Walnut-External.lua
33 lines (27 loc) · 1.04 KB
/
Build-Walnut-External.lua
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
-- WalnutExternal.lua
VULKAN_SDK = os.getenv("VULKAN_SDK")
OPENSSL = "C:/Program Files/OpenSSL-Win64"--os.getenv("OPENSSL_ROOT_DIR") or os.getenv("OPENSSL_DIR")
IncludeDir = {}
IncludeDir["VulkanSDK"] = "%{VULKAN_SDK}/Include"
IncludeDir["OpenSSL"] = "%{OPENSSL}/include"
IncludeDir["glm"] = "../vendor/glm"
IncludeDir["spdlog"] = "../vendor/spdlog/include"
IncludeDir["glmLS"] = "$(SolutionDir)Walnut/vendor/glm"
IncludeDir["spdlogLs"] = "$(SolutionDir)Walnut/vendor/spdlog/include"
LibraryDir = {}
LibraryDir["VulkanSDK"] = "%{VULKAN_SDK}/Lib"
LibraryDir["OpenSSL"] = "%{OPENSSL}/lib/VC/x64/MD"
Library = {}
Library["Vulkan"] = "%{LibraryDir.VulkanSDK}/vulkan-1.lib"
Library["OpenSSL_Crypto"] = "%{LibraryDir.OpenSSL}/libcrypto.lib"
Library["OpenSSL_Ssl"] = "%{LibraryDir.OpenSSL}/libssl.lib"
group "Dependencies"
include "Walnut/vendor/imgui"
include "Walnut/vendor/implot"
include "Walnut/vendor/glfw"
include "Walnut/vendor/glad"
include "Walnut/vendor/yaml-cpp"
group ""
group "Core"
include "Walnut/Walnut/Build-Walnut.lua"
group ""