Coder Social home page Coder Social logo

dpp-ue-codegen's Introduction

DPP-UE-CodeGen

This is a C++ executable that will pre-generate all the code for DPP-UE.

How does this work?

This reads all the D++ code located in the include/DPP directory and begins to create a function, for Unreal Engine, from that code. The function that is creates is then inserted into gencode/. A GitHub Action for DPP-UE will then automatically the DPP-UE repository.

Is the code unit-tested?

No. The code that is generated from this script is not tested by GitHub Actions, nor Jenkins. This is because it would require too much work.

It is expected that the code, that is generated from this, will work straight out the box. An initial Proof Of Concept was done before this, allowing me to understand what exactly needed to be different. From here, it should be as simple as that (and quite possibly refining).

How to generate the code

You should only execute this on Linux.

Clone the project and then run cmake -B build. Then run cmake --build build. Once that's done, do cd build, you should see CodeGen. You can now do ./CodeGen to run the program.

The program expects to be executed inside the build directory. If it is not, then it will simply abort.

DPP-UE-CodeGen will seek to regenerate all the code, which could take a bit. This is just the easiest way to do this, otherwise more problems get introduced if the program needs to start checking if something already exists, if the data isn't valid anymore, etc.

Other notes

This project uses the C++17 standard and will only ever update if Unreal Engine updates.

If D++ updates to C++20 before Unreal Engine (which is very likely, but will not happen for the next few years), then DPP-UE will simply not function anymore until Unreal Engine updates.

dpp-ue-codegen's People

Contributors

jaskowicz1 avatar

Watchers

 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.