diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 96dc070b..e1e98bec 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -6,7 +6,6 @@ else() HogMaker/HogFormat.cpp HogMaker/HogMaker.cpp ) - add_dependencies(HogMaker get_git_hash) target_include_directories(HogMaker PRIVATE ${PROJECT_BINARY_DIR}/lib) export(TARGETS HogMaker FILE "${CMAKE_BINARY_DIR}/HogMakerConfig.cmake") endif() diff --git a/tools/HogMaker/HogMaker.cpp b/tools/HogMaker/HogMaker.cpp index 0fde353e..1e1ee0ef 100644 --- a/tools/HogMaker/HogMaker.cpp +++ b/tools/HogMaker/HogMaker.cpp @@ -22,7 +22,6 @@ #include #include -#include "d3_version.h" #include "HogFormat.h" // TODO: To our descendants from the future: remove it when code will support C++20 @@ -48,7 +47,7 @@ int main(int argc, char *argv[]) { std::vector input_files; if (argc < 3) { - std::cout << "HogMaker v" << D3_MAJORVER << "." << D3_MINORVER << "." << D3_BUILD << "-g" << D3_GIT_HASH << "\n" + std::cout << "HogMaker - tool for creating Descent3 HOG2 files.\n" << "Usage:\n" << " " << argv[0] << " [search_path]\n" << std::endl;