cmake: avoid GLOB for *.msg files and use an explicit .msg file enumeration

This makes sure that adding & removing of .msg files is handled properly
by the build system.
This commit is contained in:
Beat Küng
2016-05-17 09:08:13 +02:00
committed by Lorenz Meier
parent f6f47e3362
commit 7f65e01d07
4 changed files with 141 additions and 1 deletions
+3
View File
@@ -198,6 +198,9 @@ def convert_dir(format_idx, inputdir, outputdir, templatedir):
if not os.path.isfile(fn):
continue
if fn[-4:].lower() != '.msg':
continue
generate_output_from_file(format_idx, fn, outputdir, templatedir, includepath)
return True