diff options
Diffstat (limited to '3rdparty/genie/src/actions/make/make_cpp.lua')
-rw-r--r-- | 3rdparty/genie/src/actions/make/make_cpp.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/genie/src/actions/make/make_cpp.lua b/3rdparty/genie/src/actions/make/make_cpp.lua index b694b511cc5..9de447b49ce 100644 --- a/3rdparty/genie/src/actions/make/make_cpp.lua +++ b/3rdparty/genie/src/actions/make/make_cpp.lua @@ -33,7 +33,7 @@ local objdirs = {} local additionalobjdirs = {} for _, file in ipairs(prj.allfiles) do - if path.isSourceFile(file) then + if path.issourcefile(file) then objdirs[_MAKE.esc(path.getdirectory(path.trimdots(file)))] = 1 end end @@ -318,7 +318,7 @@ -- add objects for compilation, and remove any that are excluded per config. _p(' OBJECTS := \\') for _, file in ipairs(cfg.files) do - if path.isSourceFile(file) then + if path.issourcefile(file) then -- check if file is excluded. if not is_excluded(prj, cfg, file) then -- if not excluded, add it. @@ -523,7 +523,7 @@ table.sort(prj.allfiles) for _, file in ipairs(prj.allfiles or {}) do - if path.isSourceFile(file) then + if path.issourcefile(file) then if (path.isobjcfile(file)) then _p('$(OBJDIR)/%s.o: %s $(GCH_OBJC) $(MAKEFILE)' , _MAKE.esc(path.trimdots(path.removeext(file))) |