Separate object files by arch

This commit is contained in:
Renaud Casenave-Péré 2025-09-07 16:04:05 +02:00
parent f758ef3730
commit 5a65d0f6d1
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ CONFIG += debug
QT =
TARGET = sextant
DESTDIR = $$PWD
OBJECTS_DIR = $$PWD/tmp/sextant
OBJECTS_DIR = $$PWD/tmp/$$QMAKE_HOST.arch/sextant
LIBS += -lecl -lsextant-parser -L.
QMAKE_CXXFLAGS += -std=c++2a -Wno-parentheses -Wno-unused-local-typedefs -Wno-array-bounds -Wno-maybe-uninitialized -Wno-restrict
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"

View file

@ -3,7 +3,7 @@ CONFIG += staticlib debug
QT =
TARGET = sextant-parser
DESTDIR = $$PWD
OBJECTS_DIR = $$PWD/tmp/parser/
OBJECTS_DIR = $$PWD/tmp/$$QMAKE_HOST.arch/parser/
INCLUDEPATH += $$PWD/external/tree-sitter/lib/src $$PWD/external/tree-sitter/lib/include
INCLUDEPATH += $$PWD/external/tree-sitter-org/src
LIBS += -lecl