-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPremake4.lua
More file actions
57 lines (45 loc) · 1.07 KB
/
Premake4.lua
File metadata and controls
57 lines (45 loc) · 1.07 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
47
48
49
50
51
52
53
54
55
56
solution 'lua_match'
location 'build'
configurations { 'Debug', 'Release' }
defines { 'WIN32', '_WINDOWS' }
flags { 'StaticRuntime' }
configuration 'vs*'
defines { '_CRT_SECURE_NO_WARNINGS' }
configuration 'Debug'
flags { 'Symbols' }
defines { '_DEBUG' }
targetsuffix '_d'
configuration 'Release'
flags { 'Optimize' }
defines { 'NDEBUG' }
project 'lua_match'
language 'C++'
kind 'StaticLib'
targetdir 'lib'
files
{
'src/*.h',
'src/*.c',
'src/*.hpp',
'src/*.cpp',
}
project 'test_c'
language 'C'
kind 'ConsoleApp'
targetdir 'bin'
includedirs 'src'
files 'test/test.c'
configuration 'Debug'
links 'lib/lua_match_d'
configuration 'Release'
links 'lib/lua_match'
project 'test_cpp'
language 'C++'
kind 'ConsoleApp'
targetdir 'bin'
includedirs 'src'
files 'test/test.cpp'
configuration 'Debug'
links 'lib/lua_match_d'
configuration 'Release'
links 'lib/lua_match'