diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 677461fb..c6d5cad1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR) -project(ect VERSION 0.8.2 LANGUAGES CXX C) +project(ect VERSION 0.8.3 LANGUAGES CXX C) include(GNUInstallDirs) set (CMAKE_CXX_STANDARD 11) @@ -30,9 +30,12 @@ add_executable(ect add_executable(ect::ect ALIAS ect) if(MINGW) - add_compile_options(-mno-ms-bitfields) + add_compile_options($<$:-mno-ms-bitfields>) + add_compile_options($<$:-mno-ms-bitfields>) endif() + + # Use -Ofast in release builds foreach(var CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO) if(${var} MATCHES "-O(2|3)") diff --git a/src/main.cpp b/src/main.cpp index 03c53f91..8e351477 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,7 +1,7 @@ // main.cpp // Efficient Compression Tool // Created by Felix Hanau on 12/19/14. -// Copyright (c) 2014-2019 Felix Hanau. +// Copyright (c) 2014-2020 Felix Hanau. #include "main.h" #include "support.h" @@ -29,8 +29,8 @@ static std::atomic savings; static void Usage() { printf ( "Efficient Compression Tool\n" - "(c) 2014-2019 Felix Hanau.\n" - "Version 0.8.2" + "(c) 2014-2020 Felix Hanau.\n" + "Version 0.8.3" #ifdef __DATE__ " compiled on %s\n" #endif