Clone from https://github.com/yungyuc/turgon.git
$ git clone https://github.com/yungyuc/turgon.git
Turgon needs following packages:
- C++14
- Python3.7
- Cmake 3.15.4+
- numpy
- pybind11 (recommended build and install locally, otherwise cmake may not find pybind11)
- modmesh
Make sure all dependencies have been installed.
Now change the current directory to turgon/spacetime
$ cd turgon/spacetime
Run make:
Turgon have two build type:
- Debug
$ make CMAKE_ARGS="-Dmodmesh_INCLUDE_DIR=path_to/modmesh/include/" CMAKE_BUILD_TYPE=Debug
- Release
$ make CMAKE_ARGS="-Dmodmesh_INCLUDE_DIR=path_to/modmesh/include/" CMAKE_BUILD_TYPE=Release
Using gtest to test if turgon is installed properly.
$ make test
Turgon have some development note, in order to get these note, the TeX and LaTeX need to be installed.
If you use Mac OS, you can check the MacTEX or:
$ brew cask install mactex
If you use Linux, you can check the texlive or:
$ sudo apt-get install texlive-full
Now change you current directory to writing
$ cd writing
then build the note:
$ make note