-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake4.lua
41 lines (37 loc) · 1.42 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
-- -------------------------------------------------------------------------- --
-- --
-- ::: :::::::: --
-- premake4.lua :+: :+: :+: --
-- +:+ +:+ +:+ --
-- By: jzak <[email protected]> +#+ +:+ +#+ --
-- +#+#+#+#+#+ +#+ --
-- Created: 2014/01/02 16:48:37 by jzak #+# #+# --
-- Updated: 2014/01/02 16:48:37 by jzak ### ########.fr --
-- --
-- -------------------------------------------------------------------------- --
solution "Solutions"
configurations { "Release", "Debug" }
objdir "bin/obj"
language "C"
version = "0.1.1"
inc = { "includes/" }
-- Build option
configuration "Release"
buildoptions { "-Wall -Wextra -Werror" }
flags { "Optimize" }
configuration "Debug"
buildoptions { "-Wall -Wextra" }
flags { "Symbols" }
-- libnboon
project "nboon"
targetdir "."
kind "StaticLib"
files { "srcs/**.c" }
includedirs { inc }
-- test
project "test"
targetdir "bin"
kind "ConsoleApp"
links { "nboon" }
files "test/*.c"
includedirs { inc }