Commit Graph

71 Commits

Author SHA1 Message Date
Brad King e015d822ab BUG: Pay attention to ForceUnixPaths setting in cmSystemTools for ConvertToQuotedOutputPath and for dependency scanning. 2005-03-02 09:34:16 -05:00
Brad King 749b80c7ed BUG: SGI make can support suffixes only up to 32 characters. Renaming .hpux_make_must_have_suffixes_list to .hpux_make_needs_suffix_list. 2005-03-02 08:51:48 -05:00
Brad King e979735a19 ENH: Framework for java dependency scanner. Right now it does nothing but always reports success. This is enough to get the Java test to pass with the new generator because the old implementation did not do dependencies anyway. 2005-03-01 12:21:34 -05:00
Brad King d18722a212 ENH: Replaced OutputEcho/pre-echo/post-echo with AppendEcho. This allows for more flexible echo specifications and better preserves echo text. 2005-02-25 11:23:17 -05:00
Brad King cf8fb5c6f8 ENH: Adding inclusion of pre-build and pre-link commands when building executables and libraries. 2005-02-25 09:19:04 -05:00
Brad King f11f012cd7 BUG: ConvertToQuotedOutputPath must replace slashes in root component on windows. 2005-02-25 09:14:34 -05:00
Brad King 03e2878db8 ENH: Added ConvertToQuotedOutputPath method and used it to properly generate external object references with spaces in the path. 2005-02-25 09:06:18 -05:00
Brad King ea5f13fc82 BUG: The path to the source file in a compile line should be made relative only when CMAKE_USE_RELATIVE_PATHS is on. 2005-02-24 16:19:42 -05:00
Brad King cb48e0c161 ENH: Merged implementations of ConvertToRelative*Path methods. The main ConvertToRelativePath method is now in cmGlobalGenerator. It converts paths only if they are at least inside the deepest common directory between the top-level source and build trees. Each cmLocalGenerator instance calls this global method with its own output directory as the "local" argument from which paths are relative. Added separate ConvertToOptionallyRelative path that pays attention to the CMAKE_USE_RELATIVE_PATHS option. 2005-02-24 16:04:54 -05:00
Brad King b40745c925 BUG: Using a better technique to produce the rule file name for a custom command when the output is not in the current directory or lower. 2005-02-24 12:19:20 -05:00
Brad King e9da9cc3d7 BUG: Do not crash when the link language for a target is not known. 2005-02-24 09:21:15 -05:00
Brad King 39af9ee1e4 ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues. 2005-02-22 10:32:44 -05:00
Brad King 3d9d893426 ENH: Avoid generating duplicate rules for an object file. A warning about duplicate source files in a target is now generated. 2005-02-17 10:03:27 -05:00
Brad King cd6dd55330 ENH: Added generation of test target to run ctest. 2005-02-17 08:50:53 -05:00
Brad King 6173dea153 ENH: Split cmLocalUnixMakefileGenerator2 away from cmLocalUnixMakefileGenerator to be a stand-alone generator. 2005-02-10 16:18:27 -05:00
Brad King 4bf8aa6293 ENH: Added SystemTools::SplitPath method to split any file path into its basic components. 2005-02-10 10:32:53 -05:00
Brad King 4931afd89d ENH: Adding cleaning of custom command outputs during "make clean". 2005-02-09 11:40:01 -05:00
Brad King 5798510cc7 ENH: Moved reference from local driver targets (like build.local) into individual target rule files. Main rule is now empty, except that clean.local may remove files registered for cleaning. 2005-02-09 09:36:28 -05:00
Brad King 1170f1af79 COMP: Removed useless expression warning. 2005-02-07 16:16:11 -05:00
Brad King 337ad802c6 ENH: Implemented support for include/complain regular expressions for dependency scanning. This now includes the possibility that scanning will return failure and the build will stop. 2005-02-07 16:11:01 -05:00
Brad King c44e6d30e5 ENH: Added generation of CMakeDirectoryInformation.cmake file in each directory next to the Makefile. The include file search path is now stored in this file instead of duplicating it for every object file. This will also allow more information to be passed in the future. 2005-02-07 15:10:20 -05:00
Brad King e708045e6e ENH: Implemented external object feature. 2005-02-04 15:14:12 -05:00
Bill Hoffman 35ec09480a ENH: move AddFlags stuff up to LocalGenerator from LocalUnix generator 2005-02-02 13:19:57 -05:00
Brad King 52b533ce2b COMP: Removed shadowed variable warning. 2005-01-29 07:57:21 -05:00
Brad King 892a7c4fd9 ENH: Implemented full per-object test for whether provides-requires mode is needed. This will still use a recursive make for any Fortran object even if it doesn't have requires. It is possible to avoid it but we can do that later. 2005-01-28 14:17:48 -05:00
Brad King a81a8263a5 ENH: Added hook into Fortran dependency scanner. 2005-01-26 16:18:22 -05:00
Brad King 47ee00b7a5 ENH: Removed unquoted version of OBJECTS make variable. Quoted seems to work everywhere. BUG: Fixed AppendAnyDepend to properly identify executable targets. BUG: Used CreateMakeVariable to fix variable name for OBJECTS list when target has a . in its name. 2005-01-19 07:23:06 -05:00
Brad King 195cdf172e ENH: Split dependency scanning and checking into separate cmDepends superclass with language-specific subclasses such as cmDependsC. 2005-01-18 17:09:05 -05:00
Brad King b37b661087 STYLE: Added TODO comment for another missing feature (external object files). 2005-01-18 11:15:35 -05:00
Brad King 64f4880cb5 ENH: Adding partial implementation of provides-requires mode. 2005-01-17 15:09:32 -05:00
Brad King 97a3d514ac BUG: Fix for relative path conversion when path is a subset of relative path root. 2005-01-17 15:09:25 -05:00
Brad King 4b48a89b96 ENH: Added install target implementation. Also added missing include of assert.h. 2005-01-04 18:24:52 -05:00
Brad King 79c67a6dfa ENH: Added relative path support (mostly done). Many paths are written relative even if CMAKE_USE_RELATIVE_PATHS is not on just to keep makefiles short. 2005-01-04 17:41:19 -05:00
Brad King c710a2366d BUG: Support for custom command outputs in subdirectories of current build tree location. 2004-12-09 15:56:50 -05:00
Brad King e8ef42ed74 BUG: AppendAnyDepend must handle non-existing files. 2004-12-09 15:23:37 -05:00
Brad King 1480676dab ENH: Added post-build rules to executables and libraries. Generalized AppendLibDepend method to AppendAnyDepend. This takes most of the functionality of AppendCustomDepend too, and generalized jump-and-build to executables. 2004-12-09 15:11:22 -05:00
Brad King 477f328aed ENH: Implemented utility targets. This involved pulling part of the custom command rule implementation out into shared methods. 2004-12-09 13:52:32 -05:00
Brad King 6f407ecb17 ENH: Moved custom command rule files into special CMakeCustomCommands.dir subdirectory. 2004-11-19 09:42:08 -05:00
Brad King 4352c2faae ENH: Unified WriteDependRules, WriteBuildRules, WriteCleanRules, and the future WriteInstallRules into a single WritePassRules method. Also added WriteTargetDependsRule and WriteTargetCleanRule methods to unify writing of depend and clean rules for each target. 2004-11-19 09:32:18 -05:00
Brad King d39b877ea4 ENH: Added partial clean target support. 2004-11-05 15:09:46 -05:00
Brad King d41ed99297 ENH: Implemented VERBOSE output setting. 2004-11-05 07:39:48 -05:00
Brad King 7fdcb4e1e4 ENH: Generalized driver targets and subdirectory traversal rules. The implementations of all, depend, build, clean, install, etc. now follow a common framework. 2004-11-03 11:02:44 -05:00
Brad King 30e685b41f ENH: Removed unneeded requires rules now that canonical names are available. 2004-11-03 08:59:13 -05:00
Brad King 8a4c0673be ENH: Added convenience rules to build targets without specifying full paths. 2004-11-03 08:46:17 -05:00
Brad King a5ae290a5b STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity. 2004-11-03 07:51:51 -05:00
Brad King d46d8df0ed ENH: Re-implemented cmGeneratedFileStream to look like a real stream and replace the destination file atomically. This will avoid problems with the process being terminated while generating a file. 2004-11-03 07:23:18 -05:00
Brad King 2823a4797a ENH: Added partial RC language dependency scanning (just using C dependencies for now). 2004-11-02 18:09:22 -05:00
Brad King 6de0ff4b00 ENH: Added dependencies between libraries. 2004-11-02 17:38:09 -05:00
Brad King 22cc48c534 BUG: Removed debugging output. 2004-11-02 17:19:19 -05:00
Brad King 04f958b6d9 ENH: Implemented generation of custom command rule files. 2004-11-02 17:14:04 -05:00