db48x/sim/db48x.pro
Christophe de Dinechin 6f2158107e decimal: Remove all the BID128 stubs and related decimal types
Remove all the bid128 interfaces to make room for the decimal stuff.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-12-25 19:33:06 +01:00

126 lines
4.5 KiB
Prolog

#******************************************************************************
# simulator.pri DB48X project
#******************************************************************************
#
# File Description:
#
# Configurations specific to a simulator build
#
#
#
#
#
#
#
#
#******************************************************************************
# (C) 2022 Christophe de Dinechin <christophe@dinechin.org>
# (C) 2022 Claudio Lapilli and the newRPL team
# This software is licensed under the terms described in LICENSE.txt
#******************************************************************************
QT += core gui quick widgets quickcontrols2 quickwidgets
TEMPLATE = app
CONFIG += debug
# Qt support code
SOURCES += \
../recorder/recorder.c \
../recorder/recorder_ring.c \
sim-main.cpp \
sim-window.cpp \
sim-screen.cpp \
sim-rpl.cpp \
dmcp.cpp \
../src/dmcp/target.cc \
../src/dmcp/sysmenu.cc \
../src/dmcp/main.cc \
../src/util.cc \
../src/renderer.cc \
../src/user_interface.cc \
../src/file.cc \
../src/stack.cc \
../src/settings.cc \
../src/object.cc \
../src/command.cc \
../src/compare.cc \
../src/logical.cc \
../src/integer.cc \
../src/bignum.cc \
../src/fraction.cc \
../src/complex.cc \
../src/decimal.cc \
../src/runtime.cc \
../src/text.cc \
../src/comment.cc \
../src/symbol.cc \
../src/algebraic.cc \
../src/arithmetic.cc \
../src/functions.cc \
../src/variables.cc \
../src/locals.cc \
../src/catalog.cc \
../src/menu.cc \
../src/list.cc \
../src/program.cc \
../src/expression.cc \
../src/unit.cc \
../src/array.cc \
../src/loops.cc \
../src/conditionals.cc \
../fonts/EditorFont.cc \
../fonts/HelpFont.cc \
../fonts/StackFont.cc \
../src/font.cc \
../src/tag.cc \
../src/files.cc \
../src/graphics.cc \
../src/grob.cc \
../src/plot.cc \
../src/stats.cc \
../src/solve.cc \
../src/integrate.cc \
../src/tests.cc
HEADERS += \
sim-window.h \
sim-screen.h \
sim-rpl.h
# User interface forms
FORMS += sim-window.ui
RESOURCES += sim.qrc
# Indicate we are on simulator
DEFINES += SIMULATOR CONFIG_FIXED_BASED_OBJECTS
# Pass debug flag
debug:DEFINES += DEBUG
# For DMCP headers
DEFINES += __packed=
macx:DEFINES += _WCHAR_T_DEFINED
# COnfigure Intel Decimal Floating Point Library
DEFINES += DECIMAL_CALL_BY_REFERENCE \
DECIMAL_GLOBAL_ROUNDING \
DECIMAL_GLOBAL_ROUNDING_ACCESS_FUNCTIONS \
DECIMAL_GLOBAL_EXCEPTION_FLAGS \
DECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS \
HELPFILE_NAME=\\\"help/DB48X.md\\\"
# Additional external library HIDAPI linked statically into the code
INCLUDEPATH += ../src/dm42 ../src/dmcp ../src ../inc
LIBS += gcc111libbid.a
win32: LIBS += -lsetupapi
android: LIBS +=
freebsd: LIBS += -lthr -liconv
macx: LIBS += -framework CoreFoundation -framework IOKit
macx: QMAKE_CFLAGS += -fsanitize=address
macx: LIBS += -fsanitize=address
clang: QMAKE_CFLAGS += -Wno-unknown-pragmas
clang: QMAKE_CXXFLAGS += -Wno-unknown-pragmas