diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-16 17:51:57 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-16 17:51:57 +0100 |
commit | 9da7f08eb0f34f52561a62d7cf1004621b7d83c2 (patch) | |
tree | 012a9620b5a52f7a1098d04a1cb6c45404e41e1b /src/tasks.cc | |
parent | a257c2f4d333969c73d8b27124e658db6430645a (diff) |
Make file extensions abstract based on tool-chain type.
Diffstat (limited to 'src/tasks.cc')
-rw-r--r-- | src/tasks.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tasks.cc b/src/tasks.cc index b44fce8..9c64fb4 100644 --- a/src/tasks.cc +++ b/src/tasks.cc @@ -19,6 +19,7 @@ #include "rebuild.h" #include "configure.h" #include "util.h" +#include "tools.h" const std::deque<Target>& getTargets(const ctor::settings& settings, bool resolve_externals) @@ -95,7 +96,7 @@ std::set<std::shared_ptr<Task>> taskFactory(const ctor::build_configuration& con } else { - target_type = target_type_from_extension(targetFile); + target_type = target_type_from_extension(ctor::toolchain::any, targetFile); } } |