Updated directory structure and build steps

* seperate build-supplemental from build-version
* version.cpp now included in cmake config, not directly imported
* socket moved into its own directory
* test_www removed from project
This commit is contained in:
Nicholas Orlowsky 2025-02-04 11:29:15 -05:00
parent 54d82b8c66
commit fba87f3fbb
Signed by: nickorlow
GPG key ID: 838827D8C4611687
26 changed files with 122 additions and 92 deletions

4
build_supp/version.sh Executable file
View file

@ -0,0 +1,4 @@
echo "#include <string>" > version.cpp
echo "#include \"../src/version.hpp\"" >> version.cpp
echo "const std::string ANTHRACITE_VERSION_STRING = \"$(cat version.txt)\";" >> version.cpp
echo "const std::string ANTHRACITE_FULL_VERSION_STRING = \"Anthracite/$(cat version.txt)\";" >> version.cpp