-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
43 lines (35 loc) · 889 Bytes
/
Copy pathpremake5.lua
File metadata and controls
43 lines (35 loc) · 889 Bytes
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
-- premake5.lua
workspace "WMML"
configurations {"Debug", "Release"}
platforms {
"Static_x86",
"Static_x64",
"UnitTest_x86",
"UnitTest_x64"
}
project "WMML"
kind "StaticLib"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
cppdialect "C++17"
files {"**.h", "**.cpp", "**.cc", "**.inl"}
filter "configurations:Debug"
defines {"DEBUG"}
symbols "On"
filter "configurations:Release"
defines {"NDEBUG"}
optimize "On"
filter "platforms:Static_x86"
kind "SharedLib"
architecture "x86"
filter "platforms:Static_x64"
kind "SharedLib"
architecture "x86_64"
filter "platforms:UnitTest_x86"
kind "ConsoleApp"
architecture "x86"
defines {"UNIT_TEST_ENABLED"}
filter "platforms:UnitTest_x64"
kind "ConsoleApp"
architecture "x86_64"
defines {"UNIT_TEST_ENABLED"}