summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt5
-rw-r--r--CMakeLists.txt2
-rw-r--r--dux/CMakeLists.txt6
-rw-r--r--dux/include/dux/base.h6
-rw-r--r--update-checklist.txt7
5 files changed, 21 insertions, 5 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 02ca852..42912bc 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,8 @@
+| 29
+
+- Add homepage-URL to CMake;
+- Add an update checklist ("/update-checklist.txt");
+
| 28
- Add module dux.ismainthrd;
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb7e85f..fd68ee4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ project(
# Constants:
set(
DUX_VERSION
- 32.0
+ 33
)
# Subdirectories
diff --git a/dux/CMakeLists.txt b/dux/CMakeLists.txt
index 6f54c19..332980f 100644
--- a/dux/CMakeLists.txt
+++ b/dux/CMakeLists.txt
@@ -24,14 +24,16 @@ set(
# Project:
project(
dux
+ DESCRIPTION
+ "General purpose library."
+ HOMEPAGE_URL
+ "https://mandelbrot.dk/dux"
LANGUAGES
C
CXX
ASM # CMake recommends placing assembly as the last entry in the list of languages.
VERSION
${DUX_VERSION}
- DESCRIPTION
- "General purpose library."
)
# Target:
diff --git a/dux/include/dux/base.h b/dux/include/dux/base.h
index 47c2f02..21c2bfe 100644
--- a/dux/include/dux/base.h
+++ b/dux/include/dux/base.h
@@ -59,14 +59,16 @@
# if defined(dux_lang_cxx)
# undef restrict
-# if defined(dux_priv_gnuc) || defined(dux_cmpl_msvc)
+# if defined(dux_priv_gnuc)
+# define restrict __restrict__
+# elif defined(dux_cmpl_msvc)
# define restrict __restrict
# else
# define restrict
# endif
# endif
-# define dux_priv_ver 0x20
+# define dux_priv_ver 0x21
# if !defined(dux_dbg)
# if defined(_DEBUG) || !defined(NDEBUG)
diff --git a/update-checklist.txt b/update-checklist.txt
new file mode 100644
index 0000000..8a0ec82
--- /dev/null
+++ b/update-checklist.txt
@@ -0,0 +1,7 @@
+- Update the version number in:
+ - "/dux/include/dux/base.h"
+ - "/CMakeLists.txt"
+
+- Add a new version entry in the changelog
+
+- Check all TO-DOs and complete any that can quickly be completed