diff --git a/examples/advanced/01_custom_component/CMakeLists.txt b/examples/advanced/01_custom_component/CMakeLists.txt index 7f2160c..08acf36 100644 --- a/examples/advanced/01_custom_component/CMakeLists.txt +++ b/examples/advanced/01_custom_component/CMakeLists.txt @@ -30,4 +30,5 @@ add_dependencies(01_custom_component format-example-sources) # Output to build/examples/advanced/01_custom_component/ set_target_properties(01_custom_component PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/advanced/01_custom_component" + CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3" ) diff --git a/examples/advanced/01_custom_component/main.cpp b/examples/advanced/01_custom_component/main.cpp index 68880c3..54ecb6a 100644 --- a/examples/advanced/01_custom_component/main.cpp +++ b/examples/advanced/01_custom_component/main.cpp @@ -14,18 +14,21 @@ #include "../../adapters/glfw_window_adapter.h" #include "../../adapters/simple_opengl_renderer.h" #include -#include #include #include #include #include #include #include +#include #include #include #include #include +#include +#include +#include using namespace bombfork::prong; using namespace bombfork::prong::core; @@ -42,7 +45,6 @@ class ColorPicker : public Component { float selectedG = 0.5f; float selectedB = 0.0f; - bool isDragging = false; ColorChangeCallback onColorChange; public: diff --git a/examples/advanced/02_custom_layout/CMakeLists.txt b/examples/advanced/02_custom_layout/CMakeLists.txt index 0ff5dca..3c560f4 100644 --- a/examples/advanced/02_custom_layout/CMakeLists.txt +++ b/examples/advanced/02_custom_layout/CMakeLists.txt @@ -21,4 +21,5 @@ add_dependencies(02_custom_layout format-example-sources) set_target_properties(02_custom_layout PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/advanced/02_custom_layout" + CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3" ) diff --git a/examples/advanced/02_custom_layout/main.cpp b/examples/advanced/02_custom_layout/main.cpp index 5991591..c677da6 100644 --- a/examples/advanced/02_custom_layout/main.cpp +++ b/examples/advanced/02_custom_layout/main.cpp @@ -12,9 +12,15 @@ #include #include #include +#include #include +#include #include +#include +#include +#include +#include using namespace bombfork::prong; using namespace bombfork::prong::layout; diff --git a/examples/advanced/03_custom_renderer/CMakeLists.txt b/examples/advanced/03_custom_renderer/CMakeLists.txt index e009ba5..473409c 100644 --- a/examples/advanced/03_custom_renderer/CMakeLists.txt +++ b/examples/advanced/03_custom_renderer/CMakeLists.txt @@ -21,4 +21,5 @@ add_dependencies(03_custom_renderer format-example-sources) set_target_properties(03_custom_renderer PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/advanced/03_custom_renderer" + CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3" ) diff --git a/examples/advanced/03_custom_renderer/main.cpp b/examples/advanced/03_custom_renderer/main.cpp index 0bdfc92..02bd538 100644 --- a/examples/advanced/03_custom_renderer/main.cpp +++ b/examples/advanced/03_custom_renderer/main.cpp @@ -12,11 +12,16 @@ #include #include #include +#include #include #include #include +#include +#include #include +#include +#include using namespace bombfork::prong; using namespace bombfork::prong::rendering; diff --git a/examples/advanced/04_performance/CMakeLists.txt b/examples/advanced/04_performance/CMakeLists.txt index 94478a0..a9a7e59 100644 --- a/examples/advanced/04_performance/CMakeLists.txt +++ b/examples/advanced/04_performance/CMakeLists.txt @@ -21,4 +21,5 @@ add_dependencies(04_performance format-example-sources) set_target_properties(04_performance PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/advanced/04_performance" + CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3" ) diff --git a/examples/advanced/04_performance/main.cpp b/examples/advanced/04_performance/main.cpp index 76cdbfe..1feb4ce 100644 --- a/examples/advanced/04_performance/main.cpp +++ b/examples/advanced/04_performance/main.cpp @@ -8,12 +8,17 @@ #include #include #include +#include #include #include #include #include +#include #include +#include +#include +#include using namespace bombfork::prong; using namespace bombfork::prong::layout;