Browse Source

Add APP_VARIANT global.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
90077192b2
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      include/common.hpp
  2. +1
    -0
      src/common.cpp

+ 1
- 0
include/common.hpp View File

@@ -260,6 +260,7 @@ typename C::mapped_type get(const C& m, const typename C::key_type& key, const t
// config // config


extern const std::string APP_NAME; extern const std::string APP_NAME;
extern const std::string APP_VARIANT;
extern const std::string APP_VERSION; extern const std::string APP_VERSION;
extern const std::string APP_ARCH; extern const std::string APP_ARCH;




+ 1
- 0
src/common.cpp View File

@@ -16,6 +16,7 @@ namespace rack {




const std::string APP_NAME = "VCV Rack"; const std::string APP_NAME = "VCV Rack";
const std::string APP_VARIANT = "Community Edition";
const std::string APP_VERSION = TOSTRING(VERSION); const std::string APP_VERSION = TOSTRING(VERSION);
#if defined ARCH_WIN #if defined ARCH_WIN
const std::string APP_ARCH = "win"; const std::string APP_ARCH = "win";


Loading…
Cancel
Save