-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpremake5.lua
39 lines (37 loc) · 832 Bytes
/
premake5.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
34
35
36
37
38
39
-- MockbaModular by Mockba the Borg
-- Premake Script
-- Requires premake5.exe to be somewhere reachable via PATH
-- https://premake.github.io/
--
workspace "VCVPlugin"
location "VStudio"
configurations { "Release" }
platforms { "X64" }
startproject "VCVPlugin"
pic "On"
systemversion "10.0.17763.0"
characterset "ASCII"
project "VCVPlugin"
kind "SharedLib"
targetname "plugin"
language "C++"
targetdir "."
files { "src/**" }
vpaths {
["Headers/*"] = { "**.hpp", "**.h" }
}
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
includedirs { "../Rack-SDK/include", "../Rack-SDK/dep/include" }
-- Cleanup
if _ACTION == "clean" then
os.rmdir("VStudio");
os.rmdir("build");
os.rmdir("dep");
os.rmdir("dist");
os.rmdir("tmp");
os.rmdir("out");
os.rmdir(".vs");
os.remove("plugin.dll");
end