|
|
@ -288,6 +288,14 @@ jobs: |
|
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp |
|
|
|
g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp |
|
|
|
|
|
|
|
- name: Build example_null (without c++ runtime, Clang) |
|
|
|
run: | |
|
|
|
echo '#define IMGUI_IMPLEMENTATION' > example_single_file.cpp |
|
|
|
echo '#define IMGUI_DISABLE_DEMO_WINDOWS' >> example_single_file.cpp |
|
|
|
echo '#include "misc/single_file/imgui_single_file.h"' >> example_single_file.cpp |
|
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp |
|
|
|
clang++ -I. -Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp |
|
|
|
|
|
|
|
- name: Build example_glfw_opengl2 |
|
|
|
run: make -C examples/example_glfw_opengl2 |
|
|
|
|
|
|
@ -324,6 +332,13 @@ jobs: |
|
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp |
|
|
|
clang++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp |
|
|
|
|
|
|
|
- name: Build example_null (without c++ runtime) |
|
|
|
run: | |
|
|
|
echo '#define IMGUI_IMPLEMENTATION' > example_single_file.cpp |
|
|
|
echo '#include "misc/single_file/imgui_single_file.h"' >> example_single_file.cpp |
|
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp |
|
|
|
clang++ -I. -Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp |
|
|
|
|
|
|
|
- name: Build example_glfw_opengl2 |
|
|
|
run: make -C examples/example_glfw_opengl2 |
|
|
|
|
|
|
|