Code Monkey home page Code Monkey logo

openflightreader's Introduction

OpenFlightReader ✈️

Yet Another OpenFlight Reader

Build status

Requirements

OpenFlightReader
  • C++11 Compatible Compiler
OpenFlightReader.CSharp Generator
  • Microsoft .NET Framework 4.6
  • Visual Studio 2015
  • Nuget executable installed in %PATH%

NOTE : You can always provide the path of nuget.exe using NUGET cmake option.

Build

mkdir build
cd build
cmake -DBUILD_AS_SHARED_LIB=ON -DBUILD_CSHARP_GENERATOR=OFF -G"Visual Studio 14 2015 Win64" ..
cmake --build . --config Release --target INSTALL

OpenFlightReader.CSharp Generator Usage

:: go to the compiled generator directory
cd bin\generators\csharp

:: generate the CSharp bindings files
OpenFlightReader.CSharp.exe ^
 -L ..\..\dll ^
 -l OpenFlightReader.lib ^
 -I ..\..\include ^
 -i OpenFlightReader.h ^
 -o generated

This will generate .cs and .cpp files inside a folder named "generated".

For the STD library bindings (std::string), you will need to compile a separated dll

cd generated
cl.exe /LD /EHsc Std-symbols.cpp

OpenFlightReader in your project:

File Location
OpenFlightReader.dll next to your compiled lib/executable
Std-symbols.dll next to your compiled lib/executable
OpenFlightReader.cs use it directly inside your project
Std.cs use it directly inside your project

openflightreader's People

Contributors

realisim avatar

Stargazers

龙行天下 avatar Ovidiu Onet avatar  avatar Mickael Bonfill avatar

Watchers

 avatar

openflightreader's Issues

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.