Add CMake options to enable/disable build-id and source-id.