mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Don't rebuild HogMaker on each commit
Remove configure-time dependency get_git_hash that cause to rebuild whole graph of dependencies (like HOG files).
This commit is contained in:
parent
46c6b55f5c
commit
cc7fbd46ed
@ -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()
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
#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<std::filesystem::path> 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] << " <hogfile.hog> <inputfile.txt> [search_path]\n"
|
||||
<< std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user