|
|
|
@ -1,7 +1,6 @@ |
|
|
|
|
workspace "socket_test" |
|
|
|
|
workspace "socket_unix" |
|
|
|
|
architecture "x64" |
|
|
|
|
configurations { "Debug", "Release" } |
|
|
|
|
startproject "sandbox" |
|
|
|
|
flags |
|
|
|
|
{ |
|
|
|
|
"MultiProcessorCompile" |
|
|
|
@ -11,8 +10,60 @@ outputdir = "%{cfg.system}-%{cfg.architecture}-%{cfg.buildcfg}" |
|
|
|
|
|
|
|
|
|
IncludeDirs = {} |
|
|
|
|
|
|
|
|
|
project "sandbox" |
|
|
|
|
kind "ConsoleApp" |
|
|
|
|
IncludeDirs["bakanet"] = "%{wks.location}/bakanet/src/" |
|
|
|
|
|
|
|
|
|
project "bakanet" |
|
|
|
|
location "./bakanet" |
|
|
|
|
kind "StaticLib" |
|
|
|
|
language "C++" |
|
|
|
|
cppdialect "C++17" |
|
|
|
|
systemversion "latest" |
|
|
|
|
|
|
|
|
|
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
|
|
|
|
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
|
|
|
|
|
|
|
|
|
includedirs |
|
|
|
|
{ |
|
|
|
|
"%{IncludeDirs.bakanet}" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
files |
|
|
|
|
{ |
|
|
|
|
"%{prj.location}/src/**.h", |
|
|
|
|
"%{prj.location}/src/**.cpp" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
project "server" |
|
|
|
|
location "./sandbox/server" |
|
|
|
|
kind "ConsoleApp" |
|
|
|
|
language "C++" |
|
|
|
|
cppdialect "C++17" |
|
|
|
|
systemversion "latest" |
|
|
|
|
|
|
|
|
|
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
|
|
|
|
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
|
|
|
|
|
|
|
|
|
includedirs |
|
|
|
|
{ |
|
|
|
|
"%{IncludeDirs.bakanet}" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
files |
|
|
|
|
{ |
|
|
|
|
"%{prj.location}/**.h", |
|
|
|
|
"%{prj.location}/**.cpp" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
links |
|
|
|
|
{ |
|
|
|
|
"bakanet" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project "client" |
|
|
|
|
location "./sandbox/client" |
|
|
|
|
kind "ConsoleApp" |
|
|
|
|
language "C++" |
|
|
|
|
cppdialect "C++17" |
|
|
|
|
systemversion "latest" |
|
|
|
@ -20,8 +71,18 @@ project "sandbox" |
|
|
|
|
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
|
|
|
|
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
|
|
|
|
|
|
|
|
|
includedirs |
|
|
|
|
{ |
|
|
|
|
"%{IncludeDirs.bakanet}" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
files |
|
|
|
|
{ |
|
|
|
|
"src/**.h", |
|
|
|
|
"src/**.cpp" |
|
|
|
|
"%{prj.location}/**.h", |
|
|
|
|
"%{prj.location}/**.cpp" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
links |
|
|
|
|
{ |
|
|
|
|
"bakanet" |
|
|
|
|
} |