Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/basic/01_hello_button/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ add_dependencies(01_hello_button format-example-sources)
# Output to build/examples/basic/01_hello_button/
set_target_properties(01_hello_button PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/01_hello_button"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
4 changes: 4 additions & 0 deletions examples/basic/01_hello_button/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
#include "../../adapters/simple_opengl_renderer.h"
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>

#include <functional>
#include <iostream>
#include <memory>
#include <utility>

using namespace bombfork::prong;
using namespace bombfork::prong::examples;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/02_stack_layout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ add_dependencies(02_stack_layout format-example-sources)

set_target_properties(02_stack_layout PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/02_stack_layout"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
4 changes: 4 additions & 0 deletions examples/basic/02_stack_layout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>
#include <bombfork/prong/layout/stack_layout.h>

#include <functional>
#include <iostream>
#include <memory>
#include <utility>

using namespace bombfork::prong;
using namespace bombfork::prong::examples;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/03_flex_layout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ add_dependencies(03_flex_layout format-example-sources)

set_target_properties(03_flex_layout PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/03_flex_layout"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
6 changes: 6 additions & 0 deletions examples/basic/03_flex_layout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>
#include <bombfork/prong/layout/flex_layout.h>

#include <functional>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>

using namespace bombfork::prong;
using namespace bombfork::prong::examples;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/04_grid_layout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ add_dependencies(04_grid_layout format-example-sources)

set_target_properties(04_grid_layout PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/04_grid_layout"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
5 changes: 5 additions & 0 deletions examples/basic/04_grid_layout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>
#include <bombfork/prong/layout/grid_layout.h>

#include <functional>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>

using namespace bombfork::prong;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/05_dock_layout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ add_dependencies(05_dock_layout format-example-sources)

set_target_properties(05_dock_layout PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/05_dock_layout"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
7 changes: 7 additions & 0 deletions examples/basic/05_dock_layout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>
#include <bombfork/prong/layout/dock_layout.h>

#include <functional>
#include <iostream>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>

using namespace bombfork::prong;
using namespace bombfork::prong::examples;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/06_flow_layout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ add_dependencies(06_flow_layout format-example-sources)

set_target_properties(06_flow_layout PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/06_flow_layout"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
5 changes: 5 additions & 0 deletions examples/basic/06_flow_layout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>
#include <bombfork/prong/layout/flow_layout.h>

#include <functional>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>

using namespace bombfork::prong;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/07_text_input/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ add_dependencies(07_text_input format-example-sources)

set_target_properties(07_text_input PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/07_text_input"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
6 changes: 6 additions & 0 deletions examples/basic/07_text_input/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@
#include "../../adapters/glfw_window_adapter.h"
#include "../../adapters/simple_opengl_renderer.h"
#include "../../common/glfw_adapters/glfw_adapters.h"
#include "glfw_clipboard.h"
#include "glfw_keyboard.h"
#include <GLFW/glfw3.h>
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/components/text_input.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>

#include <functional>
#include <iostream>
#include <memory>
#include <string>
#include <utility>

using namespace bombfork::prong;
using namespace bombfork::prong::examples;
Expand Down
1 change: 1 addition & 0 deletions examples/basic/08_list_box/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ add_dependencies(08_list_box format-example-sources)

set_target_properties(08_list_box PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/basic/08_list_box"
CXX_INCLUDE_WHAT_YOU_USE "${IWYU_PATH};-Xiwyu;--error;-Xiwyu;--verbose=3"
)
3 changes: 3 additions & 0 deletions examples/basic/08_list_box/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
#include <bombfork/prong/components/button.h>
#include <bombfork/prong/components/list_box.h>
#include <bombfork/prong/components/panel.h>
#include <bombfork/prong/core/component.h>
#include <bombfork/prong/core/component_builder.h>
#include <bombfork/prong/core/scene.h>

#include <functional>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>

using namespace bombfork::prong;
Expand Down