post in cpp and h files if it is generated with internal api

This commit is contained in:
Victor Bombi
2020-04-14 17:37:22 +02:00
parent 7224084284
commit df7c5d1b5d
5 changed files with 8 additions and 0 deletions

View File

@@ -415,6 +415,10 @@ while true do
end
pipe:close()
cimgui_header = cimgui_header:gsub("XXX",imgui_version)
if INTERNAL_GENERATION then
cimgui_header = cimgui_header..[[//with imgui_internal.h api
]]
end
print("IMGUI_VERSION",imgui_version)
--get some defines----------------------------
gdefines = get_defines{"IMGUI_VERSION","FLT_MAX"}