Examples: CI: backtrack and make example_null embed backend: simpler for all sorts of quick build scripts.

This commit is contained in:
ocornut
2025-11-17 16:36:54 +01:00
parent 0cf5b93a0a
commit cfb48969af
7 changed files with 36 additions and 55 deletions

View File

@@ -3,7 +3,11 @@
// This is useful to test building, but you cannot interact with anything here!
#include "imgui.h"
#include <stdio.h>
#include "imgui_impl_null.h"
// For imgui_impl_null: use relative filename + embed implementation directly by including the .cpp file.
// This is to simplify casual building of this example from all sorts of test scripts.
#include "../../backends/imgui_impl_null.h"
#include "../../backends/imgui_impl_null.cpp"
int main(int, char**)
{