From 37236794304626096684f020e5f2f02d12cb4488 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Tue, 16 Aug 2022 05:08:47 +0400 Subject: test --- gen_cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gen_cmake.py') 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 -- cgit v1.2.3