HexaGen.Core
1.1.3-unstable
See the version list below for details.
dotnet add package HexaGen.Core --version 1.1.3-unstable
NuGet\Install-Package HexaGen.Core -Version 1.1.3-unstable
<PackageReference Include="HexaGen.Core" Version="1.1.3-unstable" />
paket add HexaGen.Core --version 1.1.3-unstable
#r "nuget: HexaGen.Core, 1.1.3-unstable"
// Install HexaGen.Core as a Cake Addin #addin nuget:?package=HexaGen.Core&version=1.1.3-unstable&prerelease // Install HexaGen.Core as a Cake Tool #tool nuget:?package=HexaGen.Core&version=1.1.3-unstable&prerelease
HexaGen
HexaGen is a code generation tool designed to generate bindings for C# for C and COM libraries using CppAst.NET. Additionally, it includes a generator for creating wrappers around C++ libraries for C. HexaGen aims to simplify the process of integrating native libraries with C# applications.
Features
- C# Bindings for C Libraries: Automatically generate C# bindings for C libraries.
- C# Bindings for COM Libraries: Easily create C# bindings for COM libraries.
- C++ to C Wrappers: Generate C wrappers for C++ libraries, facilitating their use in C projects.
Work in Progress
- Cpp to C Generator: A feature under development to create wrappers around C++ libraries for C.
Requirements
To build and use HexaGen, ensure you have the following tools installed:
- .NET SDK 8.0
- Clang 17.0.4 or later
- Visual Studio 2022 or later
Build Instructions
To build HexaGen, follow these steps:
Install .NET SDK 8.0: Download and install the .NET SDK 8.0 from the official .NET website.
Install Clang: Ensure you have Clang 17.0.4 or later installed. You can download it from the official Clang website.
Install Visual Studio 2022: Download and install Visual Studio 2022 or later from the Visual Studio website.
Clone the Repository: Clone the HexaGen repository from GitHub to your local machine:
git clone https://github.com/HexaEngine/HexaGen.git cd HexaGen
Build the Project: Open the project in Visual Studio 2022 and build the solution, or use the .NET CLI:
dotnet build
Usage
Instructions on how to use HexaGen will be provided once the project reaches a stable release. Stay tuned for updates!
Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure that your code follows the project's coding standards and includes appropriate tests.
License
HexaGen is licensed under the MIT License. See the LICENSE file for more details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- CppAst (>= 0.20.2)
- libclang.runtime.win-x64 (>= 17.0.4)
- libClangSharp.runtime.win-x64 (>= 17.0.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on HexaGen.Core:
Package | Downloads |
---|---|
HexaGen
Package Description |
|
HexaGen.Language
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.1.7-rc2 | 83 | 12/8/2024 | |
1.1.6 | 103 | 11/4/2024 | |
1.1.6-rc0 | 75 | 11/4/2024 | |
1.1.5 | 119 | 11/2/2024 | |
1.1.4 | 172 | 10/24/2024 | |
1.1.3 | 102 | 10/24/2024 | |
1.1.3-unstable | 104 | 9/6/2024 | |
1.1.3-rc0 | 92 | 10/17/2024 | |
1.1.2 | 350 | 8/18/2024 | |
1.1.1 | 144 | 8/16/2024 | |
1.1.0 | 161 | 8/16/2024 | |
1.0.1 | 134 | 8/14/2024 | |
1.0.0 | 130 | 8/5/2024 |