Skip to content

Commit

Permalink
fix adding VERSION_PATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmut committed Aug 16, 2019
1 parent d9cb139 commit 531cd2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions inc/cmake_config.hpp.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#define VERSION_MAJOR @vcf-validator_VERSION_MAJOR@
#define VERSION_MINOR @vcf-validator_VERSION_MINOR@
#define VERSION_PATCH @vcf-validator_VERSION_PATCH@
2 changes: 1 addition & 1 deletion src/assembly_checker_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace
namespace po = boost::program_options;

const std::string version_info = "vcf-assembly-checker version " + std::to_string(VERSION_MAJOR) + "."
+ std::to_string(VERSION_MINOR);
+ std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH);

po::options_description build_command_line_options()
{
Expand Down
2 changes: 1 addition & 1 deletion src/debugulator_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace
};

const std::string version_info = "vcf-debugulator version " + std::to_string(VERSION_MAJOR) + "."
+ std::to_string(VERSION_MINOR);
+ std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH);

po::options_description build_command_line_options()
{
Expand Down
2 changes: 1 addition & 1 deletion src/validator_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace
namespace po = boost::program_options;

const std::string version_info = "vcf_validator version " + std::to_string(VERSION_MAJOR) + "."
+ std::to_string(VERSION_MINOR);
+ std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH);

po::options_description build_command_line_options()
{
Expand Down

0 comments on commit 531cd2e

Please sign in to comment.