summaryrefslogtreecommitdiff
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2018-01-03 09:22:47 -0500
committerRobert Maynard <robert.maynard@kitware.com>2018-01-08 16:16:52 -0500
commit81868e6badbb36947a6e89b0e97f2f0526d59a67 (patch)
tree0a80366b630f15f2094c2210a3bc1a4d7062f8c1 /Source/cmSourceFile.h
parent1f29bc4092edf57cfb61882d7d7358db7e53ebe6 (diff)
downloadcmake-81868e6badbb36947a6e89b0e97f2f0526d59a67.tar.gz
CUDA: Add cu as default source file extension
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index c2105d2243..da722eaf20 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -120,7 +120,8 @@ private:
#define CM_HEADER_REGEX "\\.(h|hh|h\\+\\+|hm|hpp|hxx|in|txx|inl)$"
#define CM_SOURCE_REGEX \
- "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|f|f90|for|fpp|ftn|m|mm|rc|def|r|odl|idl|hpj" \
+ "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|cu|f|f90|for|fpp|ftn|m|mm|rc|def|r|odl|idl|" \
+ "hpj" \
"|bat)$"
#define CM_RESOURCE_REGEX "\\.(pdf|plist|png|jpeg|jpg|storyboard|xcassets)$"