diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-30 17:35:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-30 17:35:41 (GMT) |
commit | 077c31484e216a72c73370c05fcf970ce5269085 (patch) | |
tree | 214109143e01d98fd406264be9f80a5bffdaff17 /Source/cmClassFile.cxx | |
parent | 1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88 (diff) | |
download | CMake-077c31484e216a72c73370c05fcf970ce5269085.zip CMake-077c31484e216a72c73370c05fcf970ce5269085.tar.gz CMake-077c31484e216a72c73370c05fcf970ce5269085.tar.bz2 |
ENH: move from tools and create working CMake program
Diffstat (limited to 'Source/cmClassFile.cxx')
-rw-r--r-- | Source/cmClassFile.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmClassFile.cxx b/Source/cmClassFile.cxx index 7893df6..f953bbb 100644 --- a/Source/cmClassFile.cxx +++ b/Source/cmClassFile.cxx @@ -38,11 +38,12 @@ void cmClassFile::SetName(const char* name, const char* dir) std::string hname = pathname; hname += ".cxx"; if(cmFileExists(hname.c_str())) - { + { m_HeaderFileOnly = false; m_FullPath = hname; return; - } + } + hname = pathname; hname += ".c"; if(cmFileExists(hname.c_str())) |