diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-02 21:08:13 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-02 21:08:13 (GMT) |
commit | 332fb964e7fee02fc7f9dc5cb8aa13069aaad38b (patch) | |
tree | ecccdb82a4980779522399bf82b4a75c25a20404 /Source/cmListFileCache.cxx | |
parent | 9e526f797ae544fadc8a4289d6c4f06a0770342b (diff) | |
download | CMake-332fb964e7fee02fc7f9dc5cb8aa13069aaad38b.zip CMake-332fb964e7fee02fc7f9dc5cb8aa13069aaad38b.tar.gz CMake-332fb964e7fee02fc7f9dc5cb8aa13069aaad38b.tar.bz2 |
ENH: put the project command at the front of the project
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r-- | Source/cmListFileCache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx index b20f4b4..0893cf6 100644 --- a/Source/cmListFileCache.cxx +++ b/Source/cmListFileCache.cxx @@ -127,7 +127,7 @@ bool cmListFileCache::CacheFile(const char* path, bool requireProjectCommand) cmListFileFunction project; project.m_Name = "PROJECT"; project.m_Arguments.push_back("Project"); - inFile.m_Functions.push_back(project); + inFile.m_Functions.insert(inFile.m_Functions.begin(),project); } } m_ListFileCache[path] = inFile; |