-
Notifications
You must be signed in to change notification settings - Fork 2
/
premake5.lua
55 lines (42 loc) · 1 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- latest premake5 is requered! Not (alpha 12) !
-- https://github.com/premake/premake-core
-- 'premake5 vs2017' run this to generate VS2017 solution.
workspace "fmt_extension"
configurations { "Debug", "Release" }
platforms { "x64", "x32" }
location ("./" .. (_ACTION or ""))
language "C++"
cppdialect "C++17"
warnings "Extra"
flags { }
defines { }
includedirs { "../" }
vpaths {
["Headers/*"] = { "**.h", "**.hxx", "**.hpp" },
["Source Files/*"] = { "**.cpp", "**.cc" },
["Main"] = { "main.cpp" },
["Docs"] = "**.txt"
}
configuration "Debug"
defines { "DEBUG" }
symbols "On"
configuration "Release"
defines { "NDEBUG" }
optimize "On"
optimize "Full"
configuration "vs*"
defines { "_CRT_SECURE_NO_WARNINGS" }
flags { "MultiProcessorCompile" }
cppdialect "C++latest"
buildoptions { }
project "fmt_extension"
kind "ConsoleApp"
files {
"./**.h",
"./**.hh",
"./**.hpp",
"./**.inl",
"./**.c",
"./**.cc",
"./**.cpp",
}