This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Merge branch 'v2' of github.com:VCVRack/Rack-private into v2
tags/v2.2.0
Andrew Belt
2 years ago
parent
fa05737c65
639c2c6374
commit
2181d46b79
5 changed files
with
9 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
.gitignore
+1
-4
arch.mk
+4
-0
compile.mk
+1
-0
include/common.hpp
+3
-0
src/common.cpp
+ 0
- 1
.gitignore
View File
@@ -7,7 +7,6 @@
*.res
*.d
*.dSYM
*.vcvplugin
/Rack
/dep
+ 1
- 4
arch.mk
View File
@@ -1,11 +1,8 @@
MACHINE = $(shell $(CC) -dumpmachine)
ifneq (,$(findstring x86_64-,$(MACHINE)))
ARCH_
x
64 := 1
ARCH_
X
64 := 1
ARCH_NAME := x64
else ifneq (,$(findstring i686-,$(MACHINE)))
ARCH_x86 := 1
ARCH_NAME := x86
else
$(error Could not determine CPU architecture of $(MACHINE). Try hacking around in arch.mk)
endif
+ 4
- 0
compile.mk
View File
@@ -21,6 +21,10 @@ FLAGS += -Wall -Wextra -Wno-unused-parameter
CXXFLAGS += -std=c++11
# Architecture-independent flags
ifdef ARCH_X64
FLAGS += -DARCH_X64
endif
ifdef ARCH_LIN
FLAGS += -DARCH_LIN
CXXFLAGS += -Wsuggest-override
+ 1
- 0
include/common.hpp
View File
@@ -259,6 +259,7 @@ extern const std::string APP_EDITION_NAME;
extern const std::string APP_VERSION_MAJOR;
extern const std::string APP_VERSION;
extern const std::string APP_OS;
extern const std::string APP_ARCH;
extern const std::string API_URL;
+ 3
- 0
src/common.cpp
View File
@@ -27,6 +27,9 @@ const std::string APP_VERSION = TOSTRING(_APP_VERSION);
#elif defined ARCH_LIN
const std::string APP_OS = "lin";
#endif
#if defined ARCH_X64
const std::string APP_ARCH = "x64";
#endif
const std::string API_URL = "https://api.vcvrack.com";
Write
Preview
Loading…
Cancel
Save