no one needs geodechecksum either

This commit is contained in:
mat 2024-01-04 10:01:45 -03:00
parent 53e01fd94e
commit 29a800bf7c
3 changed files with 0 additions and 24 deletions

View file

@ -275,6 +275,3 @@ elseif (WIN32)
endif()
add_subdirectory(test)
# Build index hashing algorithm test program
add_subdirectory(hash)

View file

@ -1,10 +0,0 @@
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
project(GeodeChecksum VERSION 1.0)
add_executable(${PROJECT_NAME} main.cpp hash.cpp)
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
target_link_libraries(${PROJECT_NAME} PUBLIC ghc_filesystem)
message(STATUS "Building Checksum Exe")

View file

@ -1,11 +0,0 @@
#include <iostream>
#include "hash.hpp"
int main(int argc, char** argv) {
if (argc < 2 || !ghc::filesystem::exists(argv[1])) {
std::cout << "Usage: \"checksum <file>\"\n";
return 1;
}
std::cout << calculateHash(argv[1]) << std::endl;
return 0;
}