-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpremake5.lua
More file actions
26 lines (19 loc) · 791 Bytes
/
premake5.lua
File metadata and controls
26 lines (19 loc) · 791 Bytes
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
local PROJECT_DIR = path.getabsolute(".")
local PROJECT_BUILD_DIR = path.join(PROJECT_DIR, ".build/")
local PROJECT_PROJECTS_DIR = path.join(PROJECT_DIR, ".projects")
local PROJECT_RUNTIME_DIR = path.join(PROJECT_DIR, "bin/")
solution "spel64"
language "C++"
configurations { "Debug", "Release", "Dev" }
platforms { "x64" }
location (path.join(PROJECT_PROJECTS_DIR, _ACTION))
objdir (path.join(PROJECT_BUILD_DIR, _ACTION))
filter "configurations:Debug"
targetdir(path.join(PROJECT_RUNTIME_DIR, "debug/"))
filter "configurations:Dev"
targetdir(path.join(PROJECT_RUNTIME_DIR, "dev/"))
filter "configurations:Release"
targetdir(path.join(PROJECT_RUNTIME_DIR, "release/"))
include "spel64.lua"
include "Dummy.lua"
include "Injector.lua"