Skip to content

Commit

Permalink
REFACTOR: Improved I/O and call_arithmetica_tui()
Browse files Browse the repository at this point in the history
  • Loading branch information
avighnac committed Jun 19, 2023
1 parent 6bfb775 commit 5d4f01c
Show file tree
Hide file tree
Showing 10 changed files with 186 additions and 223 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cmake_minimum_required(VERSION 3.0)
project(arithmetica-tui)

option(BUILD_RELEASE "Build for a GitHub release" ON)
option(BUILD_MAIN_EXECUTABLE "Build the main executable" ON)
option(BUILD_MAIN_EXECUTABLE "Build the main executable" OFF)
option(USE_SUBMODULE_AM_BMO "Fetch arithmetica and basic_math_operations using FetchContent" ON)
option(ARITHMETICA_TUI_TESTS "Build tests" OFF)
option(ARITHMETICA_TUI_TESTS "Build tests" ON)

if(WIN32 OR USE_SUBMODULE_AM_BMO)
# First fetch the repositories
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ add_library(arithmetica-tui-lib STATIC ${sources} ${helper_sources})
target_link_libraries(arithmetica-tui-lib PRIVATE arithmetica)
target_link_libraries(arithmetica-tui-lib PRIVATE basic_math_operations)

target_include_directories(arithmetica-tui-lib PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(arithmetica-tui-lib PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/helpers)
target_include_directories(arithmetica-tui-lib PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/functions)

Expand Down
Loading

0 comments on commit 5d4f01c

Please sign in to comment.