@@ -17,7 +17,7 @@ void dds::generate_compdb(const build_plan& plan, build_env_ref env) { | |||
for (const compile_file_plan& cf : iter_compilations(plan)) { | |||
auto command = cf.generate_compile_command(env); | |||
auto entry = nlohmann::json::object({ | |||
{"directory", env.output_root}, | |||
{"directory", env.output_root.string()}, | |||
{"arguments", command}, | |||
{"file", cf.source_path().string()}, | |||
}); |