diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b185f646..11348fcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -25,13 +25,13 @@ project (Lagrange | |||
25 | set (COPYRIGHT_YEAR 2022) | 25 | set (COPYRIGHT_YEAR 2022) |
26 | if (IOS) | 26 | if (IOS) |
27 | set (PROJECT_VERSION 1.10) | 27 | set (PROJECT_VERSION 1.10) |
28 | set (IOS_BUNDLE_VERSION 9) | 28 | set (IOS_BUNDLE_VERSION 12) |
29 | set (IOS_BUILD_DATE "2022-01-01") | 29 | set (IOS_BUILD_DATE "2022-01-28") |
30 | endif () | 30 | endif () |
31 | if (ANDROID) | 31 | if (ANDROID) |
32 | set (PROJECT_VERSION 1.10) | 32 | set (PROJECT_VERSION 1.10) |
33 | set (ANDROID_BUILD_VERSION a3) # remember to update Gradle, AndroidManifest.xml | 33 | set (ANDROID_BUILD_VERSION a5) # remember to update Gradle, AndroidManifest.xml |
34 | set (ANDROID_BUILD_DATE "2022-01-03") | 34 | set (ANDROID_BUILD_DATE "2022-01-24") |
35 | endif () | 35 | endif () |
36 | 36 | ||
37 | # Defaults that depend on environment. | 37 | # Defaults that depend on environment. |
@@ -118,6 +118,8 @@ elseif (ANDROID) | |||
118 | else () | 118 | else () |
119 | list (APPEND RESOURCES | 119 | list (APPEND RESOURCES |
120 | res/about/help.gmi | 120 | res/about/help.gmi |
121 | res/about/version-0.13.gmi | ||
122 | res/about/version-1.5.gmi | ||
121 | res/about/version.gmi | 123 | res/about/version.gmi |
122 | res/arg-help.txt | 124 | res/arg-help.txt |
123 | ) | 125 | ) |
@@ -232,7 +234,7 @@ set (SOURCES | |||
232 | src/ui/scrollwidget.c | 234 | src/ui/scrollwidget.c |
233 | src/ui/scrollwidget.h | 235 | src/ui/scrollwidget.h |
234 | src/ui/sidebarwidget.c | 236 | src/ui/sidebarwidget.c |
235 | src/ui/sidebarwidget.h | 237 | src/ui/sidebarwidget.h |
236 | src/ui/text.c | 238 | src/ui/text.c |
237 | src/ui/text.h | 239 | src/ui/text.h |
238 | src/ui/touch.c | 240 | src/ui/touch.c |
@@ -435,7 +437,7 @@ if (APPLE) | |||
435 | XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "fi.skyjake.lagrange" | 437 | XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "fi.skyjake.lagrange" |
436 | ) | 438 | ) |
437 | if (IOS) | 439 | if (IOS) |
438 | target_compile_definitions (app PUBLIC | 440 | target_compile_definitions (app PUBLIC |
439 | LAGRANGE_IOS_VERSION="${IOS_BUNDLE_VERSION}" | 441 | LAGRANGE_IOS_VERSION="${IOS_BUNDLE_VERSION}" |
440 | LAGRANGE_IOS_BUILD_DATE="${IOS_BUILD_DATE}" | 442 | LAGRANGE_IOS_BUILD_DATE="${IOS_BUILD_DATE}" |
441 | ) | 443 | ) |
@@ -464,7 +466,7 @@ endif () | |||
464 | if (MSYS) | 466 | if (MSYS) |
465 | target_link_libraries (app PUBLIC d2d1 uuid dwmapi) # querying DPI | 467 | target_link_libraries (app PUBLIC d2d1 uuid dwmapi) # querying DPI |
466 | if (ENABLE_WINSPARKLE) | 468 | if (ENABLE_WINSPARKLE) |
467 | target_link_libraries (app PUBLIC winsparkle) | 469 | target_link_libraries (app PUBLIC winsparkle) |
468 | endif () | 470 | endif () |
469 | endif () | 471 | endif () |
470 | if (UNIX) | 472 | if (UNIX) |
@@ -522,6 +524,7 @@ MimeType=x-scheme-handler/gemini;x-scheme-handler/gopher; | |||
522 | install (FILES res/fi.skyjake.Lagrange.appdata.xml | 524 | install (FILES res/fi.skyjake.Lagrange.appdata.xml |
523 | DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo | 525 | DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo |
524 | ) | 526 | ) |
527 | install (FILES res/lagrange.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) | ||
525 | if (NOT ENABLE_RELATIVE_EMBED) | 528 | if (NOT ENABLE_RELATIVE_EMBED) |
526 | target_compile_definitions (app PUBLIC | 529 | target_compile_definitions (app PUBLIC |
527 | LAGRANGE_EMB_BIN="${CMAKE_INSTALL_FULL_DATADIR}/lagrange/resources.lgr") | 530 | LAGRANGE_EMB_BIN="${CMAKE_INSTALL_FULL_DATADIR}/lagrange/resources.lgr") |