#include <iostream>

#include "core/version.h"

int main() {
  static_assert(aptt::kVersionMajor == 0);
  static_assert(aptt::kVersionMinor >= 0);
  static_assert(aptt::kVersionPatch >= 0);

  if (aptt::kAppName[0] == '\0') {
    std::cerr << "Application name must not be empty.\n";
    return 1;
  }

  if (aptt::kVersionString[0] == '\0') {
    std::cerr << "Version string must not be empty.\n";
    return 1;
  }

  std::cout << aptt::kAppName << " " << aptt::kVersionString << "\n";
  return 0;
}
