diff options
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator2.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx index 851504d..47a7d99 100644 --- a/Source/cmLocalUnixMakefileGenerator2.cxx +++ b/Source/cmLocalUnixMakefileGenerator2.cxx @@ -28,6 +28,7 @@ #include "cmDependsC.h" #ifdef CMAKE_BUILD_WITH_CMAKE # include "cmDependsFortran.h" +# include "cmDependsJava.h" #endif #include <memory> // auto_ptr @@ -3135,6 +3136,10 @@ cmLocalUnixMakefileGenerator2::GetDependsChecker(const std::string& lang, { return new cmDependsFortran(dir, objFile); } + else if(lang == "Java") + { + return new cmDependsJava(dir, objFile); + } #endif return 0; } @@ -3219,6 +3224,11 @@ cmLocalUnixMakefileGenerator2 cmDependsFortran scanner(".", objFile, srcFile, includes); return scanner.Write(); } + else if(lang == "Java") + { + cmDependsJava scanner(".", objFile, srcFile); + return scanner.Write(); + } #endif return false; } |