c++cmakebiicode

Can I use biicode for C++ on ubuntu 14.04 with Cmake 2.8.12.2?


I just downloaded biicode and tried to follow the getting started instructions but received an error about the Cmake 3.0 or higher being required.

However, ubuntu 14.4 uses "cmake version 2.8.12.2"

Is there a way to use biicode with 2.8 or am I stuck installing the newer version of CMake?

TIA!


Solution

  • No, biicode requires cmake > 3.0. There is a setup command that helps installing it:

    $ bii setup:cpp
    

    This will install CMake >3.0 in /home/user/biicode_env, and add it to the path, so it doesnt interfere/overwrite your current 2.8 installation. Biicode needs that executing "cmake" in the console actually uses 3.0, so it should be first in the path. You can manage it very easily in two different ways, with a symbolic link (/usr/bin) that you redirect as needed or adding/removing an entry in the path before executing biicode.

    This is a different thing, but I woiuld like to say that I have migrated existing projects from cmake 2.8 to 3.0 without any problems, and 3.0 runs great and has useful new features. So I would recommend regular cmake users to upgrade if possible.