summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-07-16 22:40:42 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2001-07-16 22:40:42 (GMT)
commite169953e923907706439c60033ce983729c2e404 (patch)
treef12edb22a3b64f621ea7d049312ec1a9102ee54e /Source/cmTarget.cxx
parentfdfe7a357e38f40d768e24412f7e49b7880c0fcc (diff)
downloadCMake-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/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 50a2c17..ea983f9 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -71,7 +71,9 @@ void cmTarget::GenerateSourceFilesFromSourceLists(const cmMakefile &mf)
{
cmSourceFile file;
file.SetIsAnAbstractClass(false);
- file.SetName(temps.c_str(), mf.GetCurrentDirectory());
+ file.SetName(temps.c_str(), mf.GetCurrentDirectory(),
+ mf.GetSourceExtensions(),
+ mf.GetHeaderExtensions());
m_SourceFiles.push_back(file);
}
}