summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'dev/fix-cache-variable-parsing-ambiguity'David Cole2010-11-235-49/+14
|\ | | | | | | | | | | | | | | 8b143fa Condense parsing of cache entries 122ebf1 Support manual cache entries 90abc3a Use cmCacheManager to load entries from the cache 6fe8624 Fix parsing of cache variables without a type
| * Condense parsing of cache entriesBen Boeckel2010-11-224-13/+11
| | | | | | | | | | If a cache line is being parsed, it shouldn't matter whether it has a type or not; just parse it however possible.
| * Support manual cache entriesBen Boeckel2010-11-221-1/+2
| |
| * Use cmCacheManager to load entries from the cacheBen Boeckel2010-11-222-37/+3
| |
| * Fix parsing of cache variables without a typeBen Boeckel2010-11-221-3/+3
| | | | | | | | | | | | | | | | | | These mainly come from the command line or manual entries in the CMakeCache.txt file. We want to stop at the first '=' because this is what is most likely to have been meant. The variable can be quoted if the '=' is intended. Caveat: What if one wants both '"' and '=' in a variable name?
* | Merge topic 'imported-target-dependencies'David Cole2010-11-238-108/+253
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | e01cce2 Allow add_dependencies() on imported targets (#10395) bc7395c Merge branch 'vs-target-dependencies' into imported-target-dependencies fd614e6 Use modern global dependency graph for VS < 8 deps 605f4bc Record edge type in global dependency graph 82596fc Merge branch 'vs8-direct-depends' into vs-target-dependencies
| * | Allow add_dependencies() on imported targets (#10395)Brad King2010-11-194-28/+38
| | | | | | | | | | | | | | | | | | | | | Imported targets do not themselves build, but we can follow dependencies through them to find real targets. This allows imported targets to depend on custom targets that provide the underlying files at build time.
| * | Merge branch 'vs-target-dependencies' into imported-target-dependenciesBrad King2010-11-196-80/+215
| |\ \
| | * | Use modern global dependency graph for VS < 8 depsBrad King2010-11-182-73/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 7.1 and below have 2 behaviors that make the cmComputeTargetDepends result difficult to use for solution-level dependencies. Update the method cmGlobalVisualStudioGenerator::ComputeTargetDepends to document the behaviors and work around them. Commit 1a0c166a (Store direct dependencies in solutions for VS >= 8, 2010-08-20) isolated VS >= 8 from this computation so those versions should be unaffected. This change removes the last use of cmTarget::GetLinkLibraries for purposes other than backward compatibility with legacy interfaces (export_library_dependencies, VS 6 custom .dsp templates). Now the cmComputeTargetDepends results are used for all generators so global target dependency computation is fully centralized.
| | * | Record edge type in global dependency graphBrad King2010-11-184-7/+59
| | | | | | | | | | | | | | | | Each inter-target dependency may be a 'link' or 'util' dependency.
| | * | Merge branch 'vs8-direct-depends' into vs-target-dependenciesBrad King2010-11-123-3/+18
| | |\ \
* | | \ \ Merge topic 'link-library-parse-regex'David Cole2010-11-231-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5fe3ac8 Prefer non-empty prefixes when matching lib names (#11468)
| * | | | | Prefer non-empty prefixes when matching lib names (#11468)Brad King2010-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cmComputeLinkInformation we match library names with a regular expression, possibly extracting the 'lib' prefix. The regex component to match the prefix always allows an empty prefix to be matched, as in "(lib|)". Avoid every adding an empty prefix option earlier in the regex, as in "(|lib|)", because it will be preferred and 'lib' will never match.
* | | | | | Merge topic 'CPackRPM-ComponentSupport'David Cole2010-11-236-68/+190
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66e86b4 CPack fix kwstyle breakage and make CPackRPM backward compatible 2c84d16 CPackRPM add basic component support to CPackRPM
| * | | | | | CPack fix kwstyle breakage and make CPackRPM backward compatibleEric NOULARD2010-11-153-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backward compatible= No componentized RPM unless requested using CPACK_RPM_COMP0NENT_INSTALL
| * | | | | | CPackRPM add basic component support to CPackRPMEric NOULARD2010-11-136-68/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | basic means 1 RPM per component and no dependency handling this implies some CPackGenerator refactoring
* | | | | | | Merge topic 'ImprovedDotSupport2'David Cole2010-11-235-344/+642
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 78c86f4 Exclude targets from the graphviz file based on a regex 5ea1e4c Collect targets and libs on demand instead of in the ctor 2a5790a Use std::cout instead of fprintf 7ba2d36 Enable/disable generating graphs depending on the target type 84ce612 Move the code for generating dot-files into separate class cmGraphVizWriter a60b099 Generate separate dot files for each target, and a big one with everything. 487bd57 Properly insert all targets, also those which don't link to anything. de2b2bf Move the code for collecting targets and libraries into separate functions f7d56df Remove trailing whitespace and minor formatting changes for the dot-code
| * | | | | | | Exclude targets from the graphviz file based on a regexAlex Neundorf2010-11-142-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for a GRAPHVIZ_TARGET_IGNORE_REGEX variable which can be set() in CMakeGraphVizOptions.cmake. Targets matching this regex will be skipped when generating the graphviz graphs. Alex
| * | | | | | | Collect targets and libs on demand instead of in the ctorAlex Neundorf2010-11-142-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary for the next commit which requires that the targets are collected after the settings have been read. Alex
| * | | | | | | Use std::cout instead of fprintfAlex Neundorf2010-11-142-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
| * | | | | | | Enable/disable generating graphs depending on the target typeAlex Neundorf2010-11-142-8/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CMakeGraphVizOptions.cmake you can now set GRAPHVIZ_EXECUTABLES, GRAPHVIZ_STATIC_LIBS, GRAPHVIZ_SHARED_LIBS and GRAPHVIZ_MODULE_LIBS to TRUE or FALSE depending on whether you want graphs for the targets of the respective types. Alex
| * | | | | | | Move the code for generating dot-files into separate class cmGraphVizWriterAlex Neundorf2010-11-095-343/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
| * | | | | | | Generate separate dot files for each target, and a big one with everything.Alex Neundorf2010-10-312-69/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The big all-in-one file is basically unusable for e.g. kdelibs, it contains around 1000 nodes and the created image is huuuuge ! Too big actually to be displayable or viewable or comprehensable. Alex
| * | | | | | | Properly insert all targets, also those which don't link to anything.Alex Neundorf2010-10-312-85/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
| * | | | | | | Move the code for collecting targets and libraries into separate functionsAlex Neundorf2010-10-312-119/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found bug: targets which don't link to anything don't get inserted in the dot file. Alex
| * | | | | | | Remove trailing whitespace and minor formatting changes for the dot-codeAlex Neundorf2010-10-311-97/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | | | KWSys Nightly Date StampKWSys Robot2010-11-231-1/+1
| | | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2010-11-221-1/+1
| | | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2010-11-211-1/+1
| | | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2010-11-201-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2010-11-191-1/+1
| |_|/ / / / |/| | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2010-11-181-1/+1
| | | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2010-11-171-1/+1
| | | | | |
* | | | | | Merge topic 'find-doc-init'David Cole2010-11-1614-42/+88
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5303fbf Speedup find_* commands (#11412)
| * | | | | | Speedup find_* commands (#11412)Brad King2010-11-1214-42/+88
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delay computation of the command documentation until it is needed. It is wasteful to do it in the constructor on every call. Inspired-By: Christian Ehrlicher <Ch.Ehrlicher@gmx.de>
* | | | | | Merge topic 'cray-compiler'David Cole2010-11-162-0/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53e76c8 Teach CMake about Cray C, C++, and Fortran compilers 34e1ac2 Create Fortran info variables for .mod behavior
| * | | | | | Create Fortran info variables for .mod behaviorBrad King2010-11-122-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define CMAKE_Fortran_MODDIR_DEFAULT and CMAKE_Fortran_MODOUT_FLAG variables to help some Fortran compilers generate .mod files in the current working directory.
* | | | | | | Merge topic 'MakeCodeBlocksGeneratorNonVerbose2'David Cole2010-11-168-248/+210
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 156ae39 Don't disable colors in the CodeBlocks generator and minor cleanup. e547fa7 Remove the "early alpha stage" comments about Eclipse and C::B a02987a Don't enforce VERBOSE makefiles for the CodeBlocks generator 7b1421b Remove trailing whitespace
| * | | | | | | Don't disable colors in the CodeBlocks generator and minor cleanup.Alex Neundorf2010-11-115-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since now the only users of SetToolSupportsColor() are gone, this method is removed too. Alex
| * | | | | | | Remove the "early alpha stage" comments about Eclipse and C::BAlex Neundorf2010-11-112-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
| * | | | | | | Don't enforce VERBOSE makefiles for the CodeBlocks generatorAlex Neundorf2010-11-114-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of enforcing verbose makefile, now the generated build command includes "VERBOSE=1" so the output will be verbose when building in C::B. Also removed the now unused setForceVerboseMakefiles(). Alex
| * | | | | | | Remove trailing whitespaceAlex Neundorf2010-11-118-208/+208
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | | Merge topic 'fix-FOLDER-plus-include_external_msproject'David Cole2010-11-161-37/+41
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3cf739 Honor FOLDER on include_external_msproject targets (#11436)
| * | | | | | | Honor FOLDER on include_external_msproject targets (#11436)David Cole2010-11-101-37/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FOLDER property usage to the VSExternalInclude test and inspect results manually to verify behavior. Thanks to Jens Auer for the bug report.
* | | | | | | | Merge topic 'vs-intel-RuntimeLibrary'David Cole2010-11-163-2/+61
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22aec40 Set Intel .vfproj RuntimeLibrary attribute 3d79e7d Fix Intel .vfproj SubSystem attribute values
| * | | | | | | | Set Intel .vfproj RuntimeLibrary attributeBrad King2010-11-093-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look for the "/threads", "/libs:dll", and "/dbglibs" flags and convert them to the proper RuntimeLibrary attribute value in the IDE. This is a 3-to-1 flag mapping and such needs special handling in the parser.
| * | | | | | | | Fix Intel .vfproj SubSystem attribute valuesBrad King2010-11-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SubSystem attribute value must be "subSystemConsole" or "subSystemWindows", not "1" or "2". Commit 20f49730 (Reset platform/compiler info status for each language, 2010-09-28) exposed this bug by (correctly) passing the /libs:dll flag to the compiler, which chokes the linker if a value for "/subsystem:" is not given.
* | | | | | | | | Merge topic 'vs8-direct-depends'David Cole2010-11-163-3/+18
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | 1a0c166 Store direct dependencies in solutions for VS >= 8
| * | | | | | | | Store direct dependencies in solutions for VS >= 8Brad King2010-09-103-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit bc43b0f2 (Do not link library dependencies in VS solutions, 2009-10-20) CMake disables for VS >= 8 linking of a target to libraries that happen to be listed as solution-level dependencies. Therefore we can list the direct dependencies of each target in the solution file and let VS handle transitive dependencies automatically.
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-11-161-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |