Browse Source

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 years ago
parent
commit
1d0ef7cc1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Build/cmake/gen_filelists.sh

+ 1 - 1
Build/cmake/gen_filelists.sh

@@ -22,7 +22,7 @@ printfiles() {
     echo -e ')\n' >>$file
     echo -e ')\n' >>$file
     # Print public headers sub directory
     # Print public headers sub directory
     echo ${pubhdr/lib/$1} >>$file
     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
     echo -e ')\n' >>$file
     # Print source files
     # Print source files
     echo ${src/lib/$1} >>$file
     echo ${src/lib/$1} >>$file