2018-06-20 11:42:19 +02:00
|
|
|
:: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory
|
2018-06-25 15:52:55 +02:00
|
|
|
:: definitions.lua for function definitions
|
|
|
|
:: structs_and_enums.lua with struct and enum information-definitions
|
|
|
|
:: impl_definitions.lua for implementation function definitions
|
|
|
|
:: cimgui_impl.h with implementation function cdefs
|
2018-06-20 11:42:19 +02:00
|
|
|
|
2018-06-26 10:51:55 +02:00
|
|
|
:: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example)
|
|
|
|
:: set PATH=%PATH%;C:\luaGL;
|
2018-04-26 19:51:47 +02:00
|
|
|
|
2018-06-25 15:52:55 +02:00
|
|
|
::process files
|
|
|
|
:: arg[1] true=use gcc false=dont use gcc
|
|
|
|
:: arg[2..] name of implementation to generate
|
2018-06-26 10:51:55 +02:00
|
|
|
luajit.exe ./generator.lua false glfw opengl3 opengl2 sdl
|
2018-06-17 12:26:40 +02:00
|
|
|
|
2018-06-20 11:42:19 +02:00
|
|
|
::copy cimgui.h and cimgui.cpp
|
|
|
|
copy .\cimgui.h ..\cimgui.h
|
|
|
|
copy .\cimgui.cpp ..\cimgui.cpp
|
2018-06-17 12:26:40 +02:00
|
|
|
|
2018-06-20 11:42:19 +02:00
|
|
|
::leave console open
|
2018-04-26 19:51:47 +02:00
|
|
|
cmd /k
|
|
|
|
|