aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src/csharp/build_options.include
blob: 8597ae336757e5717056855c78e5c75e3b811572 (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
57
58
59
<%page args="executable=False,includeData=False"/>\
"buildOptions": {
  % if executable:
    "emitEntryPoint": true
  % endif
  },
  % if executable:
  "configurations": {
    "Debug": {
      "buildOptions": {
        "define": [ "SIGNED" ],
        "keyFile": "../keys/Grpc.snk",
        "publicSign": true,
        "xmlDoc": true,
        "compile": {
          "includeFiles": [ "../Grpc.Core/Version.cs" ]
        },
        "copyToOutput": {
          % if includeData:
          "include": "data/*",
          % endif
          "mappings": {
            "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",
        "publicSign": true,
        "xmlDoc": true,
        "compile": {
          "includeFiles": [ "../Grpc.Core/Version.cs" ]
        },
        "copyToOutput": {
          % if includeData:
          "include": "data/*",
          % endif
          "mappings": {
            "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
  "runtimes": {
    "win7-x64": { },
    "debian.8-x64": { },
    "osx.10.11-x64": { }
  },