-
Notifications
You must be signed in to change notification settings - Fork 41
/
DNNE.props
95 lines (76 loc) · 4.69 KB
/
DNNE.props
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!--
Copyright 2020 Aaron R Robinson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DNNE.props
-->
<Project>
<PropertyGroup>
<DnneGenerateExports>true</DnneGenerateExports>
<!-- If the build is disabled, the generated source is considered the output
and emitted in the output directory as if it were a binary. -->
<DnneBuildExports>true</DnneBuildExports>
<!-- The name of the resulting native binary. This should be the name of the binary
without an extension (e.g., 'MyName'). The extension will be computed based on the
current platform. If overridden, uniqueness of this name with extension is required
as the generated binary and the existing managed assembly will collide on Windows
since managed and native binaries share the same extension (i.e., '.dll').
If this property is left blank, the previous behavior of using '$(TargetName)NE'
will occur on all platforms. -->
<DnneNativeBinaryName></DnneNativeBinaryName>
<!-- Logging level passed to output from the DNNE build process. -->
<DnneMSBuildLogging>low</DnneMSBuildLogging>
<!-- Add the generated binary to the project contents -->
<DnneAddGeneratedBinaryToProject>false</DnneAddGeneratedBinaryToProject>
<!-- Enable a workaround for https://github.com/dotnet/sdk/issues/1675 -->
<DnneWorkAroundSdk1675>true</DnneWorkAroundSdk1675>
<!-- Set to override the computed native compiler command.
This value will be placed in double quotes (e.g. "command") and passed
the computed compiler arguments. -->
<DnneCompilerCommand></DnneCompilerCommand>
<!-- Set to add compiler flags.
This value will be placed immediately prior to the source passed to the compiler. -->
<DnneCompilerUserFlags></DnneCompilerUserFlags>
<!-- Set to add linker flags.
This value will be placed after all other flags passed to the compiler. -->
<DnneLinkerUserFlags></DnneLinkerUserFlags>
<!-- Provide a .def file to pass to the Windows Linker for controlling
how exports are handled. This is only passed to the linker on
the Windows platform.
See https://docs.microsoft.com/cpp/build/exporting-from-a-dll-using-def-files -->
<DnneWindowsExportsDef></DnneWindowsExportsDef>
<!-- Set to add additional include paths to use during the native build.
The directories should be semicolon (e.g., C:\Foo;D:\Bar) delimited.
These additional directories are appended to the end of the compiler
search paths. -->
<DnneAdditionalIncludeDirectories></DnneAdditionalIncludeDirectories>
<!-- Set the Runtime ID (RID) and nethost library directory.
These can be useful for cross-architecture compilation.
It is recommended to set both as it helps to keep the
system in a consistent state. Note, computing a nethost library
location will typically require defining a RID. -->
<DnneRuntimeIdentifier></DnneRuntimeIdentifier>
<DnneNetHostDir></DnneNetHostDir>
<!-- Indicate the dnne-gen tool's roll forward policy. -->
<DnneGenRollForward></DnneGenRollForward>
<!-- EXPERIMENTAL: The native hosting should assume it is in a self-contained scenario.
When setting this flag to true, the only change in output will be the generated hosting
layer will call an API that will permit self-contained runtime activation. In order for this
option to work as desired the user must have manually configured the assembly's runtimeconfig.json
file and deps.json file. The user must also copy the appropriate runtime binaries to create a
valid self-contained install environment. -->
<DnneSelfContained_Experimental>false</DnneSelfContained_Experimental>
</PropertyGroup>
</Project>