CMake is a powerful and easy to use build system for a wide variety of languages including:
- C / C++
- modern object-oriented Fortran 2008 / 2018
- Matlab / GNU Octave
It's important to use a recent CMake version to be effective and clean with CMake script. SSL support is also essential for any download/upload with CMake.
We have created the Python script cmake_setup.py
takes only a minute to install binary and includes
It works for Linux, Mac, native Windows and Windows Subsystem for Linux.
- Download with git using FetchContent
- Download and extract ZIP
- measure system parameters with CMake. Note Cygwin reports really small RAM and zero virtual memory.
One-time setup: if you've never used
mex before, you must setup the C++ compiler.
It doesn't hurt to do this again if you're not sure.
mex -setup -client engine C++
Will ask you to select a compiler, or simply return:
ENGINE configured to use 'g++' for C++ language compilation.
To avoid duplication, we have several scientific computing CMake modules in scivision/fortran-libs repo.