Skip to content

Commit

Permalink
version.cmake file added
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandaisb committed Apr 26, 2024
1 parent 2ca55f7 commit fcac2d6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
#==============================================================================
# GMDS Project
#==============================================================================
cmake_minimum_required(VERSION 3.10.0)
cmake_minimum_required(VERSION 3.14)
#==============================================================================
# Operating System specificities (must be put at first)
#==============================================================================
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES arm64)
endif()
#==============================================================================
project(gmds VERSION 1.0 LANGUAGES CXX)
include (cmake/version.cmake)

project(gmds
LANGUAGES CXX
VERSION ${GMDS_VERSION})
#==============================================================================
# RPATH handling according to :
# https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
Expand Down
10 changes: 10 additions & 0 deletions cmake/version.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# version.cmake : version du projet
#

set (GMDS_MAJOR_VERSION "1")
set (GMDS_MINOR_VERSION "3")
set (GMDS_RELEASE_VERSION "1")
set (GMDS_VERSION ${GMDS_MAJOR_VERSION}.${GMDS_MINOR_VERSION}.${GMDS_RELEASE_VERSION})


0 comments on commit fcac2d6

Please sign in to comment.