summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix or cast integer conversions in cmakeBrad King2010-06-251-2/+3
| | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
* Qualify std::map compare functor as constBrad King2009-09-291-1/+1
| | | | | | | Some older STL implementations invoke the comparison functor as a const object, so the function call operator must be 'const' qualified. This fixes the commit "Fix support for OLD behavior of policy CMP0002" to compile on older STLs.
* Fix support for OLD behavior of policy CMP0002Brad King2009-09-281-3/+18
| | | | | | | | | The commit "Cleanup make progress rule generation code" introduced a map from target name to the progress.make file location. Policy CMP0002's OLD behavior allows duplicate target names in different directories, so only one ends up with a progress.make file. This commit fixes the map to order by target name first and build directory second, restoring support for duplicate target names.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-15/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Rescan dependencies also if CMakeDirectoryInformation.cmake has changed.Alexander Neundorf2009-09-221-14/+14
| | | | | | | | If CMakeDirectoryInformation.cmake is newer than depend.internal the include directories may have changed, so dependencies need to be scanned again. Ok by Brad. Alex
* ENH: Pass config to cmTarget RPATH install methodsBrad King2009-07-081-3/+4
| | | | | This passes the build configuration to cmTarget methods IsChrpathUsed and NeedRelinkBeforeInstall. Later these methods will use the value.
* ENH: Cleanup make progress rule generation codeBrad King2009-06-251-41/+74
| | | | | | | | This cleans up the Makefile generator's progress rule code. Instead of keeping every cmMakefileTargetGenerator instance alive to generate progress, we keep only the information necessary in a single table. This approach keeps most of the code in cmGlobalUnixMakefileGenerator3, thus simplifying its public interface.
* ENH: Enable basic OpenVMS platform supportBrad King2009-06-101-1/+1
| | | | | | | | This adds the Modules/Platform/OpenVMS.cmake platform file for OpenVMS. We just use Unix-like rules to work with the GNV compiler front-end. A problem with process execution currently prevents CMake link scripts from working, so we avoid using them.
* BUG: Avoid std::unique algorithm on VMSBrad King2009-06-101-0/+2
| | | | | | The Compaq compiler's std::unique algorithm followed by deletion of the extra elements seems to crash. For now we'll accept the duplicate dependencies on this platform.
* BUG: don't report changed compiler variables if the path to the compilerAlexander Neundorf2009-05-101-12/+20
| | | | | | | differs only e.g. a double slash somewhere instead only one slash as directory separator (#8890) Alex
* BUG: Fix OS X AppBundle/FW byproducts dependenciesBrad King2009-02-061-9/+17
| | | | | | | App Bundle and Framework directories, symlinks, and Info.plist files we create during generation are byproducts, not outputs. We should re-run CMake only when they are missing, not when they are old. See issue #8465.
* ENH: add initial ctest -j featureBill Hoffman2008-07-031-2/+5
|
* ENH: fix for bug 6364, extra help targets when there are subdirectories of ↵Ken Martin2008-06-061-8/+8
| | | | the top level
* BUG: improve progress reporting when there are multiple targets with the ↵Ken Martin2008-05-291-5/+5
| | | | same name, bug# 7042
* BUG: make ENABLE_LANGUAGE(ASM-ATT OPTIONAL) work again: if it didn't workAlexander Neundorf2008-05-121-1/+1
| | | | | | but was optional, don't delete the cache Alex
* ENH: add PHONY targetsBill Hoffman2008-03-241-1/+1
|
* BUG: fix some bad changes in progress calcKen Martin2008-03-121-6/+2
|
* ENH: remove constBill Hoffman2008-01-311-6/+6
|
* ENH: fix for bug 3218 dependant projects are written out automatically if ↵Bill Hoffman2008-01-301-2/+2
| | | | they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator
* ENH: Moved global inter-target dependency analysis and cycle-prevention code ↵Brad King2007-12-231-149/+14
| | | | up from cmGlobalUnixMakefileGenerator3 to cmGlobalGenerator. Simplified cmGlobalUnixMakefileGenerator3 to use it. Later other generators may be modified to use it also.
* BUG: Support cyclic dependencies among STATIC libraries by removing one from ↵Brad King2007-12-221-1/+82
| | | | the generated Makefile rules.
* COMP: Remove unused parameter of method.Brad King2007-12-211-4/+3
|
* ENH: Make static library targets depend on targets to which they "link" for ↵Brad King2007-12-211-32/+11
| | | | the purpose of build ordering. This makes the build order consistent for static and shared library builds. It is also useful when custom command inputs of one library are generated as custom commands outputs of another. It may be useful in the future for Fortran module dependencies. Implemented for Makefiles, Xcode, and VS 8 and above. Added sample code to do it for VS 7.1 and below, but left it disabled with comments explaining why. Likely it will never be needed on VS 7.1 or below anyway.
* BUG: Now that custom targets have dependencies their DependInfo files should ↵Brad King2007-12-211-2/+3
| | | | be listed in Makefile.cmake.
* ENH: Add a depends check step to custom targets. Add support for the ↵Brad King2007-12-211-78/+9
| | | | IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
* ENH: fix for bug 6102, allow users to change the compilerBill Hoffman2007-12-131-1/+21
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+3
| | | | there, also provides secitons for Variables now
* ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL ↵Brad King2007-08-031-1/+18
| | | | target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation.
* BUG: Target exclusion-from-all tests should always use the root local ↵Brad King2007-08-031-103/+21
| | | | generator associated with the all target being tested.
* ENH: Added cmTarget::GetLanguages method to centralize computation of the ↵Brad King2007-08-031-12/+10
| | | | list of languages compiled in a target. Transformed NeedRequiresStep to use it.
* BUG: Removing accidental commit.Brad King2007-08-021-18/+17
|
* BUG: Quick-fix for accidental commit.Brad King2007-08-021-6/+9
|
* ENH: Added cmTarget::GetLanguages method to centralize computation of the ↵Brad King2007-08-021-13/+11
| | | | list of languages compiled in a target.
* ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to doAlexander Neundorf2007-06-281-3/+6
| | | | | | | | | | | | | 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
* STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so theAlexander Neundorf2007-06-051-0/+2
| | | | | | kdevelop generator doesn't need its own CreateLocalGenerator() anymore Alex
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-185/+182
| | | | | | | | | | "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
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-1/+1
| | | | | | | | | | 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
* ENH: better progress for any directory that is a projectKen Martin2007-04-131-2/+4
|
* ENH: some code consolidation and cleanupKen Martin2007-04-121-76/+0
|
* BUG: fix progress for ENCLUDE_FORM_ALL cases using new project to target ↵Ken Martin2007-04-121-25/+14
| | | | map. Only fixes it for the top level all target
* STYLE: Added comment about why dependencies need to be chained to clarify code.Brad King2007-04-101-0/+2
|
* ENH: some code cleanupKen Martin2007-03-121-5/+5
|
* ENH: Removed useless method ConvertToMakeTarget and all calls to it. It had ↵Brad King2007-03-081-1/+0
| | | | a buggy implementation that caused it to do nothing.
* ENH: SetupPathConversions is now called automatically on demand.Brad King2007-03-081-1/+0
|
* BUG: Avoid duplicate conversion to output path.Brad King2006-10-101-6/+0
|
* BUG: Fixed ordering of code generated in Makefile and build.make files to ↵Brad King2006-09-081-2/+0
| | | | make sure .SUFFIXES rule comes as early as possible. Also cleaned up documentation in generated files.
* BUG: bad progress for named top level targetsKen Martin2006-08-291-10/+20
|
* ENH: Centralized generation of targets listed in the help to be done by the ↵Brad King2006-08-231-8/+6
| | | | code that actually writes the targets.
* BUG: Added object language to list of object files in a local generator's ↵Brad King2006-08-151-2/+3
| | | | directory. Fixed generation of preprocessing and assembly rules to be done only for C and C++ objects.
* BUG: fix commentKen Martin2006-07-261-1/+1
|