Bläddra i källkod

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 år sedan
förälder
incheckning
1d0ef7cc1c
1 ändrade filer med 1 tillägg och 1 borttagningar
  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