From c487b0266e6ca512e10a3a8773a9857d8a30f754 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 8 Oct 2018 13:44:43 +0200 Subject: [PATCH] more README.md updates --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c1039fc..81eefce 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,20 @@ Notes: * clone * git clone --recursive https://github.com/cimgui/cimgui.git * git submodule update -* make using makefile on linux/macOS/mingw (Or use CMake to generate project) +* compile + * using makefile on linux/macOS/mingw (Or use CMake to generate project) + * or as in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build -# auto binding generation +# using generator * you will need LuaJIT (https://github.com/LuaJIT/LuaJIT.git better 2.1 branch) or precompiled for linux/macOS/windows in https://luapower.com/luajit/download * need also gcc compiler for doing preprocessing (In windows MinGW-W64-builds for example) * update `imgui` folder to the version you desire. * run `generator/generator.bat` (or make a .sh version and please PR) with gcc and LuaJIT on your PATH. -* as a result some files are generated: `cimgui.cpp` and `cimgui.h` for compiling and some lua/json files with information about the binding: `definitions.json` with function info, `structs_and_enums.json` with struct and enum info, `impl_definitions.json` with functions from the implementations info. -* build as shown in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build -* generate binding as done in +* as a result some files are generated: `cimgui.cpp` and `cimgui.h` for compiling and some lua/json files with information about the binding: `definitions.json` with function info, `structs_and_enums.json` with struct and enum info, `impl_definitions.json` with functions from the implementations info. + +# generate binding +* with your prefered languaje from lua or json files as in: * https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat * https://github.com/mellinoe/ImGui.NET/tree/autogen/src/CodeGenerator