Coder Social home page Coder Social logo

milkman-games / cplusplus-to-csharp-converter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharpgentools/sharpgentools

0.0 0.0 0.0 116.02 MB

Accurate and high performance C++ interop code generator for C#. A fork of SharpGenTools

Home Page: https://sharpgentools.readthedocs.io/

License: MIT License

C++ 1.24% C 92.39% C# 6.32% PowerShell 0.05% CMake 0.01%

cplusplus-to-csharp-converter's Introduction

SharpGenTools

Build Status MyGet Pre Release NuGet Docs codecov CodeFactor

Accurate and high performance C++ interop code generator for C#.

Features

  • Accurate, fast code-gen for C++ and COM interfaces from their C++ headers.
  • No dependencies on .NET Runtime COM support
  • Supports passing code-gen information through MSBuild project and package references
  • Pluggable Runtime Library Name and runtime support type names (default library is SharpGen.Runtime)
    • Projects that implement their own SharpGenTools runtime support classes can add mapping rules to ensure that their generated code uses their runtime support library.

Components in this Repo

  • SharpGen
    • The code-gen engine that runs CastXML to parse the C++ and then generates the C# interop code.
    • API for SharpGen SDK plugins, e.g. documentation providers.
  • SharpGenTools.Sdk
    • MSBuild tooling to integrate SharpGen directly into projects.
    • Build-time code generation plugin platform.
  • SharpGen.Runtime
    • Runtime support classes for code generated by SharpGen.
  • SharpGen.Runtime.COM
    • Mapped classes for the core interfaces in the COM and Windows Runtime.

Requirements

To Use

  • SDK-style (CPS) MSBuild projects
  • .NET environment, at least one of the following:
    • .NET SDK (5 or newer)
    • .NET Core SDK (2.1 or newer)
    • Visual Studio 2017.3 with desktop .NET workload, .NET Framework 4.7.2 SDK or newer
  • Make any mapping files a SharpGenMapping item in your .csproj.

To Build

  • .NET SDK: 5.0 or newer.
  • CMake: 3.0 or newer.
  • SDK tests require x64 Windows, VS2019 with x86 and x64 C++ compilers, recent PowerShell version.

Nightly (CI) builds

Add SharpGenTools MyGet feed to your NuGet.config:

<configuration>
  <packageSources>
    <!-- ... -->
    <add key="SharpGenTools" value="https://www.myget.org/F/sharpgentools/api/v3/index.json" />
  </packageSources>
</configuration>

cplusplus-to-csharp-converter's People

Contributors

amerkoleci avatar andrew-boyarshin avatar andrewst avatar artiomciumac avatar axiverse avatar bitshat avatar devel0 avatar jkoritzinsky avatar jkotas avatar jwollen avatar lioncash avatar manuelxmarquez avatar mrvux avatar nerzhulart avatar pikacc avatar rockhymas avatar xen2 avatar xoofx avatar xoofxtest avatar zhuman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.