-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
48 lines (38 loc) · 1014 Bytes
/
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
-- Options
-- MokLib_IncludeConverters
-- Library
project "Lib"
kind "SharedLib"
language "C++"
defines {"MOK_LIB_INTERNAL=1"}
filter {"platforms:Linux64"}
pic "On"
filter {}
files {
"*.h", "*.cpp",
"Containers/*.h", "Containers/*.cpp",
"FileSystem/FileSystem.h", "FileSystem/FileSystem.cpp",
"Math/*.h", "Math/*.cpp",
"Memory/*.h", "Memory/*.cpp",
"Thread/*.h", "Thread/*.cpp",
"Time/*.h", "Time/*.cpp",
"Importers/*.h", "Importers/*.cpp",
"Debugging/*.h"
}
if (MokLib_IncludeConverters == nil) then
MokLib_IncludeConverters = true
end
if (MokLib_IncludeConverters) then
files {
"Converters/*.h", "Converters/*.cpp",
}
end
files {
"FileSystem/DirectoryIterator.h", "FileSystem/DirectoryIterator.cpp",
}
files {
"FileSystem/Dll.h", "FileSystem/Dll.cpp",
}
DefaultSettings()
includedirs { "." }
filter {}