mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
backend_test/example_sdlgpu3: thanks to @hgranthorner PR #291 with generation from cmake
This commit is contained in:
@@ -463,6 +463,7 @@ if #implementations > 0 then
|
||||
local impl_str = ""
|
||||
local impl_str_cpp = {}
|
||||
for i,impl in ipairs(implementations) do
|
||||
print("------------implementation:",impl)
|
||||
table.insert(impl_str_cpp, "\n#ifdef CIMGUI_USE_" .. string.upper(impl))
|
||||
table.insert(impl_str_cpp, [[#include "imgui_impl_]]..impl..[[.h"]])
|
||||
table.insert(impl_str_cpp, "#endif")
|
||||
|
Reference in New Issue
Block a user