-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
42 lines (33 loc) · 978 Bytes
/
premake5.lua
File metadata and controls
42 lines (33 loc) · 978 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---@diagnostic disable: undefined-global
workspace("NewCppProject")
configurations { "Debug", "Release" }
architecture "x86_64"
startproject "NewCppProject"
flags { "MultiProcessorCompile" }
filter "system:windows"
buildoptions { "/utf-8" }
filter "configurations:Debug"
defines { "DEBUG" }
optimize "Off"
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
local outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project("Cpp14")
location "code/cpp14"
kind "ConsoleApp"
language "C++"
cppdialect "C++14"
files {
"code/cpp14/**.cpp",
"code/cpp14/**.h",
"code/cpp14/**.hpp"
}
includedirs {
"code/cpp14",
"code/cpp14/include",
"code/cpp14/utils"
}
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
targetdir ("bin/" .. outputdir .. "/%{prj.name}")