Commit graph

8 commits

Author SHA1 Message Date
d9c38af8d5
CMakeLists.txt: Remove comment
It provides little information given how small the build system for this
repository is.
2025-01-16 06:34:02 +01:00
6df1cd175b
cmake: Set package version
This commit suggests to follow the same version and naming conventions
as in the code repository.
2025-01-16 06:23:14 +01:00
1d84fdcdf7
CMakeLists.txt: Use relative paths for DESTINATION
According to the documentation, it is not recommended to use absolute
paths as DESTINATION. [1] Because of this, CPack was failing to package
NSIS-based installers.

INSTALL_DESTINATION can be an absolute path, but it does not provide any
value since CMAKE_INSTALL_PREFIX is assumed as the default
INSTALL_PREFIX. [2]

[1]: https://cmake.org/cmake/help/latest/command/install.html
[2]: https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html
2025-01-14 02:47:18 +01:00
c6b10bd9c6
CMakeLists.txt: Reduce project version to 2.3.0
Until 2.4.0 is released, the project version should stay at 2.3.0.
Otherwise, the project version would mismatch with that obtained via
`git describe --tags --dirty`.
2025-01-14 02:47:17 +01:00
69cb5d5a6c
Introduce CPack-based packaging 2025-01-14 02:47:17 +01:00
7a2047c2f0
Move user-files to data/
All files listed by user-files are in fact referrenced from the data/
directory. Therefore, moving it to data/ makes sense to keep
consistency.
2025-01-14 02:47:17 +01:00
5d5bc88e57
Add user-files
This is meant to replace the dynamic generation of a version control
file called version.xml, as well as the xmlversion command line tool,
wth a static, line-separated list of files that the engine can use to
parse the version numbers.
2025-01-14 02:47:17 +01:00
0a33242611
Refactor all CMakeLists.txt
This commit removes the dependency against custom macros, in favour of
standard CMake commands, as well as removing the use of glob expressions
since they are assumed as deprecated. [1]

[1]: https://cmake.org/cmake/help/latest/command/file.html#glob
2025-01-14 02:47:16 +01:00