Skip to content

Commit 1988a4e

Browse files
Merge pull request #22 from MattiaMontanari/ce
Set version in cmake and remove old CI
2 parents 1b84855 + 9851fe1 commit 1988a4e

File tree

2 files changed

+8
-29
lines changed

2 files changed

+8
-29
lines changed

.github/workflows/ccpp.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@
2121
# FOR A PARTICULAR PURPOSE. See GNU General Public License for details. #
2222

2323
cmake_minimum_required(VERSION 2.8)
24-
cmake_policy(SET CMP0048 NEW)
25-
cmake_policy(SET CMP0079 NEW)
24+
cmake_policy(SET CMP0048 NEW)
2625

27-
option(BUILD_EXAMPLE "Build demo" ON)
26+
option(BUILD_EXAMPLE "Build demo" ON)
27+
set(GK_VERSION_MAJOR 3)
28+
set(GK_VERSION_MINOR 0)
29+
set(GK_VERSION_PATCH 0)
2830

2931
project(lib_opengjk_ce
3032
LANGUAGES C
31-
VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
32-
DESCRIPTION "openGJK library"
33-
HOMEPAGE_URL "https://mattiamontanari.com/opengjk"
33+
DESCRIPTION "openGJK library community edition (CE)"
34+
HOMEPAGE_URL "www.mattiamontanari.com/opengjk/"
35+
VERSION ${GK_VERSION_MAJOR}.${GK_VERSION_MINOR}.${GK_VERSION_PATCH}
3436
)
3537

3638
set( C_STANDARD 99)

0 commit comments

Comments
 (0)