update is_c() utility function to include '.cc' and '.inl' files.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 24 Oct 2011 23:29:28 +0000 (23:29 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 24 Oct 2011 23:29:28 +0000 (23:29 +0000)
build_files/cmake/project_info.py

index f57778f..8e813d3 100755 (executable)
@@ -104,7 +104,7 @@ def is_glsl(filename):
 
 def is_c(filename):
     ext = splitext(filename)[1]
-    return (ext in (".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc"))
+    return (ext in (".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"))
 
 
 def is_c_any(filename):