Example standalone application that uses Flibcpp (and nothing else, not even a C++ compiler).
- Clone this repository:
git clone https://github.com/swig-fortran/flibcpp-example-app
- Create a build directory:
mkdir build && cd build
- Configure, build, and run:
cmake ../flibcpp-example-app && make && ./example
Clone this repository and create a build directory as above. Provide your
existing flibcpp's installation prefix to CMake using the CMAKE_PREFIX_PATH
environment variable, and disable the BUILDIN_FLIBCPP
option on the
configuration line:
$ CMAKE_PREFIX_PATH=/usr/local/myflibcpp \
> cmake -DBUILDIN_FLIBCPP=OFF ../flibcpp-example-app
Then make and run as before.