mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-10 03:55:43 -04:00
no one needs geodechecksum either
This commit is contained in:
parent
53e01fd94e
commit
29a800bf7c
3 changed files with 0 additions and 24 deletions
loader
|
@ -275,6 +275,3 @@ elseif (WIN32)
|
|||
endif()
|
||||
|
||||
add_subdirectory(test)
|
||||
|
||||
# Build index hashing algorithm test program
|
||||
add_subdirectory(hash)
|
||||
|
|
|
@ -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")
|
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue