diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2001-07-16 22:40:42 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2001-07-16 22:40:42 (GMT) |
commit | e169953e923907706439c60033ce983729c2e404 (patch) | |
tree | f12edb22a3b64f621ea7d049312ec1a9102ee54e /Source/cmSourceFilesRemoveCommand.cxx | |
parent | fdfe7a357e38f40d768e24412f7e49b7880c0fcc (diff) | |
download | CMake-e169953e923907706439c60033ce983729c2e404.zip CMake-e169953e923907706439c60033ce983729c2e404.tar.gz CMake-e169953e923907706439c60033ce983729c2e404.tar.bz2 |
ENH: Source and header file extensions are in variables in cmMakefile.
AUX_SOURCE_DIRECTORY will only add files that have a "source" extension.
Diffstat (limited to 'Source/cmSourceFilesRemoveCommand.cxx')
-rw-r--r-- | Source/cmSourceFilesRemoveCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmSourceFilesRemoveCommand.cxx b/Source/cmSourceFilesRemoveCommand.cxx index 815c2b9..e43facb 100644 --- a/Source/cmSourceFilesRemoveCommand.cxx +++ b/Source/cmSourceFilesRemoveCommand.cxx @@ -52,7 +52,9 @@ bool cmSourceFilesRemoveCommand::InitialPass(std::vector<std::string>& args) i != args.end(); ++i) { cmSourceFile file; - file.SetName((*i).c_str(), m_Makefile->GetCurrentDirectory()); + file.SetName((*i).c_str(), m_Makefile->GetCurrentDirectory(), + m_Makefile->GetSourceExtensions(), + m_Makefile->GetHeaderExtensions()); m_Makefile->RemoveSource(file, args[0].c_str()); } return true; |