Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 3.21 KB

File metadata and controls

68 lines (52 loc) · 3.21 KB

WebAssembly port with additional fixes

This is a fork of SpeedCrunch with some additional bug fixes and also with a port to WebAssembly.

You can host it yourself (files are in the release) or you can run it from here: Live SpeedCrunch

My changes, and the port, are described here.

SpeedCrunch

SpeedCrunch is a high-precision scientific calculator. It features a syntax-highlighted scrollable display and is designed to be fully used via keyboard. Some distinctive features are auto-completion of functions and variables, a formula book, and quick insertion of constants from various fields of knowledge. It is available for Windows, OS X, and Linux in a number of languages.

capture.png

Building

To build SpeedCrunch, you need:

  • A C++11-capable compiler (e.g. Microsoft Visual C++ 2013 or later, GCC 4.8 or later)
  • Qt 5.15 or later
  • CMake 3.16 or later

To build SpeedCrunch in a dedicated build directory and install it, run the following commands from the root of the source directory:

mkdir build
cd build
cmake ../src
make install

When building against a Qt version that is not the system default Qt installation, point CMake towards the Qt installation to use by setting the CMAKE_PREFIX_PATH environment variable to the prefix directory of the Qt installation when running CMake.

You can customize the build using the following variables. These are specified when running CMake, in the form cmake ../src -Dvariable=value.

  • PORTABLE_SPEEDCRUNCH: Set this to on to have the application settings stored in the same location as the executable, e.g. for running from a USB drive without requiring installation.
  • CMAKE_INSTALL_PREFIX: Change the installation prefix for SpeedCrunch.
  • HTML_DOCS_DIR: Change the path to the HTML manual that's embedded in the binary by the build. By default, a bundled prebuilt copy is used to minimize dependencies.

Building the manual

Building the HTML manual is normally not necessary because a prebuilt copy is included with the SpeedCrunch source. For more information, see the manual's README.

Contributing

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.