forked from cpp-best-practices/cmake_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
348 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cmake_conan_boilerplate_template | ||
ftxui_template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cpp-best-practices/cmake_conan_boilerplate_template | ||
cpp-best-practices/ftxui_template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
catch2/2.13.9 | ||
cli11/2.2.0 | ||
spdlog/1.10.0 | ||
ftxui/2.0.0 | ||
|
||
[generators] | ||
cmake_find_package_multi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
find_package(fmt CONFIG REQUIRED) | ||
find_package(spdlog CONFIG REQUIRED) | ||
find_package(CLI11 CONFIG REQUIRED) | ||
find_package(ftxui CONFIG REQUIRED) | ||
|
||
# Generic test that uses conan libs | ||
add_executable(intro main.cpp) | ||
|
||
target_link_libraries( | ||
intro | ||
PUBLIC project_options project_warnings | ||
PRIVATE CLI11::CLI11 fmt::fmt spdlog::spdlog) | ||
PRIVATE project_options | ||
project_warnings | ||
docopt::docopt | ||
fmt::fmt | ||
spdlog::spdlog | ||
ftxui::screen | ||
ftxui::dom | ||
ftxui::component) | ||
|
||
target_include_directories(intro PRIVATE "${CMAKE_BINARY_DIR}/configured_files/include") |
Oops, something went wrong.