You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Docs update
* Complete refactoring of docs build. The docs are now built as a distinct project and included in the Llvm.NET.sln
* removed Build-docs.ps1 and updated Appveyor build support for the docs
* Buildall.ps1 now really does build all.
* Customized docs template/theme to use a dark theme that more closely resembles the dark theme of the .NET APIs
* added syntax highlighting for llvm-IR and rudimentary ANTLR grammar support for docs.
* Fixed buildall.ps1 for appveyor builds so the BuildOutput folder exists to clone the docs repo into
Copy file name to clipboardExpand all lines: README.md
+24-16Lines changed: 24 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,34 +36,42 @@ C API with a C# adapter layer to provide the full experience .NET developers exp
36
36
tedious one very little application code required changes.
37
37
38
38
### Platform Support
39
-
Currently LLVM.NET supports Win32 and x64 buids targeting the full desktop framework v4.7 and .NET standard 2.0. Idealy other platforms are possible in the future. To keep life simpler the Llvm.NET nuget package is built for the "AnyCPU" platform and references the LibLLVM.NET package to bring in the native binary support. Llvm.NET contains code to dynamically detect the platform it is running on and load the appropriate DLL. This allows applications to build for AnyCPU without creating multiple build configurations and release vehicles for applications. (Any new platforms would need to update the dynamic loading support and include the appropriate P/Invokable binaries)
39
+
Currently LLVM.NET supports Win32 and x64 builds targeting the full desktop framework v4.7 and .NET standard 2.0. Ideally
40
+
other platforms are possible in the future. To keep life simpler the Llvm.NET NuGet package is built for the "AnyCPU"
41
+
platform and references the LibLLVM.NET package to bring in the native binary support. Llvm.NET contains code to dynamically
42
+
detect the platform it is running on and load the appropriate DLL. This allows applications to build for AnyCPU without
43
+
creating multiple build configurations and release vehicles for applications. (Any new platforms would need to update the
44
+
dynamic loading support and include the appropriate P/Invokable binaries)
40
45
41
-
### CI Build Nuget Packages
42
-
The CI Builds on AppVeyor provide a [Nuget Feed](https://ci.appveyor.com/nuget/Ubiquity.Llvm.NET
43
-
) of the NuGet package built from the lates source in the master branch.
46
+
### CI Build NuGet Packages
47
+
The CI Builds on AppVeyor provide a [NuGet Feed](https://ci.appveyor.com/NuGet/Ubiquity.Llvm.NET
48
+
) of the NuGet package built from the latest source in the master branch.
44
49
45
-
### Building Llvm.NET
46
-
#### Pre-requsites
50
+
### API Documentation
51
+
The full API documentation on using Llvm.NET is available on the [Llvm.NET documentation site](https://ubiquitydotnet.github.io/Llvm.NET/).
52
+
53
+
## Building Llvm.NET
54
+
### Pre-requsites
47
55
* Visual Studio 2017 (15.4+)
48
-
* Llvm.Libs Nuget Package
49
-
- To build the Llvm.Libs nuget package locally you can use the build support from the [Llvm.Libs ](https://github.com/UbiquityDotNET/Llvm.Libs) repository
56
+
* Llvm.Libs NuGet Package
57
+
- To build the Llvm.Libs NuGet package locally you can use the build support from the [Llvm.Libs ](https://github.com/UbiquityDotNET/Llvm.Libs) repository
50
58
51
59
#### Using Visual Studio
52
60
The repository contains a Visual Studio solution files that allow building the components individually for modifying
53
61
Llvm.NET and LibLLVM, as well as running the available unit tests. This is the primary mode of working with the
54
-
Llvm.NET source code duing development.
62
+
Llvm.NET source code during development.
55
63
56
-
####Replicating the automated build
57
-
The Automated build support for Llvm.NET uses BuildAll.ps1 powershell script to build all the binaries, sign them
58
-
[SHA256 hash only at present], and generate a nuget package. To build the full package simply run `BuildAll.ps1`
59
-
from a powershell command prompt with msbuild tools on the system search path.
64
+
### Replicating the automated build
65
+
The Automated build support for Llvm.NET uses BuildAll.ps1 PowerShell script to build all the binaries, sign them
66
+
[SHA256 hash only at present], and generate a NuGet package. To build the full package simply run `BuildAll.ps1`
67
+
from a PowerShell command prompt with MSBuild tools on the system search path.
60
68
61
-
####Sample Application
69
+
### Sample Application
62
70
The [CodeGenWithDebugInfo](https://github.com/UbiquityDotNET/Llvm.Net/tree/master/Samples/CodeGenWithDebugInfo) sample application provides an example of using Llvm.NET to generate
63
71
LLVM Bit code equivalent to what the Clang compiler generates for a [simple C language file](https://github.com/UbiquityDotNET/Llvm.Net/blob/master/Samples/CodeGenWithDebugInfo/Support%20Files/test.c).
64
-
The sample applictation doesn't actually parse the source, instead it is a manually constructed and documented example of how to use Llvm.NET to accomplish the bit-code generation.
72
+
The sample application doesn't actually parse the source, instead it is a manually constructed and documented example of how to use Llvm.NET to accomplish the bit-code generation.
65
73
66
-
####Code of Conduct
74
+
### Code of Conduct
67
75
This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/)
68
76
to clarify expected behavior in our community. For more information, see the
69
77
[.NET Foundation Code of Conduct.](http://www.dotnetfoundation.org/code-of-conduct)
0 commit comments