Skip to content

Commit

Permalink
Started TUI with indigents menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
nalevi committed Dec 26, 2023
1 parent 8f65834 commit 2ea1137
Show file tree
Hide file tree
Showing 13 changed files with 148 additions and 447 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ ENV CC=${CC:-"gcc"}
ENV CXX=${CXX:-"g++"}

# Include project
#ADD . /workspaces/cpp_starter_project
#WORKDIR /workspaces/cpp_starter_project
ADD . /workspaces/recipe_agent
WORKDIR /workspaces/recipe_agent

CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ include(cmake/PackageProject.cmake)
# we know we want to ship
recipe_agent_package_project(
TARGETS
intro
recipeagent
recipe_agent_options
recipe_agent_warnings
# FIXME: this does not work! CK
Expand Down
2 changes: 1 addition & 1 deletion ProjectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ macro(recipe_agent_setup_options)

if(NOT PROJECT_IS_TOP_LEVEL OR recipe_agent_PACKAGING_MAINTAINER_MODE)
option(recipe_agent_ENABLE_IPO "Enable IPO/LTO" OFF)
option(recipe_agent_WARNINGS_AS_ERRORS "Treat Warnings As Errors" OFF)
option(recipe_agent_WARNINGS_AS_ERRORS "Treat Warnings As Errors" ON)
option(recipe_agent_ENABLE_USER_LINKER "Enable user-selected linker" OFF)
option(recipe_agent_ENABLE_SANITIZER_ADDRESS "Enable address sanitizer" OFF)
option(recipe_agent_ENABLE_SANITIZER_LEAK "Enable leak sanitizer" OFF)
Expand Down
15 changes: 0 additions & 15 deletions include/recipe_agent/sample_library.hpp

This file was deleted.

23 changes: 21 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
add_subdirectory(sample_library)
add_subdirectory(ftxui_sample)
add_executable(recipeagent
main.cpp
)

target_link_libraries(
recipeagent
PRIVATE recipe_agent::recipe_agent_options
recipe_agent::recipe_agent_warnings)

target_link_system_libraries(
recipeagent
PRIVATE
CLI11::CLI11
fmt::fmt
spdlog::spdlog
lefticus::tools
ftxui::screen
ftxui::dom
ftxui::component)

target_include_directories(recipeagent PRIVATE "${CMAKE_BINARY_DIR}/configured_files/include")
19 changes: 0 additions & 19 deletions src/ftxui_sample/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 2ea1137

Please sign in to comment.