瀏覽代碼

Adds .inl files to file list, this will ensure they are copied as required to the appropriate installation directories as well as insure that CMake rebuilds the project when these files are changed

David Wimsey 11 年之前
父節點
當前提交
1d0ef7cc1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Build/cmake/gen_filelists.sh

+ 1 - 1
Build/cmake/gen_filelists.sh

@@ -22,7 +22,7 @@ printfiles() {
     echo -e ')\n' >>$file
     # Print public headers sub directory
     echo ${pubhdr/lib/$1} >>$file
-    find  $hdrpath/$1 -maxdepth 1 -iname "*.h" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file
+    find  $hdrpath/$1 -maxdepth 1 \( -iname "*.h" -o -iname "*.inl" \) -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file
     echo -e ')\n' >>$file
     # Print source files
     echo ${src/lib/$1} >>$file