-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpremake5.lua
55 lines (50 loc) · 1.49 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
44
45
46
47
48
49
50
51
52
53
54
55
workspace "gmsv_antifreeze"
configurations { "Release", "Release64", "Debug", "Debug64" }
location ( "projects/" .. os.get() )
project "gmsv_antifreeze"
kind "SharedLib"
language "C++"
cppdialect "C++11"
editandcontinue "Off"
includedirs "../include/"
targetprefix ""
targetextension ".dll"
staticruntime "Off"
floatingpoint "Fast"
files
{
"src/**.*",
"../include/**.*"
}
configuration "Debug"
architecture "x86"
symbols "On"
optimize "Debug"
if os.is( "windows" ) then targetsuffix "_win32" end
if os.is( "macosx" ) then targetsuffix "_osx" end
if os.is( "linux" ) then targetsuffix "_linux" end
configuration "Debug64"
architecture "x86_64"
symbols "On"
optimize "Debug"
if os.is( "windows" ) then targetsuffix "_win64" end
if os.is( "macosx" ) then targetsuffix "_osx64" end
if os.is( "linux" ) then targetsuffix "_linux64" end
configuration "Release"
architecture "x86"
symbols "Off"
optimize "Speed"
omitframepointer "On"
flags { "LinkTimeOptimization" }
if os.is( "windows" ) then targetsuffix "_win32" end
if os.is( "macosx" ) then targetsuffix "_osx" end
if os.is( "linux" ) then targetsuffix "_linux" end
configuration "Release64"
architecture "x86_64"
symbols "Off"
optimize "Speed"
omitframepointer "On"
flags { "LinkTimeOptimization" }
if os.is( "windows" ) then targetsuffix "_win64" end
if os.is( "macosx" ) then targetsuffix "_osx64" end
if os.is( "linux" ) then targetsuffix "_linux64" end