/
premake5.lua
43 lines (38 loc) · 1.07 KB
/
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
workspace "IniReader"
configurations { "Release", "Debug" }
platforms { "Win32", "Win64" }
location "build"
objdir ("build/obj")
buildlog ("build/log/%{prj.name}.log")
buildoptions {"-std:c++latest"}
kind "ConsoleApp"
language "C++"
characterset ("Unicode")
staticruntime "On"
targetdir ("tests")
includedirs { "mINI/src/mini/" }
includedirs { "mINI/tests/lest" }
includedirs { "source" }
filter "configurations:Debug"
defines "DEBUG"
symbols "On"
filter "configurations:Release"
defines "NDEBUG"
optimize "On"
project "IniReader"
files { "IniReader.h" }
files { "IniReader.cpp" }
project "testcasesens"
files { "mINI/tests/testcasesens.cpp" }
project "testcopy"
files { "mINI/tests/testcopy.cpp" }
project "testgenerate"
files { "mINI/tests/testgenerate.cpp" }
project "testhuge"
files { "mINI/tests/testhuge.cpp" }
project "testread"
files { "mINI/tests/testread.cpp" }
project "testutf8"
files { "mINI/tests/testutf8.cpp" }
project "testwrite"
files { "mINI/tests/testwrite.cpp" }