Minor fixes + clean code + exclude hidden source file

This commit is contained in:
Corentin 2021-06-30 05:11:57 +09:00
commit 2c9120752e
2 changed files with 3 additions and 5 deletions

View file

@ -23,8 +23,7 @@ class Config:
COMPILE_FLAGS = f'-Wall -I{INCLUDE_DIR}' # Flags added for compiling (recommandation : `pkg-config --cflags`)
LINK_FLAGS = '' # Flags added for linking (recommandation : `pkg-config --libs`)
CPP_HEADERS = INCLUDE_DIR.rglob('*.hpp')
CPP_SOURCES = SOURCE_DIR.rglob('*.cpp')
CPP_SOURCES = [filepath for filepath in SOURCE_DIR.rglob('*.cpp') if not filepath.name.startswith('.')]
def main():