let copy files happen from lua script

This commit is contained in:
sonoro1234
2018-10-08 11:37:20 +02:00
parent 54118273ff
commit 259dc4afc8
2 changed files with 24 additions and 7 deletions

View File

@@ -12,13 +12,10 @@
:: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example)
:: set PATH=%PATH%;C:\luaGL;C:\mingw32\bin;
:: set PATH=%PATH%;C:\luaGL;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
:: set PATH=%PATH%;C:\luaGL\sources\luajit-master\luajit-master\bin\mingw32;C:\mingw32\bin;
::process files
:: arg[1..n] name of implementations to generate
luajit.exe ./generator.lua glfw opengl3 opengl2 sdl
::copy cimgui.h and cimgui.cpp
copy .\generated\cimgui.h ..\cimgui.h
copy .\generated\cimgui.cpp ..\cimgui.cpp
luajit ./generator.lua glfw opengl3 opengl2 sdl
::leave console open
cmd /k