Skip to content

Commit

Permalink
add multi-architecture settings for qmake
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaller committed Aug 31, 2024
1 parent 38fab3b commit 2e1ca52
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QtSLiM/QtSLiM.pro
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ docIconFiles.files = $$PWD/QtSLiM_DocIcon.icns
docIconFiles.path = Contents/Resources
QMAKE_BUNDLE_DATA += docIconFiles

# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64


# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
Expand Down
5 changes: 5 additions & 0 deletions core/core.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TEMPLATE = lib
CONFIG += staticlib


# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64


# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to
Expand Down
5 changes: 5 additions & 0 deletions eidos/eidos.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TEMPLATE = lib
CONFIG += staticlib


# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64


# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to
Expand Down
5 changes: 5 additions & 0 deletions eidos_zlib/eidos_zlib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TEMPLATE = lib
CONFIG += staticlib


# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64


# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to
Expand Down
5 changes: 5 additions & 0 deletions gsl/gsl.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TEMPLATE = lib
CONFIG += staticlib


# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64


# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to
Expand Down
5 changes: 5 additions & 0 deletions treerec/tskit/tskit.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TEMPLATE = lib
CONFIG += staticlib


# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64


# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to
Expand Down

0 comments on commit 2e1ca52

Please sign in to comment.