This repository was archived by the owner on Apr 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpremake5.lua
More file actions
57 lines (49 loc) · 1.38 KB
/
premake5.lua
File metadata and controls
57 lines (49 loc) · 1.38 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
57
-- infinite rasa
-- authentication server.lua
workspace "InfiniteRasa"
configurations { "Debug", "Release" }
project "irauth"
kind "ConsoleApp"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
objdir "build/%{cfg.buildcfg}"
files {
"src/main.cpp",
"src/CryptManager.h",
"src/CryptManager.cpp",
"src/DBManager.h",
"src/DBManager.cpp",
"src/INIParser.h",
"src/INIParser.cpp",
"src/MD5.h",
"src/MD5.cpp",
"src/NetManager.h",
"src/NetManager.cpp",
"src/NetUtils.h",
"src/NetUtils.cpp",
"src/SessionManager.h",
"src/SessionManager.cpp",
"src/ThreadsUtils.h",
"src/ThreadsUtils.cpp",
"src/NetObjects.h",
"src/MessageHandler.h",
"src/MessageHandler.cpp",
"libs/minINI/minIni.c"
}
staticruntime "On"
flags { "MultiProcessorCompile", "FatalCompileWarnings" }
defines { "_CRT_SECURE_NO_WARNINGS", "_CRT_NO_TIME_T", "INI_ANSIONLY" }
filter "system:Windows"
includedirs { "libs/pthreads/include", "libs/mariadb/include", "libs/minINI" }
libdirs { "libs/pthreads/lib", "libs/mariadb/lib" }
links { "ws2_32", "pthreadVC2", "libmariadb" }
filter "system:Linux"
includedirs { "libs/minINI", "/usr/include/mysql" }
libdirs { "/usr/lib/mysql", "/usr/lib/arm-linux-gnueabihf" }
links { "pthread", "mariadbclient" }
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"