File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ VERSION_MAJOR := 2
3
3
VERSION := 2.git.$(shell git rev-parse --short HEAD)
4
4
# VERSION := 2.0.0
5
5
6
- FLAGS += -DVERSION=$(VERSION )
7
6
FLAGS += -Iinclude -Idep/include
8
7
9
8
include arch.mk
@@ -17,6 +16,8 @@ SOURCES += dep/pffft/pffft.c dep/pffft/fftpack.c
17
16
SOURCES += $(wildcard src/* .c src/* /* .c)
18
17
SOURCES += $(wildcard src/* .cpp src/* /* .cpp)
19
18
19
+ build/src/common.cpp.o : FLAGS += -D_APP_VERSION=$(VERSION )
20
+
20
21
STANDALONE_SOURCES += adapters/standalone.cpp
21
22
22
23
FLAGS += -fPIC
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const std::string APP_NAME = "VCV Rack";
19
19
const std::string APP_EDITION = " CE" ;
20
20
const std::string APP_EDITION_NAME = " Community Edition" ;
21
21
const std::string APP_VERSION_MAJOR = " 2" ;
22
- const std::string APP_VERSION = TOSTRING(VERSION );
22
+ const std::string APP_VERSION = TOSTRING(_APP_VERSION );
23
23
#if defined ARCH_WIN
24
24
const std::string APP_ARCH = " win" ;
25
25
#elif ARCH_MAC
You can’t perform that action at this time.
0 commit comments