add targets for building C++ code