diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.py b/configure.py index aee1657c4..269fcbe86 100755 --- a/configure.py +++ b/configure.py @@ -144,10 +144,9 @@ class BuildConfigurationInformation(object): def find_sources_in(basedir, srcdir): for (dirpath, dirnames, filenames) in os.walk(os.path.join(basedir, srcdir)): for filename in filenames: - if filename.endswith('.cpp'): + if filename.endswith('.cpp') and not filename.startswith('.'): yield os.path.join(dirpath, filename) - self.app_sources = list(find_sources_in(self.src_dir, 'cmd')) self.test_sources = list(find_sources_in(self.src_dir, 'tests')) self.python_sources = list(find_sources_in(self.src_dir, 'python')) |