|
@@ -54,7 +54,7 @@ jobs:
|
|
- name: Build example_null (single file build)
|
|
- name: Build example_null (single file build)
|
|
shell: bash
|
|
shell: bash
|
|
run: |
|
|
run: |
|
|
- echo '#define IMGUI_IMPLEMENTATION' >> example_single_file.cpp
|
|
|
|
|
|
+ echo '#define IMGUI_IMPLEMENTATION' > example_single_file.cpp
|
|
echo '#include "misc/single_file/imgui_single_file.h"' >> 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
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp
|
|
g++ -I. -Wall -Wformat -o example_single_file.exe example_single_file.cpp
|
|
g++ -I. -Wall -Wformat -o example_single_file.exe example_single_file.cpp
|
|
@@ -190,6 +190,14 @@ jobs:
|
|
|
|
|
|
- name: Build example_null (single file build)
|
|
- name: Build example_null (single file build)
|
|
run: |
|
|
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
|
|
|
|
+ g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
|
|
|
|
+
|
|
|
|
+ - name: Build example_null (with ImWchar32)
|
|
|
|
+ run: |
|
|
|
|
+ echo '#define ImWchar ImWchar32' > example_single_file.cpp
|
|
echo '#define IMGUI_IMPLEMENTATION' >> example_single_file.cpp
|
|
echo '#define IMGUI_IMPLEMENTATION' >> example_single_file.cpp
|
|
echo '#include "misc/single_file/imgui_single_file.h"' >> 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
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp
|
|
@@ -226,7 +234,7 @@ jobs:
|
|
|
|
|
|
- name: Build example_null (single file build)
|
|
- name: Build example_null (single file build)
|
|
run: |
|
|
run: |
|
|
- echo '#define IMGUI_IMPLEMENTATION' >> example_single_file.cpp
|
|
|
|
|
|
+ echo '#define IMGUI_IMPLEMENTATION' > example_single_file.cpp
|
|
echo '#include "misc/single_file/imgui_single_file.h"' >> 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
|
|
echo '#include "examples/example_null/main.cpp"' >> example_single_file.cpp
|
|
clang++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
|
|
clang++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
|