From 2c84e62187a8f3dd9954fdf70c5f55ff8db5316c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Wed, 14 Dec 2022 11:16:01 +0800 Subject: [PATCH] v2.2.2 --- CMakeLists.txt | 11 +---------- base16384.c | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) 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");