anthracite/build_supp/version.sh
Nicholas Orlowsky fba87f3fbb
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
2025-02-04 11:29:15 -05:00

5 lines
293 B
Bash
Executable file

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