From 1f77342b789e4343a9ddf17ce10eb52f83441472 Mon Sep 17 00:00:00 2001 From: Sydney Acksman Date: Thu, 21 Jun 2018 17:53:31 -0400 Subject: Add msbuild targets to C# tools for protoc compilers (#4648) * Added props to C# tools * Add targets file to makefile.am --- Makefile.am | 1 + csharp/Google.Protobuf.Tools.nuspec | 2 ++ csharp/Google.Protobuf.Tools.targets | 16 ++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 csharp/Google.Protobuf.Tools.targets diff --git a/Makefile.am b/Makefile.am index ac87e8a3..76bb2ba2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,6 +51,7 @@ pkgconfig_DATA = protobuf.pc protobuf-lite.pc csharp_EXTRA_DIST= \ csharp/.gitignore \ csharp/CHANGES.txt \ + csharp/Google.Protobuf.Tools.targets \ csharp/Google.Protobuf.Tools.nuspec \ csharp/README.md \ csharp/build_packages.bat \ diff --git a/csharp/Google.Protobuf.Tools.nuspec b/csharp/Google.Protobuf.Tools.nuspec index 4294949f..e3386047 100644 --- a/csharp/Google.Protobuf.Tools.nuspec +++ b/csharp/Google.Protobuf.Tools.nuspec @@ -33,5 +33,7 @@ + + diff --git a/csharp/Google.Protobuf.Tools.targets b/csharp/Google.Protobuf.Tools.targets new file mode 100644 index 00000000..0d0b6725 --- /dev/null +++ b/csharp/Google.Protobuf.Tools.targets @@ -0,0 +1,16 @@ + + + $(MSBuildThisFileDirectory)..\tools\linux_x64\protoc + $(MSBuildThisFileDirectory)..\tools\linux_x86\protoc + $(MSBuildThisFileDirectory)..\tools\macosx_x64\protoc + $(MSBuildThisFileDirectory)..\tools\macosx_x86\protoc + $(MSBuildThisFileDirectory)..\tools\windows_x64\protoc.exe + $(MSBuildThisFileDirectory)..\tools\windows_x86\protoc.exe + $(protoc_linux64) + $(protoc_linux86) + $(protoc_macosx64) + $(protoc_macosx86) + $(protoc_windows64) + $(protoc_windows86) + + \ No newline at end of file -- cgit v1.2.3