Quick Setup with MacPorts

Many of us use macports to install common software that isn’t shipped by default on the mac.  After installing MacPorts, you may want to run the following to install many useful tools: sudo -s port install cmake +gui port install doxygen port install ffmpeg port install ImageMagick port install gnuplot port Read more…

Installing Cantera

Prerequisites YAML </p> <pre>git clone https://github.com/jbeder/yaml-cpp.git YAML<br />cd YAML &amp;&amp; mkdir build &amp;&amp; cd build &amp;&amp; \<br /> 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 &amp;&amp; \<br /> make -j8 &amp;&amp; \<br /> make -j8 install</pre> <p> This will install to /usr/local if you are root. Otherwise, you’ll 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…