Commit Graph

47 Commits

Author SHA1 Message Date
Bill Hoffman f9687e328f Merge in changes to CMake-2-8 RC 2 2009-10-01 17:21:28 -04:00
Brad King 147d6f3101 ENH: Remove unused code from cmMakeDepend
This class is the old-style dependency scanner.  It is needed only to
implement the output_required_files command.  This change removes some
code not needed for that purpose, including a reference to the
HEADER_FILE_ONLY property.
2009-03-16 14:30:19 -04:00
Bill Hoffman a5e76555bf BUG: fix for bug 6136 make sure includes are not directories 2007-12-14 20:31:27 -05:00
Ken Martin da279f0041 BUG: some UNIX fixes for my m_ commit 2006-03-15 11:38:47 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Andy Cedilnik 634343c3e8 STYLE: Fix some style issues 2006-03-10 13:06:26 -05:00
Ken Martin 369308ca76 ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 09:06:46 -04:00
Bill Hoffman 9d4aefc088 BUG: fix for bug 373 make depend problem 2003-11-12 14:20:21 -05:00
Ken Martin cc8aa74ec4 removed duplicate includes 2003-08-10 16:02:25 -04:00
Bill Hoffman 2ba1c0ab06 ENH: performance fixes for network depends 2003-07-28 18:12:23 -04:00
Brad King 38482b46d1 ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression. 2003-06-23 14:10:12 -04:00
Andy Cedilnik a9875aa62f Implement GetLineFromStream that actually works and use it instead of getline 2003-03-27 12:24:30 -05:00
Bill Hoffman 5a676508c4 BUG: fix bug in depends 2002-12-10 09:28:05 -05:00
Sebastien Barre b8548c1db3 FIX: a / was appended without checking if there wasn't one already. 2002-11-06 11:20:12 -05:00
Brad King 1f6a3c67b1 ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. 2002-10-23 18:03:27 -04:00
Brad King eb1ff5f968 ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. 2002-09-10 15:37:28 -04:00
Ken Martin 7b5a8762c6 modified how source files store properties 2002-08-16 11:20:18 -04:00
Ken Martin 44a7cd55ff removed all source lists from the system and made them vectors. Also appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building 2002-06-27 15:57:09 -04:00
Ken Martin fd26d44f5f now includes current include files directory when searching for files it includes 2002-06-10 14:19:09 -04:00
Bill Hoffman 8b3b49a010 ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc. 2002-03-29 10:06:30 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Franck Bettinger 8c7b9cbf10 Now adds dependency if the file doesn't exist but will be created during the compilation 2001-11-16 09:03:31 -05:00
Brad King 5231ad0c7e ENH: cmMakeDepend::GenerateDependInformation will now use hints regardless of whether the actual file exists. This can be used to add dependencies to .h files which are generated but included in hand-written .cxx files. If the .cxx does exist, though, it will be used first, and the hints will be used afterward. 2001-11-12 15:37:38 -05:00
Brad King ddec29c52d BUG: Changed include and link directory paths in cmMakefile back to std::vector because there is an order dependency. Only cmMakefile::AddIncludeDirectory and cmMakefile::AddLinkDirectory should be called to add directories to the paths. They make sure the paths are unique as they are inserted. 2001-07-30 11:34:03 -04:00
Ian Scott b24861d895 Removed the Uniquification of the include and link directory list in FinalPass,
and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories
a set rather than vector
2001-07-30 07:18:38 -04:00
Brad King 7df455251b BUG: Need to expand variables in search paths in case it hasn't been done yet by the makefile. 2001-07-17 15:41:04 -04:00
Brad King 82c1916a6d ENH: Hacked together a new implementation of the dependency generator code. This should support finding dependencies for individual files without doing them for the entire makefile. Use cmMakeDepend::FindDependencies() to do this. 2001-07-17 15:09:16 -04:00
Brad King cf82992964 ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about missing dependencies. 2001-06-21 15:02:52 -04:00
Brad King 5f12ae0c62 BUG: Dependency hints must be removed by the makefile generator before adding the dependencies generated by cmMakeDepend. 2001-06-12 10:59:40 -04:00
Ken Martin ff529aa861 some cleanup to the make depend process 2001-06-12 09:00:21 -04:00
Bill Hoffman 1cd9ce6f6e ENH: unify make process on unix 2001-05-16 15:15:21 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Brad King ddbf1feab4 STYLE: Updated comments for name change cmClassFile->cmSourceFile 2001-04-25 09:37:57 -04:00
Ken Martin 73f04d1409 many fixes and cleanup and features 2001-04-24 16:49:12 -04:00
Brad King 57c4325c7d ERR: We can't assume a vector iterator is a pointer. It must be dereferenced to get a reference to the element, and then we can take the address of that to get a pointer. "i" becomes "&*i" 2001-04-18 08:01:56 -04:00
Brad King f63e4a144c ENH: Changed m_Indices to an stl set and renamed it to m_IndexSet. Using a set results in a significant performance increase and reduction in memory usage. 2001-04-16 12:31:56 -04:00
Ken Martin 865ec96644 major changes to support multiple libraries and source lists 2001-04-11 14:59:02 -04:00
Brad King be4db9150c ENH: Added INCLUDE_REGULAR_EXPRESSION command to set regular expression used in dependency checking. 2001-03-15 18:09:16 -05:00
Brad King 02fe911803 ENH: Added support for finding dependencies for files that don't exist. Dependency recursion begins with hints provided in the cmClassFile for a file if it doesn't exist. 2001-03-08 16:12:16 -05:00
Bill Hoffman 0adb5237bd ENH: fix depend segfault 2001-02-14 12:26:49 -05:00
Will Schroeder 0ce5ac760b ENH:Documentation and cleanups 2001-01-11 14:55:47 -05:00
Bill Hoffman c54a05bfc7 ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 2001-01-05 11:41:20 -05:00
Bill Hoffman 748e1a36b3 BUG: remove bogus warning about not finding a depend file, if there are no include paths 2000-11-22 11:02:30 -05:00
Bill Hoffman 1e3ba0f1d7 ENH: clean up code, and varible names 2000-09-21 13:45:08 -04:00
Bill Hoffman 283d3a0b73 ENH: added a config setup file for CMakeSetup. Cleaned up the names of the source and binary directories 2000-09-18 09:19:38 -04:00
Bill Hoffman aa3ca2b432 ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system. 2000-09-12 05:30:35 -04:00
Bill Hoffman 1f42f521ce NEW: move from tools and config to create CMake 2000-08-29 15:26:29 -04:00