| for (const compile_file_plan& cf : iter_compilations(plan)) { | for (const compile_file_plan& cf : iter_compilations(plan)) { | ||||
| auto command = cf.generate_compile_command(env); | auto command = cf.generate_compile_command(env); | ||||
| auto entry = nlohmann::json::object({ | auto entry = nlohmann::json::object({ | ||||
| {"directory", env.output_root}, | |||||
| {"directory", env.output_root.string()}, | |||||
| {"arguments", command}, | {"arguments", command}, | ||||
| {"file", cf.source_path().string()}, | {"file", cf.source_path().string()}, | ||||
| }); | }); |