diff --git a/main.cpp b/main.cpp index de9bf88..3d856c4 100644 --- a/main.cpp +++ b/main.cpp @@ -6,6 +6,7 @@ #include #include +#include "version.hpp" #include "utilities.hpp" #include "limiter.hpp" @@ -72,6 +73,7 @@ int main(int argc, char **argv) { } if (vm.count("help")) { + std::cout << "SteadySound v" << STEADYSOUND_MAJOR_VERSION << "." << STEADYSOUND_MINOR_VERSION << std::endl << std::endl; std::cout << "Usage: " << argv[0] << " input output OPTIONS" << std::endl << std::endl; std::cout << prettyDesc << std::endl; std::cout << "The input file can be in any format that libsndfile supports, which includes "; diff --git a/version.hpp b/version.hpp new file mode 100644 index 0000000..b94d4c7 --- /dev/null +++ b/version.hpp @@ -0,0 +1,7 @@ +#ifndef VERSION_HPP +#define VERSION_HPP + +#define STEADYSOUND_MAJOR_VERSION 1 +#define STEADYSOUND_MINOR_VERSION 0 + +#endif