view calc.pro @ 17:2ddf3fe6fa33

initial attempt at using separate thread for interpreter
author John W. Eaton <jwe@octave.org>
date Tue, 28 May 2019 18:27:18 -0400
parents 822a2fe5bb51
children
line wrap: on
line source

MAKEFILE = calc.mk

SOURCES = \
  command-window.cpp \
  gui-main.cpp \
  interpreter.cpp \
  main.cpp \
  parser.cpp \
  qt-interpreter.cpp \
  tty-main.cpp

HEADERS = \
  command-window.h \
  gui-main.h \
  interpreter.h \
  parser.h \
  qt-interpreter.h \
  tty-main.h

LIBS += -lreadline

CONFIG += qt warn_on debug

QT += widgets

QMAKE_EXTRA_TARGETS += distclean
distclean.depends = extraclean

QMAKE_EXTRA_TARGETS += extraclean
extraclean.commands = rm -f parse.cpp

## Use the following to experiment with running the interpreter
## in a separate thread.
## QMAKE_CXXFLAGS += -DCALC_USE_INTERPRETER_THREAD=1