Commit Graph

115 Commits

Author SHA1 Message Date
Brad King bffcff4530 ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation. 2007-08-03 16:31:08 -04:00
Brad King d7118006de BUG: Target exclusion-from-all tests should always use the root local generator associated with the all target being tested. 2007-08-03 15:44:25 -04:00
Brad King bf0c200f0a ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. Transformed NeedRequiresStep to use it. 2007-08-03 09:39:32 -04:00
Brad King 8dc897b60c BUG: Removing accidental commit. 2007-08-02 14:28:45 -04:00
Brad King 695424f6b7 BUG: Quick-fix for accidental commit. 2007-08-02 14:28:00 -04:00
Brad King 8b0575c4ce ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. 2007-08-02 14:23:46 -04:00
Alexander Neundorf 43de8c8628 ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
something like this:

ENABLE_LANGUAGE(ASM-ATT)
IF(CMAKE_ASM-ATT_COMPILER_WORKS)
  ... do assembler stufff
ELSE(CMAKE_ASM-ATT_COMPILER_WORKS)
  ... fallback to generic C/C++
ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)

Alex
2007-06-28 09:09:26 -04:00
Alexander Neundorf 179943bf14 STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so the
kdevelop generator doesn't need its own CreateLocalGenerator() anymore

Alex
2007-06-05 16:35:24 -04:00
Alexander Neundorf 4878c00905 ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates an
"imported" executable target. This can then be used e.g. with
ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for
"imported" targets, and FindTarget() now takes an additional argument bool
useImportedTargets to specify whether you also want to search in the
imported targets or only in the "normal" targets.

Alex
2007-05-22 10:24:59 -04:00
Alexander Neundorf 7f11536704 ENH: now target names can be used in add_custom_command() and
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place

Alex
2007-05-09 08:25:45 -04:00
Ken Martin a500b3da05 ENH: better progress for any directory that is a project 2007-04-13 10:22:33 -04:00
Ken Martin 2a1e2456ae ENH: some code consolidation and cleanup 2007-04-12 15:46:14 -04:00
Ken Martin b4de606bdd BUG: fix progress for ENCLUDE_FORM_ALL cases using new project to target map. Only fixes it for the top level all target 2007-04-12 14:21:58 -04:00
Brad King 5415b65067 STYLE: Added comment about why dependencies need to be chained to clarify code. 2007-04-10 08:49:42 -04:00
Ken Martin b99129d2d8 ENH: some code cleanup 2007-03-12 10:26:59 -04:00
Brad King 00051cf721 ENH: Removed useless method ConvertToMakeTarget and all calls to it. It had a buggy implementation that caused it to do nothing. 2007-03-08 11:10:21 -05:00
Brad King 2f2b5b2503 ENH: SetupPathConversions is now called automatically on demand. 2007-03-08 08:38:40 -05:00
Brad King f0c79a0030 BUG: Avoid duplicate conversion to output path. 2006-10-10 13:47:50 -04:00
Brad King 76f6ea8011 BUG: Fixed ordering of code generated in Makefile and build.make files to make sure .SUFFIXES rule comes as early as possible. Also cleaned up documentation in generated files. 2006-09-08 10:42:14 -04:00
Ken Martin bdb530191d BUG: bad progress for named top level targets 2006-08-29 12:55:11 -04:00
Brad King f826c6c58b ENH: Centralized generation of targets listed in the help to be done by the code that actually writes the targets. 2006-08-23 09:45:24 -04:00
Brad King c6f1a11480 BUG: Added object language to list of object files in a local generator's directory. Fixed generation of preprocessing and assembly rules to be done only for C and C++ objects. 2006-08-15 12:00:27 -04:00
Ken Martin 9c35a99e45 BUG: fix comment 2006-07-26 14:46:29 -04:00
Ken Martin dd8247e324 STYLE: fix long lines 2006-07-18 09:32:45 -04:00
Ken Martin 2bf97089ba COMP: fix warning 2006-07-17 11:07:44 -04:00
Ken Martin c69d12d02f COMP: fix old compiler issue 2006-07-12 14:41:55 -04:00
Ken Martin ed54b93533 ENH: added progress for subdir all targets and fixed compiler waring 2006-07-12 13:11:27 -04:00
Ken Martin f1dfa7e78f BUG: changed to progress to make it more flexible and to no relink targets as often 2006-07-11 09:55:27 -04:00
Ken Martin fe99b156e5 ENH: fix line length and warning 2006-06-20 09:50:45 -04:00
Ken Martin a6bf59baef ENH: fix for dependent targets 2006-06-19 11:34:50 -04:00
Bill Hoffman c8f35fc4ef ENH: do not use the link script on windows 2006-06-18 20:05:56 -04:00
Ken Martin 57746b6ffe ENH: warning fix 2006-06-16 16:29:08 -04:00
Ken Martin e92731ca6e ENH: cleanup how progress is reported for individual targets to fix an integer math issue 2006-06-16 15:29:25 -04:00
Brad King 9d02ac676b BUG: Pre-install rules for a target should not have target-level dependencies. Each target can be re-linked independently as long as the original targets are up to date. 2006-06-15 16:37:58 -04:00
Brad King 0bbcb49f65 ENH: Added generation of link rules into script files executed by a cmake -E command in order to support longer link lines. This is needed only on platforms without response file support and that may have weak shells. 2006-06-15 16:17:11 -04:00
Ken Martin 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
Ken Martin 14cc1efe2c ENH: some cleanup to progress 2006-06-12 11:40:31 -04:00
Ken Martin 7d5bc02c9d ENH: line lengths 2006-06-05 14:32:12 -04:00
Brad King 87d4d0e039 BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles. 2006-06-01 15:51:24 -04:00
Brad King ad9dd6d11c ENH: Moved generation of the /fast version of GLOBAL_TARGET targets to the proper place in the local generator instead of in the global generator. Also made the install/fast target not depend on the all target. 2006-06-01 14:43:28 -04:00
Brad King 791706a52f BUG: Added /fast targets in subdirectory makefiles. Removed bogus INSTALL_*/fast targets. Also fixed preinstall/fast target. 2006-06-01 14:09:21 -04:00
Brad King d3073828f0 BUG: Fix progress when total number of source files is less than 100. 2006-05-30 16:23:24 -04:00
Ken Martin 7eba286403 BUG: fix to progress for small projects 2006-05-25 10:55:24 -04:00
Ken Martin 2cae0ce389 ENH: fix compiler warnings and posibly java test 2006-05-24 10:09:24 -04:00
Brad King 15535c3f60 BUG: Fix for spaces in path to build directory with new progress stuff. 2006-05-23 09:58:10 -04:00
Ken Martin 50d058a3a1 ENH: always compile progress 2006-05-23 09:11:46 -04:00
Ken Martin 6580114309 BUG: fix issue with too many fast targets being listed 2006-05-18 14:35:44 -04:00
Ken Martin c0e27431e7 PERF: performance improvement 2006-05-15 13:47:13 -04:00
Andy Cedilnik fd8e45d4a1 ENH: Add simple progress reporting during make 2006-05-15 13:02:28 -04:00
Ken Martin b8483cf109 STYLE: fix line length 2006-05-11 10:40:28 -04:00