public CSEngine(string ProjectPath) { Include.Public.Add(Path.Combine(ProjectPath, "include")); AddSourceFiles(Path.Combine(ProjectPath, "source"), true); PCHFile = Path.Combine(ProjectPath, "source", "CSEnginePCH.cpp"); PCHIncludeFile = "CSEngine.hpp"; Projects.Public.Add("bear_core"); Projects.Public.Add("bear_graphics"); Defines.Private.Add("CSENGINE_EXPORTS"); IncludeAutonomousProjects.Add("CSMenu"); IncludeAutonomousProjects.Add("CSMP"); if (BearBuildTool.Config.Global.DevVersion) { Projects.Private.Add("freetype"); } Console = true; }
public stalker_engine(string ProjectPath) { PCHFile = Path.Combine(ProjectPath, "source", "stdafx.cpp"); PCHIncludeFile = "stdafx.h"; Projects.Public.Add("bear_graphics"); Projects.Public.Add("stalkertools"); Projects.Public.Add("stalkerlua"); Projects.Public.Add("stalkersound"); Projects.Public.Add("stalkercdb"); Projects.Public.Add("stalkerapi"); Projects.Public.Add("stalkerrender"); Projects.Private.Add("stalkermodloader"); Projects.Private.Add("directx"); Projects.Public.Add("stalkernetserver"); Projects.Private.Add("discord_api"); IncludeInProject.Public.Add("stalkercpu_pipe"); //IncludeInProject.Private.Add("stalkergamespy"); if (BearBuildTool.Config.Global.Platform == BearBuildTool.Config.Platform.Win64 || BearBuildTool.Config.Global.Platform == BearBuildTool.Config.Platform.Win32 || BearBuildTool.Config.Global.Platform == BearBuildTool.Config.Platform.MinGW ) { LibrariesStatic.Private.Add("dxgi"); LibrariesStatic.Private.Add("dxguid"); LibrariesStatic.Private.Add("dinput8"); LibrariesStatic.Private.Add("d3d9"); LibrariesStatic.Private.Add("d3dx9"); } Projects.Private.Add("theora"); Projects.Private.Add("dplay"); Projects.Private.Add("openautomate"); Defines.Private.Add("ENGINE_BUILD"); AddSourceFiles(Path.Combine(ProjectPath, "source")); Include.Public.Add(Path.Combine(ProjectPath, "include")); Include.Private.Add(Path.Combine(ProjectPath, "include", "engine")); IncludeAutonomousProjects.Add("stalkercpu_pipe"); if (BearBuildTool.Config.Global.Platform == BearBuildTool.Config.Platform.Win32 || BearBuildTool.Config.Global.Platform == BearBuildTool.Config.Platform.Win64 || BearBuildTool.Config.Global.Platform == BearBuildTool.Config.Platform.MinGW ) { IncludeAutonomousProjects.Add("stalker_r1"); //IncludeAutonomousProjects.Add("stalker_r2"); if (BearBuildTool.Config.Global.Platform != BearBuildTool.Config.Platform.MinGW) { // IncludeAutonomousProjects.Add("stalker_r3"); // IncludeAutonomousProjects.Add("stalker_r4"); } } IncludeAutonomousProjects.Add("stalker_r5"); IncludeAutonomousProjects.Add("stalkersoc"); //IncludeAutonomousProjects.Add("stalkercs"); //IncludeAutonomousProjects.Add("stalkercop"); // ResourceFile = Path.Combine(ProjectPath, "resource", "stalker.rc"); //ProjectsToDynamicLibrary = true; }