-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use commit id for version when unspecified
- Loading branch information
1 parent
88d8766
commit 8a1e1e0
Showing
3 changed files
with
121 additions
and
119 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
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,56 +1,51 @@ | ||
add_executable( | ||
caps-log | ||
|
||
config.cpp | ||
config.hpp | ||
main.cpp | ||
|
||
./log/annual_log_data.cpp | ||
./log/annual_log_data.hpp | ||
./log/local_log_repository.cpp | ||
./log/local_log_repository.hpp | ||
./log/log_file.cpp | ||
./log/log_file.hpp | ||
./log/log_repository_base.hpp | ||
./log/log_repository_crypto_applier.cpp | ||
./log/log_repository_crypto_applier.hpp | ||
|
||
./utils/crypto.cpp | ||
./utils/crypto.hpp | ||
./utils/date.hpp | ||
./utils/string.hpp | ||
./utils/task_executor.hpp | ||
./utils/git_repo.cpp | ||
./utils/git_repo.hpp | ||
|
||
./view/annual_view.cpp | ||
./view/annual_view.hpp | ||
./view/annual_view_base.hpp | ||
./view/calendar_component.cpp | ||
./view/calendar_component.hpp | ||
./view/ftxui_ext/extended_containers.cpp | ||
./view/ftxui_ext/extended_containers.hpp | ||
./view/input_handler.hpp | ||
./view/preview.cpp | ||
./view/preview.hpp | ||
./view/promptable.cpp | ||
./view/promptable.hpp | ||
) | ||
caps-log | ||
config.cpp | ||
config.hpp | ||
main.cpp | ||
./log/annual_log_data.cpp | ||
./log/annual_log_data.hpp | ||
./log/local_log_repository.cpp | ||
./log/local_log_repository.hpp | ||
./log/log_file.cpp | ||
./log/log_file.hpp | ||
./log/log_repository_base.hpp | ||
./log/log_repository_crypto_applier.cpp | ||
./log/log_repository_crypto_applier.hpp | ||
./utils/crypto.cpp | ||
./utils/crypto.hpp | ||
./utils/date.hpp | ||
./utils/string.hpp | ||
./utils/task_executor.hpp | ||
./utils/git_repo.cpp | ||
./utils/git_repo.hpp | ||
./view/annual_view.cpp | ||
./view/annual_view.hpp | ||
./view/annual_view_base.hpp | ||
./view/calendar_component.cpp | ||
./view/calendar_component.hpp | ||
./view/ftxui_ext/extended_containers.cpp | ||
./view/ftxui_ext/extended_containers.hpp | ||
./view/input_handler.hpp | ||
./view/preview.cpp | ||
./view/preview.hpp | ||
./view/promptable.cpp | ||
./view/promptable.hpp) | ||
|
||
target_include_directories(caps-log PRIVATE ./ ${CMAKE_CURRENT_BINARY_DIR}) | ||
|
||
|
||
target_link_libraries(caps-log | ||
ftxui::screen | ||
ftxui::dom | ||
ftxui::component | ||
fmt::fmt | ||
Boost::program_options | ||
OpenSSL::Crypto | ||
OpenSSL::SSL | ||
${LIBGIT2_LIBRARIES} | ||
) | ||
|
||
target_compile_definitions(caps-log PRIVATE CAPS_LOG_VERSION_STRING="${CAPS_LOG_VERSION}") | ||
target_link_libraries( | ||
caps-log | ||
ftxui::screen | ||
ftxui::dom | ||
ftxui::component | ||
fmt::fmt | ||
Boost::program_options | ||
OpenSSL::Crypto | ||
OpenSSL::SSL | ||
${LIBGIT2_LIBRARIES}) | ||
|
||
target_compile_definitions( | ||
caps-log PRIVATE CAPS_LOG_VERSION_STRING="${CAPS_LOG_VERSION}") | ||
|
||
install(TARGETS caps-log DESTINATION "bin") |
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