anthracite/build_supp/version.sh
Nicholas Orlowsky 71be773d49
split into src and lib and socket changes
* libanthracite files are now all in lib/
* anthracite-bin + anthracite-api-bin files are now all in src/
* socket split into header and source properly
2025-02-04 11:37:46 -05:00

5 lines
293 B
Bash
Executable file

echo "#include <string>" > version.cpp
echo "#include \"../lib/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