-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
premake4.lua
30 lines (26 loc) · 687 Bytes
/
premake4.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
-- A solution contains projects, and defines the available configurations
solution "CInterpreter"
configurations { "Debug", "Release" }
location "build"
-- A project defines one build target
project "cinterpreter"
location "build"
kind "ConsoleApp"
language "C"
files
{
"src/*.c",
"src/*.h"
}
--excludes { }
-- libdirs { }
--links { }
targetdir "build"
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
configuration { "linux", "gmake" }
buildoptions { "-std=c99", "-pedantic-errors", "-fno-strict-aliasing", "-Wunused-variable", "-Wreturn-type" }