Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Dec 14, 2022
1 parent e475b30 commit 2c84e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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})
Expand Down
2 changes: 1 addition & 1 deletion base16384.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 2c84e62

Please sign in to comment.