mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-06 18:50:31 +08:00
v2.2.2
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user