diff options
Diffstat (limited to 'gen_cmake.py')
-rwxr-xr-x | gen_cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_cmake.py b/gen_cmake.py index 3d1a520..ec3a176 100755 --- a/gen_cmake.py +++ b/gen_cmake.py @@ -39,7 +39,7 @@ def print_list(s: list, offset: int): def print_sources(folder: str, target_name: str): buf = '' - srcs = get_files(folder, '*.c') + srcs = get_files(folder, '*.c') + get_files(folder, '*.cpp') hdrs = get_files(folder, '*.h') if len(srcs) > 0 or len(hdrs) > 0: buf += 'target_sources(\n ' + target_name |