diff options
Diffstat (limited to 'task_cc.cc')
-rw-r--r-- | task_cc.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -84,12 +84,13 @@ std::vector<std::string> readDeps(const std::string& depFile) } // namespace :: TaskCC::TaskCC(const BuildConfiguration& config, const Settings& settings, - const std::string& source) + const std::string& sourceDir, const std::string& source) : Task({}) , config(config) , settings(settings) { - sourceFile = source; + sourceFile = sourceDir; + sourceFile /= source; targetFile = settings.builddir / sourceFile.stem(); targetFile += ".o"; |