File: premake4.lua

package info (click to toggle)
enet 1.3.13+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 564 kB
  • sloc: ansic: 4,734; xml: 179; makefile: 42
file content (59 lines) | stat: -rw-r--r-- 933 bytes parent folder | download
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
58
59
solution "enet"
	configurations { "Debug", "Release" }
	platforms { "x32", "x64" }

	project "enet_static"
		kind "StaticLib"
		language "C"
		
		files { "*.c" }
		
		includedirs { "include/" }
		
		configuration "Debug"
			targetsuffix "d"
			
			defines({ "DEBUG" })

			flags { "Symbols" }
		
		configuration "Release"
			defines({ "NDEBUG" })

			flags { "Optimize" }
			
		configuration { "Debug", "x64" }
			targetsuffix "64d"
			
		configuration { "Release", "x64" }
			targetsuffix "64"

	project "enet"
		kind "SharedLib"
		language "C"
		
		files { "*.c" }
		
		includedirs { "include/" }
		
		defines({"ENET_DLL=1" })
		
		configuration "Debug"
			targetsuffix "d"
			
			defines({ "DEBUG" })

			flags { "Symbols" }
		
		configuration "Release"
			defines({ "NDEBUG" })

			flags { "Optimize" }
			
		configuration { "Debug", "x64" }
			targetsuffix "64d"
			
		configuration { "Release", "x64" }
			targetsuffix "64"