db48x/sim/simulator.pro
Christophe de Dinechin 70a919ec4f Testing framework
A simple testing framework that enters keys and observes the calculator

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-19 21:56:31 +02:00

89 lines
2.1 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/menu.cc \
../src/main.cc \
../src/util.cc \
../src/input.cc \
../src/stack.cc \
../src/settings.cc \
../src/object.cc \
../src/command.cc \
../src/integer.cc \
../src/decimal128.cc \
../src/decimal-64.cc \
../src/decimal-32.cc \
../src/runtime.cc \
../src/rplstring.cc \
../src/symbol.cc \
../src/algebraic.cc \
../src/arithmetic.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
# Pass debug flag
debug:DEFINES += DEBUG
# For DMCP headers
DEFINES += __packed= _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
# Additional external library HIDAPI linked statically into the code
INCLUDEPATH += ../src ../inc
LIBS += gcc111libbid.a
win32: LIBS += -lsetupapi
android: LIBS +=
freebsd: LIBS += -lthr -liconv
macx: LIBS += -framework CoreFoundation -framework IOKit