-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove GitData, make CMake provide it
- Loading branch information
Showing
9 changed files
with
75 additions
and
129 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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#pragma once | ||
|
||
#include <string_view> | ||
|
||
namespace git::buildinfo { | ||
constexpr static std::string_view COMMIT_ID = "@GIT_COMMIT_ID@"; | ||
constexpr static std::string_view COMMIT_MESSAGE = "@GIT_COMMIT_MESSAGE@"; | ||
constexpr static std::string_view ORIGIN_URL = "@GIT_ORIGIN_URL@"; | ||
} // namespace git::buildinfo |
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,16 +1,14 @@ | ||
find_package(Boost COMPONENTS program_options REQUIRED) | ||
find_package(libgit2 REQUIRED) | ||
|
||
################# TgBot Utilities (generic) Library ################# | ||
add_my_library( | ||
NAME Utils | ||
SRCS | ||
ConfigManager.cpp | ||
Env_${TARGET_VARIANT}.cpp | ||
GitData.cpp | ||
CommandLine.cpp | ||
ResourceManager.cpp | ||
libfs_${TARGET_VARIANT}.cpp | ||
LIBS Boost::program_options ${LIBGIT2_LIBRARIES} | ||
LIBS Boost::program_options | ||
LIBS_WIN32 shlwapi | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.