Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Ignore src directories when traversing libraries #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ino/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def recursive_inc_lib_flags(self, libdirs):
flags = SpaceList()
for d in libdirs:
flags.append('-I' + d)
flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples']))
flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples','src']))
return flags

def _scan_dependencies(self, dir, lib_dirs, inc_flags):
Expand Down