81 lines
3.3 KiB
C#
81 lines
3.3 KiB
C#
using Sharpmake;
|
|
|
|
namespace JustDance.Engine
|
|
{
|
|
[Generate]
|
|
internal class JD_Gameplay : EngineProject
|
|
{
|
|
public JD_Gameplay()
|
|
{
|
|
RootPath = SourcePath + @"JD\gameplay";
|
|
PrecompileHeader = "JD_precompiled_gameplay";
|
|
SourceFilesBlobExcludeRegex.Add("JD_GSS_Challenge_RecapBase_Update.cpp","JD_TrackingManager.cpp", "JD_CountryList.cpp", "JD_Matchmaking.cpp", "JD_Playlist.cpp", "JD_OnlineEngineInterface.cpp", "JD_UPlayFlowManager.cpp", "JD_NetworkManager.cpp");
|
|
}
|
|
|
|
public override void ConfigureAll(Project.Configuration conf, BaseCppTarget target)
|
|
{
|
|
base.ConfigureAll(conf, target);
|
|
|
|
conf.SolutionFolder = "JD";
|
|
conf.AddPublicDependency<Raki>(target);
|
|
|
|
conf.IncludePaths.Add( ExternPath + "libogg/custom/include",
|
|
ExternPath + "libvorbis/custom/include",
|
|
ExternPath + "EDGE/edge_1_2_0/cell/host-common/include",
|
|
ExternPath + "EDGE/edge_1_2_0/cell/target/common/include",
|
|
ExternPath + "EDGE/edge_1_2_0/cell/target/ppu/include",
|
|
ExternPath + "EDGE/edge_1_2_0/cell/target/spu/include",
|
|
ExternPath + "UbiServices/custom/client-sdk/public",
|
|
ExternPath + "UbiServices/custom/external/harbourcommon/libraries/harboureal/api/sources",
|
|
ExternPath + "Pleo/Pleo/src",
|
|
ExternPath + "Pleo/Pleo/src/public",
|
|
ExternPath + "rapidjson/include");
|
|
|
|
if (conf.Platform == Platform.durango)
|
|
{
|
|
conf.Options.Add(Options.Vc.Compiler.CompileAsWinRT.Enable);
|
|
}
|
|
|
|
conf.IncludePaths.Add(ExternPath + "/gear4");
|
|
conf.IncludePaths.Add(ExternPath + "/gear4/eal/sources");
|
|
}
|
|
}
|
|
|
|
[Generate]
|
|
internal class JD_Editor : EngineProject
|
|
{
|
|
public JD_Editor()
|
|
{
|
|
RootPath = SourcePath + @"JD\editor";
|
|
PrecompileHeader = "JD_precompiled_editor";
|
|
}
|
|
|
|
public override void ConfigureAll(Project.Configuration conf, BaseCppTarget target)
|
|
{
|
|
base.ConfigureAll(conf, target);
|
|
conf.SolutionFolder = "JD";
|
|
conf.IfNot(Platform.win32 | Platform.win64).SourceFilesBuildExcludeRegex.Add(".cpp");
|
|
}
|
|
}
|
|
|
|
[Generate]
|
|
internal class JD_Test : EngineProject
|
|
{
|
|
public JD_Test()
|
|
{
|
|
RootPath = SourcePath + @"JD\test";
|
|
}
|
|
|
|
public override void ConfigureAll(Project.Configuration conf, BaseCppTarget target)
|
|
{
|
|
base.ConfigureAll(conf, target);
|
|
conf.SolutionFolder = "JD";
|
|
|
|
conf.IncludePaths.Add( ExternPath + "libogg/custom/include",
|
|
ExternPath + "libvorbis/custom/include",
|
|
ExternPath + "UbiServices/custom/client-sdk/public",
|
|
ExternPath + "UbiServices/custom/external/harbourcommon/libraries/harboureal/api/sources",
|
|
ExternPath + "rapidjson/include");
|
|
}
|
|
}
|
|
}
|