1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-06 18:50:31 +08:00
This commit is contained in:
源文雨
2022-12-14 11:16:01 +08:00
parent e475b30c0a
commit 2c84e62187
2 changed files with 2 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.0.0)
project(base16384 VERSION 2.2.0)
SET(CMAKE_BUILD_TYPE "Release")
project(base16384 VERSION 2.2.2)
add_executable(base16384_b base16384.c)
@@ -18,14 +17,6 @@ ELSE()
add_library(base16384_s STATIC file.c base1432.c)
ENDIF()
if (MSVC)
# do nothing
else()
# add hardening
target_compile_options(base16384 PUBLIC -Wl,-z,now -Wdate-time)
add_definitions(-D_FORTIFY_SOURCE=2)
endif()
set_target_properties(base16384_b PROPERTIES OUTPUT_NAME base16384)
set_target_properties(base16384_s PROPERTIES OUTPUT_NAME base16384)
set_target_properties(base16384 PROPERTIES VERSION ${CMAKE_PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})

View File

@@ -39,7 +39,7 @@ unsigned long get_start_ms() {
#endif
static void print_usage() {
puts("Copyright (c) 2022 Fumiama Minamoto.\nBase16384 2.2.0 (Oct 16th 2022). Usage:");
puts("Copyright (c) 2022 Fumiama Minamoto.\nBase16384 2.2.2 (Dec 14th 2022). Usage:");
puts("base16384 [-edt] [inputfile] [outputfile]");
puts(" -e\t\tencode");
puts(" -d\t\tdecode");