-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Make fmt work from the vendored fmt 2. Add the cmake flags so we can use std::filesystem back to 10.13 in the fs::space and modify the create_directories to use a path at least 3. Vendor in CLI11
- Loading branch information
Showing
5 changed files
with
11,043 additions
and
24 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,20 +1,9 @@ | ||
add_executable(clap-wrapper-cli | ||
project(clap-wrapper-cli) | ||
add_executable(${PROJECT_NAME} | ||
src/main.cpp | ||
) | ||
|
||
CPMAddPackage(NAME CL11 | ||
GITHUB_REPOSITORY CLIUtils/CLI11 | ||
GIT_TAG v2.4.2) | ||
|
||
# TODO: deduplicate this with the vendored fmt - | ||
# for some reason, the cli won't link | ||
# if we include the vendored version | ||
CPMAddPackage( | ||
NAME fmt | ||
GITHUB_REPOSITORY fmtlib/fmt | ||
GIT_TAG 11.0.2 | ||
OPTIONS | ||
"FMT_INSTALL ON" | ||
) | ||
|
||
target_link_libraries(clap-wrapper-cli PUBLIC CLI11::CLI11 fmt::fmt) | ||
target_include_directories(${PROJECT_NAME} PRIVATE ../libs/fmt ) | ||
target_include_directories(${PROJECT_NAME} PRIVATE ../libs/CLI11 ) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE clap-wrapper-compile-options-public) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE clap-wrapper-shared-detail) |
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
Oops, something went wrong.