ide: MacOS install improvements

This commit is contained in:
Mirek Fidler 2023-04-13 14:15:00 +02:00
parent 3d7a99ed77
commit 6a555830e2
2 changed files with 17 additions and 2 deletions

View file

@ -44,6 +44,15 @@ String SplashCtrl::GenerateVersionInfo(char separator)
h << " (C++11)";
#endif
#if CPU_ARM
h << "(ARM";
#if __ARM_FEATURE_UNALIGNED
h << " unaligned";
#endif
h << ")";
#endif
#ifdef GUI_GTK
h << " (Gtk)";
#endif

View file

@ -10,8 +10,8 @@ COMPILER = "clang++";
COMMON_OPTIONS = "-mmacosx-version-min=10.13";
COMMON_CPP_OPTIONS = "-std=c++14 -Wall -Wno-logical-op-parentheses";
COMMON_C_OPTIONS = "";
COMMON_LINK = "";
COMMON_FLAGS = "";
COMMON_LINK = "$COMMON$";
COMMON_FLAGS = "$COMMON$";
DEBUG_INFO = "2";
DEBUG_BLITZ = "1";
DEBUG_LINKMODE = "1";
@ -162,6 +162,12 @@ void CreateBuildMethods()
Path("$INCLUDE$", "/opt/local/include;/usr/include;/opt/homebrew/include;/opt/homebrew/opt/openssl/include");
Path("$LIB$", "/opt/local/lib;/usr/lib;/opt/homebrew/lib;/opt/homebrew/opt/openssl/lib");
String common;
#ifdef CPU_ARM
common = "-arch arm64";
#endif
bm.Replace("$COMMON$", common);
SaveFile(bm_path, bm);
}