32 lines
863 B
C#
32 lines
863 B
C#
using System;
|
|
using Sharpmake;
|
|
|
|
namespace TeaBox.Sharpmake
|
|
{
|
|
[Generate]
|
|
public class Solution : CSharpSolution
|
|
{
|
|
public Solution()
|
|
{
|
|
AddTargets(Utilities.GetDefaultTargets());
|
|
IsFileNameToLower = false;
|
|
}
|
|
|
|
[Configure]
|
|
public void ConfigureAll(Configuration conf, Target target)
|
|
{
|
|
AddTests(conf, target);
|
|
|
|
conf.SolutionPath = @"..\";
|
|
conf.SolutionFileName = string.Format("{0}.{1}", Name, target.DevEnv.GetDevEnvString());
|
|
}
|
|
|
|
private void AddTests(Configuration conf, Target target)
|
|
{
|
|
conf.AddProject<Core_Tests>(target);
|
|
conf.AddProject<Application_Tests>(target);
|
|
conf.AddProject<SourceControl_Tests>(target);
|
|
conf.AddProject<Macros_Tests>(target);
|
|
}
|
|
}
|
|
}
|