aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src/csharp/build_options.include
blob: 9a32b7c6f454876722e31338eeacc8bc0459f719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<%page args="executable=False,includeData=False"/>\
"buildOptions": {
  % if executable:
    "emitEntryPoint": true
  % endif
  },
  % if executable:
  "configurations": {
    "Debug": {
      "buildOptions": {
        "define": [ "SIGNED" ],
        "keyFile": "../keys/Grpc.snk",
        "xmlDoc": true,
        "compile": {
          "includeFiles": [ "../Grpc.Core/Version.cs" ]
        },
        "copyToOutput": {
          "mappings": {
            % if includeData:
            "data/ca.pem": "../Grpc.IntegrationTesting/data/ca.pem",
            "data/server1.key": "../Grpc.IntegrationTesting/data/server1.key",
            "data/server1.pem": "../Grpc.IntegrationTesting/data/server1.pem",
            % endif
            "grpc_csharp_ext.x64.dll": "../../../vsprojects/x64/Debug/grpc_csharp_ext.dll",
            "grpc_csharp_ext.x86.dll": "../../../vsprojects/Debug/grpc_csharp_ext.dll",
            "libgrpc_csharp_ext.x64.so": "../../../libs/dbg/libgrpc_csharp_ext.so",
            "libgrpc_csharp_ext.x64.dylib": "../../../libs/dbg/libgrpc_csharp_ext.dylib"
          }
        }
      }
    },
    "Release": {
      "buildOptions": {
        "define": [ "SIGNED" ],
        "keyFile": "../keys/Grpc.snk",
        "xmlDoc": true,
        "compile": {
          "includeFiles": [ "../Grpc.Core/Version.cs" ]
        },
        "copyToOutput": {
          "mappings": {
            % if includeData:
            "data/ca.pem": "../Grpc.IntegrationTesting/data/ca.pem",
            "data/server1.key": "../Grpc.IntegrationTesting/data/server1.key",
            "data/server1.pem": "../Grpc.IntegrationTesting/data/server1.pem",
            % endif
            "grpc_csharp_ext.x64.dll": "../../../vsprojects/x64/Release/grpc_csharp_ext.dll",
            "grpc_csharp_ext.x86.dll": "../../../vsprojects/Release/grpc_csharp_ext.dll",
            "libgrpc_csharp_ext.x64.so": "../../../libs/opt/libgrpc_csharp_ext.so",
            "libgrpc_csharp_ext.x64.dylib": "../../../libs/opt/libgrpc_csharp_ext.dylib"
          }
        }
      }
    }
  },
  %endif