diff --git a/src/client/Directory.Build.props b/src/client/Directory.Build.props new file mode 100644 index 000000000..e72d04725 --- /dev/null +++ b/src/client/Directory.Build.props @@ -0,0 +1,76 @@ + + + + ..\..\tools\override\$(computername).props + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)\..\..)) + $([System.IO.Path]::GetFullPath($(SparkRoot)\src)) + $(SparkRoot)\externals\windows + $(SparkRoot)/externals/linux + $([System.IO.Path]::GetFileName($([System.IO.Path]::GetFullPath($(SparkRoot))))) + None + False + true + False + false + Debug + + + + $(SparkRoot)\build\$(Configuration) + $(BaseOutputPath)\bin + $(BaseOutputPath)\obj\$(MSBuildProjectName) + $(BaseOutputPath)\obj\$(MSBuildProjectName) + $(BaseOutputPath)\gen\$(MSBuildProjectName) + + + + + + + + CompileProto2 + CompileProto2Linux + + + CompileProto3 + CompileProto3Linux + + + CompileProto3Excel + + + + + $(SparkRoot)\src\lib\api\service_compiler + $(Externals)\include + $(Externals)\bin\protoc.exe + $(Externals)\bin\protogen.exe + + + + $(SparkRoot)/src/lib/api/service_compiler + $(Externals)/include + $(Externals)/bin/protoc + $(Externals)/bin/lowercase_files.sh + $(Externals)/bin/protogen + + + + + + + $(IntermediateOutputPath)\gen\%(relativedir) + %(OutBase)%(FileName).cs + %(OutBase)%(FileName).client.pb.cs + %(OutBase)%(FileName).server.pb.cs + %(OutBase)%(FileName).immutable.pb.cs + + + + $(IntermediateOutputPath)\gen\%(relativedir) + %(OutBase)%(FileName).excel.pb.cs + + + + + diff --git a/src/client/Directory.Build.targets b/src/client/Directory.Build.targets new file mode 100644 index 000000000..2aa10b04e --- /dev/null +++ b/src/client/Directory.Build.targets @@ -0,0 +1,159 @@ + + + + + + + $([System.String]::Copy('%(proto2.fullpath)').Replace($(SourceRoot), '')) + $([System.IO.Path]::GetDirectoryName($(SourceRelativeFile))) + $(GenDir)\proto2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $([System.String]::Copy('%(proto2.fullpath)').Replace($(SourceRoot), '')) + $([System.IO.Path]::GetDirectoryName($(SourceRelativeFile))) + $(GenDir)/proto2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file