From cd724d5348a8816d08ec41d5f0105cf2057c6964 Mon Sep 17 00:00:00 2001 From: "C. J. Howard" Date: Wed, 1 Jul 2020 11:41:23 -0400 Subject: [PATCH] Take control of version numbering --- CMakeLists.txt | 8 +++----- modules/antkeeper-data | 2 +- modules/antkeeper-source | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 45bdfda..05f3b82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,8 @@ endif() cmake_minimum_required(VERSION 3.7) -# Get software package name and version -include(${CMAKE_SOURCE_DIR}/modules/antkeeper-source/cmake/project.cmake) +# Create superbuild project +project(antkeeper-superbuild VERSION "0.0.1") # Setup package variables set(PACKAGE_NAME ${PROJECT_NAME}) @@ -35,9 +35,6 @@ else() endif() endif() -# Create superbuild project -project(${PACKAGE_NAME}-superbuild VERSION ${PACKAGE_VERSION}) - # Options set(BLENDER "blender" CACHE FILEPATH "Path to Blender executable") set(INKSCAPE "inkscape" CACHE FILEPATH "Path to Inkscape executable") @@ -146,6 +143,7 @@ ExternalProject_Add(antkeeper-source "-DCMAKE_INSTALL_PREFIX=${PACKAGE_INSTALL_DIR}" "-DPACKAGE_PLATFORM=${PACKAGE_PLATFORM}" "-DCMAKE_PREFIX_PATH=${MODULE_INSTALL_DIR}" + "-DVERSION_STRING=${PROJECT_VERSION}" BUILD_ALWAYS 1) # Build antkeeper-data module diff --git a/modules/antkeeper-data b/modules/antkeeper-data index 894d8b2..97eb192 160000 --- a/modules/antkeeper-data +++ b/modules/antkeeper-data @@ -1 +1 @@ -Subproject commit 894d8b2f002d8bdf5dfdd12ba504432d0fd7ba91 +Subproject commit 97eb1925143c1547ee46ba548a11a109fa6b95d6 diff --git a/modules/antkeeper-source b/modules/antkeeper-source index 5a2d886..be531e1 160000 --- a/modules/antkeeper-source +++ b/modules/antkeeper-source @@ -1 +1 @@ -Subproject commit 5a2d8861130f27d4a5cc87ed1c702d8bc170566a +Subproject commit be531e183382ec355fb653600b0233d52c12d015