Switch to cmake (for non-qt files).