diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-08-31 12:36:00 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2016-11-14 16:36:44 (GMT) |
commit | ec6ce623351ea3fda95dda49a72fc279a63aee87 (patch) | |
tree | ddf4cdf35c754d8846882c2bf763fbf2a7b505f3 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1 (diff) | |
download | CMake-ec6ce623351ea3fda95dda49a72fc279a63aee87.zip CMake-ec6ce623351ea3fda95dda49a72fc279a63aee87.tar.gz CMake-ec6ce623351ea3fda95dda49a72fc279a63aee87.tar.bz2 |
CUDA: State that cuda has preprocessor output and can generate assembly.
We can consider PTX code to be a form of assembly.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 8bb084a..c8b459c 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -285,8 +285,8 @@ void cmLocalUnixMakefileGenerator3::WriteLocalMakefile() for (std::vector<LocalObjectEntry>::const_iterator ei = lo->second.begin(); ei != lo->second.end(); ++ei) { if (ei->Language == "C" || ei->Language == "CXX" || - ei->Language == "Fortran") { - // Right now, C, C++ and Fortran have both a preprocessor and the + ei->Language == "CUDA" || ei->Language == "Fortran") { + // Right now, C, C++, Fortran and CUDA have both a preprocessor and the // ability to generate assembly code lang_has_preprocessor = true; lang_has_assembly = true; |