Commit ee4c09bf authored by Scott Egerton's avatar Scott Egerton

Added 1.0.0 version number

parent 513d0be6
......@@ -15,12 +15,16 @@
along with ELMO-2. If not, see <http://www.gnu.org/licenses/>.
#]=]
# Specify the minimum version for CMake
# Specify the minimum required version for CMake
cmake_minimum_required(VERSION 3.0)
# Project's name
project(ELMO-2)
set(${PROJECT_NAME}_VERSION_MAJOR 1)
set(${PROJECT_NAME}_VERSION_MINOR 0)
set(${PROJECT_NAME}_VERSION_PATCH 0)
# Stricter warnings
# TODO: Replace with this: https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/#leave-cmake_cxx_flags-alone
#set(Custom_Flags "${Custom_Flags} -Wall -Wextra -Wpedantic -Weffc++")
......@@ -45,7 +49,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0")
# Warnings are errors
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
# Place executables into a 'bin' folder
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/bin)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment