Add a CMake build script for the jacop test