summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 19:20:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 19:20:57 +0300
commitd5940771c664ef947819b0524cc928f4749c501c (patch)
tree128c48e91284d6dbd9d08f22392617456eb8f450 /CMakeLists.txt
parent571903ce027f7f4370a565bda9c2b0cad35f7ff7 (diff)
iOS: Build date
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19497879..2b229442 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,8 @@ project (Lagrange
25set (COPYRIGHT_YEAR 2021) 25set (COPYRIGHT_YEAR 2021)
26if (IOS) 26if (IOS)
27 set (PROJECT_VERSION 1.7) 27 set (PROJECT_VERSION 1.7)
28 set (IOS_BUNDLE_VERSION 22) 28 set (IOS_BUNDLE_VERSION 23)
29 set (IOS_BUILD_DATE "2021-09-17")
29endif () 30endif ()
30 31
31# Default that depend on environment. 32# Default that depend on environment.
@@ -391,7 +392,10 @@ if (APPLE)
391 XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "fi.skyjake.lagrange" 392 XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "fi.skyjake.lagrange"
392 ) 393 )
393 if (IOS) 394 if (IOS)
394 target_compile_definitions (app PUBLIC LAGRANGE_IOS_VERSION="${IOS_BUNDLE_VERSION}") 395 target_compile_definitions (app PUBLIC
396 LAGRANGE_IOS_VERSION="${IOS_BUNDLE_VERSION}"
397 LAGRANGE_IOS_BUILD_DATE="${IOS_BUILD_DATE}"
398 )
395 set_target_properties (app PROPERTIES 399 set_target_properties (app PROPERTIES
396 MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/res/iOSBundleInfo.plist.in" 400 MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/res/iOSBundleInfo.plist.in"
397 MACOSX_BUNDLE_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}" 401 MACOSX_BUNDLE_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}"