diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-07-16 15:18:55 -0400 |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-08-28 11:21:31 -0400 |
commit | 34cc6acc81758e29f8c88607c21ab11d8807f87c (patch) | |
tree | 38effcd493f057f6148f4d8f58262dfb27afaa24 /Source/cmake.h | |
parent | 419d70d49000e10c36d9615574ff03513f2edf0d (diff) | |
download | cmake-34cc6acc81758e29f8c88607c21ab11d8807f87c.tar.gz |
Add ISPC compiler support to CMake
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 0c4f429f01..06ab8acc09 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -268,7 +268,8 @@ public: { return this->CLikeSourceFileExtensions.Test(ext) || this->CudaFileExtensions.Test(ext) || - this->FortranFileExtensions.Test(ext); + this->FortranFileExtensions.Test(ext) || + this->ISPCFileExtensions.Test(ext); } bool IsACLikeSourceExtension(cm::string_view ext) const @@ -617,6 +618,7 @@ private: FileExtensions CLikeSourceFileExtensions; FileExtensions HeaderFileExtensions; FileExtensions CudaFileExtensions; + FileExtensions ISPCFileExtensions; FileExtensions FortranFileExtensions; bool ClearBuildSystem = false; bool DebugTryCompile = false; |