build: replace generateVersion.sh (#12110)

* Implemented the CMake version of generateVersion.sh

* Made version.h.in compatible with the new build system and included version.h in helpers/MiscFunctions.cpp

* Deleted the scripts/generateVersion.sh as it's no longer needed

* Updated meson.build to match the new workflow

* Added an empty line between includes and namespaces that I accidentally removed
This commit is contained in:
nnra 2025-10-23 21:50:32 +02:00 committed by GitHub
parent 057695bc3f
commit 019589e23f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 119 additions and 94 deletions

View file

@ -23,6 +23,8 @@
#endif
#include <hyprutils/string/String.hpp>
#include <hyprutils/os/Process.hpp>
#include "../version.h"
using namespace Hyprutils::String;
using namespace Hyprutils::OS;