diff --git a/CMakeLists.txt b/CMakeLists.txt index 39ae6a5..3f0d840 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/base16384.c b/base16384.c index 542660e..59bd4db 100644 --- a/base16384.c +++ b/base16384.c @@ -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");