steam relay networking
This commit is contained in:
@@ -33,9 +33,12 @@ DECLARE_BUILD_STAGE(Client)
|
||||
"../shared",
|
||||
"../../public",
|
||||
FUNNYSTDLIB"public",
|
||||
EXTERNAL"cglm/include"
|
||||
EXTERNAL"cglm/include",
|
||||
EXTERNAL"steamworks/public",
|
||||
};
|
||||
compileProject.bFPIC = true;
|
||||
if ( GET_PROJECT_VALUE(config, "steam") == "true" )
|
||||
compileProject.macros.AppendTail({"STEAM", "TRUE"});
|
||||
ldProject = ccompiler->Compile(&compileProject);
|
||||
|
||||
if ( GET_PROJECT_VALUE(config, "static") == "true" )
|
||||
@@ -44,6 +47,10 @@ DECLARE_BUILD_STAGE(Client)
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( GET_PROJECT_VALUE(config, "steam") == "true" ) {
|
||||
ldProject.libraryDirectories.AppendTail(EXTERNAL"steamworks/redistributable_bin/linux64");
|
||||
ldProject.libraries.AppendTail("steam_api");
|
||||
}
|
||||
ldProject.linkType = ELINK_DYNAMIC_LIBRARY;
|
||||
ldProject.libraryObjects = {
|
||||
GET_PROJECT_LIBRARY(tier0, "tier0"),
|
||||
|
||||
Reference in New Issue
Block a user