HexaGen.Runtime 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package HexaGen.Runtime --version 1.1.0                
NuGet\Install-Package HexaGen.Runtime -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HexaGen.Runtime" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HexaGen.Runtime --version 1.1.0                
#r "nuget: HexaGen.Runtime, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install HexaGen.Runtime as a Cake Addin
#addin nuget:?package=HexaGen.Runtime&version=1.1.0

// Install HexaGen.Runtime as a Cake Tool
#tool nuget:?package=HexaGen.Runtime&version=1.1.0                

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:

  1. Install .NET SDK 8.0: Download and install the .NET SDK 8.0 from the official .NET website.

  2. Install Clang: Ensure you have Clang 17.0.4 or later installed. You can download it from the official Clang website.

  3. Install Visual Studio 2022: Download and install Visual Studio 2022 or later from the Visual Studio website.

  4. Clone the Repository: Clone the HexaGen repository from GitHub to your local machine:

    git clone https://github.com/HexaEngine/HexaGen.git
    cd HexaGen
    
  5. 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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (44)

Showing the top 5 NuGet packages that depend on HexaGen.Runtime:

Package Downloads
Hexa.NET.ImGui

A .NET wrapper for the Dear ImGui library. (1.91.6)

Hexa.NET.ImPlot

A .NET wrapper for the ImPlot library. (0.17)

Hexa.NET.ImNodes

A .NET wrapper for the ImNodes library. (0.5.0)

Hexa.NET.ImGuizmo

A .NET wrapper for the ImGuizmo library. (1.91.3 WIP)

HexaGen.Runtime.COM

The COM Runtime for all COM Wrappers generated with the HexaGen Code Generator.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.16 1,624 11/13/2024
1.1.15 86 11/12/2024
1.1.14 846 11/11/2024
1.1.13 4,310 10/16/2024
1.1.12 97 10/16/2024
1.1.11 93 10/14/2024
1.1.10 722 10/10/2024
1.1.9 559 9/12/2024
1.1.8 382 8/21/2024
1.1.7 628 8/18/2024
1.1.6 242 8/13/2024
1.1.5 492 8/4/2024
1.1.4 350 7/31/2024
1.1.3 71 7/31/2024
1.1.2 68 7/31/2024
1.1.1 80 7/28/2024
1.1.0 160 7/28/2024
1.0.0 889 9/19/2023