diff options
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r-- | src/task_cc.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc index eb361cb..dfda75d 100644 --- a/src/task_cc.cc +++ b/src/task_cc.cc @@ -129,6 +129,9 @@ TaskCC::TaskCC(const BuildConfiguration& config, const Settings& settings, sourceFile /= source.file; std::filesystem::path base = settings.builddir; + base /= sourceFile.parent_path(); + std::filesystem::create_directories(base); + base /= config.target; base += "-"; base += sourceFile.stem(); |