summaryrefslogtreecommitdiff
path: root/examples/ThirdPartyLibs/clsocket/premake4.lua
blob: 896185095e6abc0e6550e0ce6204337f9ef2cca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	project "clsocket"
		
	kind "StaticLib"
	
	if os.is("Windows") then 
		defines { "WIN32","_WINSOCK_DEPRECATED_NO_WARNINGS" }
		end
		if os.is("Linux") then
		 defines {"HAS_SOCKLEN_T","_LINUX"}
		end
		if os.is("MacOSX") then
		 defines {"HAS_SOCKLEN_T","_DARWIN"}
		end		
		
	
	includedirs {
		".","include"
	}
	files {
		"src/SimpleSocket.cpp",
		"src/ActiveSocket.cpp",
		"src/PassiveSocket.cpp",
		"**.h"
	}