Add pre-compile function in configuration
This commit is contained in:
parent
2c9120752e
commit
1ed601c52c
2 changed files with 7 additions and 0 deletions
2
make.py
2
make.py
|
|
@ -23,6 +23,8 @@ 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`)
|
||||
|
||||
PRE_COMPILE_FUNCTION = None # Function to run before compile (not call in --clean situation)
|
||||
|
||||
CPP_SOURCES = [filepath for filepath in SOURCE_DIR.rglob('*.cpp') if not filepath.name.startswith('.')]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue