lots of updates
This commit is contained in:
11
build.cpp
11
build.cpp
@@ -11,6 +11,9 @@ ADD_DEPENDENCY_BUILD_FILE(ms, "materialsystem/build.cpp");
|
||||
ADD_DEPENDENCY_BUILD_FILE(fs, "external/funnystdlib/stdfilesystems/build.cpp");
|
||||
ADD_DEPENDENCY_BUILD_FILE(tier0, "external/funnystdlib/tier0/build.cpp");
|
||||
ADD_DEPENDENCY_BUILD_FILE(fsc, "shadercompiler/build.cpp");
|
||||
ADD_DEPENDENCY_BUILD_FILE(server, "game/server/build.cpp");
|
||||
ADD_DEPENDENCY_BUILD_FILE(client, "game/client/build.cpp");
|
||||
#define EXTERNAL "external/"
|
||||
|
||||
DECLARE_BUILD_STAGE(install_game)
|
||||
{
|
||||
@@ -22,6 +25,14 @@ DECLARE_BUILD_STAGE(install_game)
|
||||
filesystem2->CopyFile(szOutputDir, GET_PROJECT_OBJECT(tier0, "tier0"));
|
||||
filesystem2->CopyFile(szOutputDir, GET_PROJECT_OBJECT(filesystem_std, "fs"));
|
||||
filesystem2->CopyFile(szOutputDir, GET_PROJECT_OBJECT(shadercompiler, "fs"));
|
||||
filesystem2->CopyFile(szOutputDir, GET_PROJECT_OBJECT(Server, "server"));
|
||||
filesystem2->CopyFile(szOutputDir, GET_PROJECT_OBJECT(Client, "client"));
|
||||
filesystem2->CopyDirectory(CUtlString("%s/core",szOutputDir.GetString()), "build/funnygame/assets/shaders");
|
||||
if (Target_t::DefaultTarget().kernel == TARGET_KERNEL_WINDOWS)
|
||||
{
|
||||
filesystem2->CopyFile(szOutputDir, EXTERNAL "windows/libgcc_s_seh-1.dll");
|
||||
filesystem2->CopyFile(szOutputDir, EXTERNAL "windows/libwinpthread-1.dll");
|
||||
filesystem2->CopyFile(szOutputDir, EXTERNAL "windows/libstdc++-6.dll");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user