Installing Cantera

Prerequisites YAML [code .sh] git clone https://github.com/jbeder/yaml-cpp.git YAMLcd YAML && mkdir build && cd build && \ cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_GMOCK=OFF -DBUILD_MOCK=OFF -DINSTALL_GTEST=OFF -DYAML_BUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TESTS=OFF && \ make -j8 && \ make -j8 install [/code] This will install to /usr/local if you are root. Otherwise, you’ll need to do Read more

Useful Shortcuts in Eclipse

If you use eclipse, there are a few shortcuts that you should know about to improve your productivity. Selecting Blocks of Text ⌘-Opt-A will put you into block select mode.  This allows you to select/edit/copy/paste any block of text (e.g. a column of text). Search for and Open a File Read more

Using IDEs with CMake

Introduction Most of the code we develop here uses CMake as its build system.  That is because CMake is highly portable (works across many platforms). However, CMake can also generate projects for various Integrated Development Environments (IDEs) such as XCode and Eclipse.  This post will show how to use CMake Read more