summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Use strings for variable namesBen Boeckel2014-03-0838-156/+142
| | | | Variable names are always generated by CMake and should never be NULL.
* stringapi: Use strings for property namesBen Boeckel2014-03-0832-310/+262
| | | | Property names are always generated by CMake and should never be NULL.
* Merge topic 'link-libraries-response-files'Brad King2014-03-068-67/+139
|\ | | | | | | | | | | | | | | | | | | | | | | 489b1c23 Windows: Use response files to specify link libraries for GNU tools 745caae6 Makefile: Rename linker response file boolean to be more specific 5e8e4d0f cmLocalGenerator: Add response file option to OutputLinkLibraries b9aa5041 cmLocalGenerator: Simplify GetIncludeFlags output formatting 971653b7 cmLocalGenerator: Add format option to ConvertToLinkReference 0c0ef9e7 cmLocalGenerator: Add format option to ConvertToIncludeReference 02bebd60 cmLocalGenerator: Add format option to ConvertToOutputForExisting c8751709 Makefile: Factor out some duplicate link libraries generation
| * Windows: Use response files to specify link libraries for GNU toolsBrad King2014-03-054-3/+54
| | | | | | | | | | | | | | | | | | Work around the command-line-length limit by using an @linklibs.rsp response file to pass the flags for link libraries. This allows very long lists of libraries to be used in addition to the existing support for passing object files via response file. Suggested-by: Peter Keuschnigg <peter.keuschnigg@pmu.ac.at>
| * Makefile: Rename linker response file boolean to be more specificBrad King2014-03-052-9/+9
| | | | | | | | | | Rename local variable useResponseFile to useResponseFileForObjects when it represents CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS.
| * cmLocalGenerator: Add response file option to OutputLinkLibrariesBrad King2014-03-043-11/+17
| | | | | | | | | | Response files require different path conversion to be threaded through construction of the link libraries flags.
| * cmLocalGenerator: Simplify GetIncludeFlags output formattingBrad King2014-03-041-12/+4
| | | | | | | | Use the output format argument to ConvertToIncludeReference.
| * cmLocalGenerator: Add format option to ConvertToLinkReferenceBrad King2014-03-044-7/+11
| | | | | | | | Replace the hard-coded SHELL output format with an optional argument.
| * cmLocalGenerator: Add format option to ConvertToIncludeReferenceBrad King2014-03-044-6/+10
| | | | | | | | Replace the hard-coded SHELL output format with an optional argument.
| * cmLocalGenerator: Add format option to ConvertToOutputForExistingBrad King2014-03-042-11/+17
| | | | | | | | Replace the hard-coded SHELL output format with an optional argument.
| * Makefile: Factor out some duplicate link libraries generationBrad King2014-03-044-12/+21
| | | | | | | | | | | | | | The generators for executable and library targets duplicate the logic to call the OutputLinkLibraries helper on the local generator. Factor it out into a cmMakefileTargetGenerator::CreateLinkLibs method to avoid dpulication.
* | CMake Nightly Date StampKitware Robot2014-03-061-1/+1
| |
* | Merge topic 'update-kwsys'Brad King2014-03-057-9/+268
|\ \ | | | | | | | | | | | | | | | 7db95df3 Merge branch 'upstream-kwsys' into update-kwsys f096786d KWSys 2014-03-03 (b1916e0a)
| * | Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-03-047-9/+268
| |/
* | Merge topic 'fix-check-build-system-crash'Brad King2014-03-051-1/+1
|\ \ | | | | | | | | | | | | 3504f9b9 cmake: Fix --check-build-system argument count check (#14784)
| * | cmake: Fix --check-build-system argument count check (#14784)Brad King2014-03-041-1/+1
| | | | | | | | | | | | | | | This internal option requires two arguments, not just one. Fix the argument count required to recognize the option.
* | | Merge topic 'fix-CMP0017-check'Brad King2014-03-051-1/+2
|\ \ \ | | | | | | | | | | | | | | | | 7e187eea CMP0017: Fix check when including from CMake source tree
| * | | CMP0017: Fix check when including from CMake source treeBrad King2014-03-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running CMake from the build tree the CMAKE_ROOT is the entire source tree. Fix the CMP0017 check to be specific to the Modules/ directory under CMAKE_ROOT so that Tests/ does not count. Fix the FindPackageTest modules to include FPHSA by full path from CMAKE_ROOT so that they do not include the local FPHSA which reports an error meant to test that CMP0017 works.
* | | | CMake Nightly Date StampKitware Robot2014-03-051-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2014-03-041-1/+1
|/ /
* | Merge topic 'wix-additions'Brad King2014-03-036-0/+82
|\ \ | | | | | | | | | | | | | | | 642fa25d CPackWIX: support installation of empty directories 378eb5b7 CPackWIX: Allow Windows Installer property customization
| * | CPackWIX: support installation of empty directoriesNils Gladitz2014-03-013-0/+36
| | |
| * | CPackWIX: Allow Windows Installer property customizationNils Gladitz2014-03-014-0/+46
| | |
* | | CMake Nightly Date StampKitware Robot2014-03-031-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-03-021-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2014-03-011-1/+1
| |
* | Merge topic 'vs-Fortran-use-OBJECT-lib'Brad King2014-02-281-4/+4
|\ \ | | | | | | | | | | | | 0f55f254 VS: For Intel Fortran .vfproj put OBJECT libs in link line (#14777)
| * | VS: For Intel Fortran .vfproj put OBJECT libs in link line (#14777)Brad King2014-02-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel Fortran .vfproj format accepts the $(Configuration) placeholder in the path to an input file but appears to consider it always out of date. Therefore adding OBJECT library objects as external object source files causes the referencing binary to re-link on every build. Work around this problem by putting OBJECT library objects on the link line as is done for VS < 8 already.
* | | Merge topic 'no_gcov_error_msg'Brad King2014-02-281-0/+6
|\ \ \ | | | | | | | | | | | | | | | | 0a6f0280 CTest: notify user if gcov cannot be found
| * | | CTest: notify user if gcov cannot be foundZack Galbreath2014-02-281-0/+6
| | | | | | | | | | | | | | | | | | | | Emit an error message when we're performing coverage using gcov and the gcov executable cannot be found.
* | | | Merge topic 'wix-refactor'Brad King2014-02-2818-534/+846
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 6fcd835c CPackWIX: refactor and cleanup
| * | | | CPackWIX: refactor and cleanupNils Gladitz2014-02-2618-534/+846
| | | | | | | | | | | | | | | | | | | | | | | | | Extract addtional classes and functions which are getting unsightly large. Use some of the coding conventions more consistently.
* | | | | CMake Nightly Date StampKitware Robot2014-02-281-1/+1
| |_|/ / |/| | |
* | | | CMake Nightly Date StampKitware Robot2014-02-271-1/+1
| |/ / |/| |
* | | Merge topic 'fix-showinclude-warnings'Brad King2014-02-262-2/+18
|\ \ \ | | | | | | | | | | | | | | | | 47702b8d CTest: exclude /showIncludes notes when scraping logs
| * | | CTest: exclude /showIncludes notes when scraping logsNils Gladitz2014-02-252-2/+18
| | |/ | |/| | | | | | | | | | | | | | | | | | | My last related commit e5e3f3d4 (CTest: filter /showIncludes output from ninja compile launcher, 2013-12-01) filtered /showIncludes messages from the generated xml output but they also need to be filtered in ScrapeLog(). Otherwise they are being detected as warnings when using compilers withs english diagnostics.
* | | Merge topic 'msvc-compiler-pdb-files'Brad King2014-02-2610-11/+202
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | fba51b09 MSVC: Add properties to configure compiler PDB files (#14762) 3737860a cmTarget: Add per-config compilation info 718a9532 cmTarget: Refactor ComputePDBOutputDir interface aae5184c Help: Refactor PDB_NAME and PDB_OUTPUT_DIRECTORY docs b4aac0ca Makefile: Fix per-config linker PDB output directory
| * | MSVC: Add properties to configure compiler PDB files (#14762)Brad King2014-02-2610-1/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.12~437^2~2 (VS: Separate compiler and linker PDB files 2013-04-05) we no longer set /Fd with the PDB_NAME or PDB_OUTPUT_DIRECTORY properties. Those properties now exclusively handle linker PDB files. Since STATIC libraries do not link their compiler PDB file becomes more important. Add new target properties "COMPILE_PDB_NAME[_<CONFIG>]" and "COMPILE_PDB_OUTPUT_DIRECTORY[_<CONFIG>]" to specify the compiler PDB file location and pass the value to the MSVC /Fd option.
| * | cmTarget: Add per-config compilation infoBrad King2014-02-242-0/+50
| | | | | | | | | | | | | | | | | | | | | Add a cmTarget::CompileInfo struct to hold per-configuration information about the compilation settings in a target. This is different than cmTarget::OutputInfo because it applies to any targets that can compile sources even if they do not link or archive.
| * | cmTarget: Refactor ComputePDBOutputDir interfaceBrad King2014-02-242-6/+7
| | | | | | | | | | | | | | | | | | Add a runtime parameter to specify the property name prefix. Update the call site to pass "PDB" to preserve the existing name for that call path.
| * | Makefile: Fix per-config linker PDB output directoryBrad King2014-02-243-4/+4
| | | | | | | | | | | | | | | | | | Also, now that all call sites of cmTarget::GetPDBName and cmTarget::GetPDBDirectory pass the configuration, make the argument non-optional.
* | | CMake Nightly Date StampKitware Robot2014-02-261-1/+1
| | |
* | | Merge topic 'dev/faster-parsers'Brad King2014-02-253-71/+63
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 048be205 Help: Add release notes for the 'faster-parsers' topic 7c565d2f cmGeneratorExpression: Improve parsing in StripEmptyListElements 68eb1757 cmGeneratorExpressionLexer: Use a switch statement to parse 67253133 ExpandListArguments: Optimize the parser
| * | | cmGeneratorExpression: Improve parsing in StripEmptyListElementsBen Boeckel2014-02-211-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | The char-by-char parsing causes lots of reallocations which shouldn't be necessary. To improve this, fast-path strings without a semicolon, reserve space in the result, and insert into the result in chunks.
| * | | cmGeneratorExpressionLexer: Use a switch statement to parseBen Boeckel2014-02-211-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | Optimize cmGeneratorExpressionLexer::Tokenize to use a switch statement. The many dereferences of the input pointer were expensive. Also remove excess pointer arithmetic.
| * | | ExpandListArguments: Optimize the parserBen Boeckel2014-02-211-33/+18
| | | | | | | | | | | | | | | | | | | | | | | | Optimize cmSystemTools::ExpandListArguments so as not to build a string character-by-character. This avoids excess reallocations of the result string.
* | | | Merge topic 'target-SOURCES-refactor'Brad King2014-02-2513-495/+775
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f9d5b1fd Handle Mac OSX source flags for individual files lazily. 64d39841 cmGeneratorTarget: Classify sources on demand, not up front. d3682d86 cmGeneratorTarget: Use a method to access the definition file. 5771f81d cmTarget: Add GetTransitiveTargetClosure method. a6dd4990 cmTarget: Create a temporary cmTarget in checkInterfacePropertyCompatibility b8b99cc1 cmTarget: Avoid computing languages when computing transitive targets. 01bca553 cmTarget: Move ComputeLinkInterface to the internal class. d93e1af2 cmTarget: Extract a ComputeLinkInterfaceLibraries method. 3bcb197c cmTarget: Re-arrange the ComputeLinkInterface method. 326d07d2 cmTarget: Extract a ComputeLinkImplementationLanguages method. 21e91350 cmTarget: Change GetTransitivePropertyLinkLibraries to output targets. f81eb49e cmTarget: Find source files on request. 84e5f5a0 cmTarget: Move SourceFileFlags to cmGeneratorTarget.
| * | | | Handle Mac OSX source flags for individual files lazily.Stephen Kelly2014-02-241-26/+17
| | | | | | | | | | | | | | | | | | | | | | | | | The actual list of files will become config dependent in a follow-up commit.
| * | | | cmGeneratorTarget: Classify sources on demand, not up front.Stephen Kelly2014-02-243-126/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a Visitor to hold the sequence of source file tests for populating outputs. Use VS 6 and 7 workaround from Brad King for lack of partial template specialization and function template specialization capabilities. This will make it possible to use context dependent generator expressions to determine the sources of a target.
| * | | | cmGeneratorTarget: Use a method to access the definition file.Stephen Kelly2014-02-245-12/+20
| | | | |