-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpremake4.lua
More file actions
46 lines (34 loc) · 1.02 KB
/
premake4.lua
File metadata and controls
46 lines (34 loc) · 1.02 KB
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
solution "LibTask"
configurations { "Debug", "Release" }
platforms { "native", "x32", "x64" }
location ( "build/" .. _ACTION )
configuration "Debug"
targetdir "bin/debug"
configuration "Release"
targetdir "bin/release"
configuration "vs*"
defines { "WINDOWS" }
project "LibTask"
kind "StaticLib"
language "C"
files { "src/*.h", "src/*.c" }
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
-- Project for unitesting, and aompiler assumption proving
project "UnitTest"
kind "ConsoleApp"
language "C++"
files { "src/test/**.h*", "src/test/**.c*" }
includedirs { "third_party/lol_unit" }
flags { "NoRTTI", "FatalWarnings" }
links { "LibTask" }
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }