summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* KWSys Nightly Date StampKWSys Robot2011-01-201-1/+1
|
* Merge topic 'depend-scan-backslash-issue-10281'Brad King2011-01-191-0/+1
|\ | | | | | | | | 8dc7501 Normalize slashes in scanned #include lines (#10281)
| * Normalize slashes in scanned #include lines (#10281)Brad King2011-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | On Windows platforms source files may contain '\' in include directives: #include "a\b.h" Normalize these while scanning to use forward slashes. CMake will convert from forward slashes to the direction preferred by the native build tools when writing the path to 'depend.make' files.
* | Merge topic 'vs-Fortran-SCC-issue-10237'Brad King2011-01-192-11/+19
|\ \ | | | | | | | | | | | | 9859c64 Honor VS_SCC_* properties in Fortran targets (#10237)
| * | Honor VS_SCC_* properties in Fortran targets (#10237)Brad King2011-01-172-11/+19
| |/ | | | | | | | | | | Factor out generation of SccProjectName, SccLocalPath, and SccProvider from cmLocalVisualStudio7Generator::WriteProjectStart and call it from cmLocalVisualStudio7Generator::WriteProjectStartFortran too.
* | Merge topic 'try_compile-Makefile-config'Brad King2011-01-194-2/+27
|\ \ | | | | | | | | | | | | | | | 052c2ae Document CMAKE_TRY_COMPILE_CONFIGURATION variable 56efc60 Honor CMAKE_TRY_COMPILE_CONFIGURATION in Makefile generators (#10809)
| * | Document CMAKE_TRY_COMPILE_CONFIGURATION variableBrad King2011-01-173-2/+15
| | | | | | | | | | | | | | | Also reference it from try_compile and try_run since it affects those commands.
| * | Honor CMAKE_TRY_COMPILE_CONFIGURATION in Makefile generators (#10809)Brad King2011-01-171-0/+12
| |/ | | | | | | | | | | | | Previously this was used only in multi-configuration generators to choose the configuration of try_compile and try_run at their build time. Teach CMake to honor the variable in single-configuration generators as the CMAKE_BUILD_TYPE.
* | Merge topic 'xcode-subdir-regen-dependencies'Brad King2011-01-192-4/+13
|\ \ | | | | | | | | | | | | 809ef30 Xcode: Make generation depend on all input directories
| * | Xcode: Make generation depend on all input directoriesBrad King2011-01-132-4/+13
| |/ | | | | | | | | | | | | | | Previously the Xcode generator would rerun CMake only if input file dependencies in the top-level directory changed. Teach it to depend on input files from all directories. Other generators already do this. Reported-by: Johan Björk <phb@spotify.com>
* | Merge topic 'fix-xcode-custom-rules-makefile'Brad King2011-01-191-0/+3
|\ \ | | | | | | | | | | | | 66d9cd8 Xcode: Disable implicit make rules in custom rules makefiles.
| * | Xcode: Disable implicit make rules in custom rules makefiles.David Cole2011-01-111-0/+3
| |/ | | | | | | | | | | | | With apologies to the suggester for not accenting the surname vowel properly. Suggested-By: Johan Bjork
* | Merge topic 'missing-file-dir-issue-11677'Brad King2011-01-191-2/+7
|\ \ | | | | | | | | | | | | | | | 7af41c3 Test that missing source mentions directory (#11677) 9cefce0 Report directory with missing source file (#11677)
| * | Report directory with missing source file (#11677)Brad King2011-01-151-2/+7
| |/ | | | | | | | | | | | | | | Previously the error message for code like add_executable(myexe does_not_exist/mysrc.c) mentioned only that "mysrc.c" is not found. Report the directory too.
* | Merge topic 'doc-if-dereferencing-issue-10773'Brad King2011-01-191-52/+37
|\ \ | | | | | | | | | | | | | | | 7d9b903 Clarify auto-dereference cases in if() command (#11701) e4e14e8 Replace misleading example in the if() documentation (#10773)
| * | Clarify auto-dereference cases in if() command (#11701)Brad King2011-01-171-20/+14
| | | | | | | | | | | | | | | | | | Show "<variable|string>" explicitly in if() case documentation whenever auto-dereferencing occurs. Reference its presence from the explanation at the bottom.
| * | Replace misleading example in the if() documentation (#10773)Brad King2011-01-141-34/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the example explained by the misleading phrase "CMake will treat it as if you wrote". This was originally added by commit a73071ca (modified the if command to address bug 9123 some, 2009-06-12). Later related information elsewhere in the documentation was corrected and made precise by commit cb185d93 (Fix if() command and CMP0012 OLD/NEW behavior, 2009-10-27) but the misleading example was not corrected. Replace the example with a correct one that more directly covers the case that typically surprises newcomers. Avoid recommending a "correct" way to write code because this behavior is always specific to each case. Also update the main documentation of the behavior to be more explicit.
* | | Merge topic 'doc-old-get_X_property-commands'Brad King2011-01-195-12/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | 4c980e3 Reference get_property() from old get_*_property() commands 0d7cf49 Fix get_(cmake|test)_property documentation (#11703)
| * | | Reference get_property() from old get_*_property() commandsBrad King2011-01-175-5/+14
| | | | | | | | | | | | | | | | | | | | The former is a much more general and modern command. Refer authors to it from documentation of its predecessors.
| * | | Fix get_(cmake|test)_property documentation (#11703)Brad King2011-01-172-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The signature of get_test_property uses argument order test property VAR not test VAR property Also document the actual behavior when the property is not found.
* | | | Merge topic 'doc-try_compile-clarification'Brad King2011-01-191-18/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | cabb6cd Document Check(C|CXX)SourceCompiles behavior more clearly (#11688) 4da2a56 Document try_compile behavior more clearly (#11688)
| * | | | Document try_compile behavior more clearly (#11688)Brad King2011-01-121-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly state up front that the source-file form of the command links an executable and expects a 'main' to be defined. While at it, update the command signature documentation to use a syntax more consistent with other commands. Also tweak some wording.
* | | | | Merge topic 'doc-hard-preprocessor-characters'Brad King2011-01-195-25/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c64d138 Document COMPILE_DEFINITIONS known limitations (#11660, #11712) 668ce6b Combine duplicate COMPILE_DEFINITIONS disclaimer
| * | | | | Document COMPILE_DEFINITIONS known limitations (#11660, #11712)Brad King2011-01-171-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some values simply cannot be escaped properly in all contexts for all native build tools. Document known limitations after the disclaimer that states so.
| * | | | | Combine duplicate COMPILE_DEFINITIONS disclaimerBrad King2011-01-175-25/+32
| | |_|_|/ | |/| | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-01-191-1/+1
| | | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-01-181-1/+1
| |_|/ / |/| | |
* | | | KWSys Nightly Date StampKWSys Robot2011-01-171-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2011-01-161-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2011-01-151-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2011-01-141-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2011-01-131-1/+1
| |/ / |/| |
* | | KWSys Nightly Date StampKWSys Robot2011-01-121-1/+1
|/ /
* | Merge topic 'doc-LOCATION-property-undefined-behavior'Brad King2011-01-111-2/+15
|\ \ | | | | | | | | | | | | | | | 5734497 Document reading LOCATION_<CONFIG> early as undefined (#11671) 7ffe6d7 Document reading LOCATION early as undefined (#11671)
| * | Document reading LOCATION_<CONFIG> early as undefined (#11671)Brad King2011-01-101-9/+12
| | | | | | | | | | | | | | | | | | | | | Although the LOCATION property is for compatibility with CMake 2.4, the LOCATION_<CONFIG> property is modern. However, if a project reads it and sets location-altering properties later the behavior is undefined. See parent commit for details.
| * | Document reading LOCATION early as undefined (#11671)Brad King2011-01-101-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reading the LOCATION target property currently locks down the result and ignores any later changes to properties that affect it. This may or may not be expected and may or may not be the behavior in earlier versions of CMake. The property is documented as provided only for compatibility with CMake 2.4 and alternative interfaces are now available for all originally envisioned use cases. We want to discourage its use without outright deprecating it. Add documentation to explicitly state that reading the property before other properties are set is undefined.
* | | Merge topic 'ctest-launch-empty-rule'Brad King2011-01-111-0/+7
|\ \ \ | | | | | | | | | | | | | | | | 6228abe CTest: Teach launcher to ignore empty/no-op make commands
| * | | CTest: Teach launcher to ignore empty/no-op make commandsChuck Atkins2011-01-101-0/+7
| | | |
* | | | Merge topic 'policy-CMP0017'Brad King2011-01-114-21/+108
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce28737 Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017 7db8db5 Improve documentation and messages for the new CMP0017 db44848 Prefer files from CMAKE_ROOT when including from CMAKE_ROOT 1e69c6f Merge branch 'user-policy-defaults' into policy-CMP0017 65a0a2a Merge branch 'include-command-whitespace' into policy-CMP0017
| * | | | Improve documentation and messages for the new CMP0017Alex Neundorf2011-01-042-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch incorporates the comments from Brad: -some improvements to the documentation of CMP0017 -make the test QUIETLY search for zlib
| * | | | Prefer files from CMAKE_ROOT when including from CMAKE_ROOTAlex Neundorf2011-01-044-21/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes include() and find_package() prefer cmake files located in CMAKE_ROOT over those in CMAKE_MODULE_PATH. This makes sure that the including file gets that file included which it expects, i.e. the one from cmake with which it was tested. It only changes behaviour when such an included file exists both in CMAKE_MODULE_PATH and in CMAKE_ROOT. This comes together with a new policy CMP0017, with default behaviour it behaves as it always did, but warns. With NEW behaviour it includes the file from CMAKE_ROOT instead from CMAKE_MODULE_PATH. This fixes (if CMP0017 is set) building KDE 4.5 with cmake >= 2.8.3. Also a basic test for this policy in included.
| * | | | Merge branch 'user-policy-defaults' into policy-CMP0017Brad King2011-01-044-17/+75
| |\ \ \ \
* | \ \ \ \ Merge topic 'user-policy-defaults'Brad King2011-01-114-17/+75
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | a364daf Allow users to specify defaults for unset policies 8e45c11 Fix indentation in cmPolicies::ApplyPolicyVersion()
| * | | | | Allow users to specify defaults for unset policiesBrad King2011-01-044-3/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check CMAKE_POLICY_DEFAULT_CMP<NNNN> for a default when policy CMP<NNNN> would otherwise be left unset. This allows users to set policies on the command line when the project does not set them. One may do this to quiet warnings or test whether a project will build with new behavior without modifying code. There may also be cases when users want to build an existing project release using new behavior for policies unknown to the project at the time of the release.
| * | | | | Fix indentation in cmPolicies::ApplyPolicyVersion()Alex Neundorf2011-01-041-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | Merge topic 'include-command-whitespace'Brad King2011-01-112-14/+14
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | 75a5221 Remove trailing whitespace
| * | | | | Remove trailing whitespaceAlex Neundorf2011-01-042-14/+14
| |/ / / /
* | | | | Merge topic 'fix_source_groups_for_custom_targets_vs10'Brad King2011-01-111-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7bbab25 Add support for source files in custom targets for VS 10 (Bug#11330).
| * | | | | Add support for source files in custom targets for VS 10 (Bug#11330).Bill Hoffman2011-01-061-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | In VS10, CMake was not adding the source files that were in the SOURCES list for add_custom_target. This patch fixes that issue.
* | | | | Merge topic 'fix-11461-add-midl-vs10'Brad King2011-01-112-4/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e33cbda VSMidl Test: Use correct include_directories with VS6 (#11461) 262da91 Prohibit space in HOME value for VSMidl test. 13caaa3 VS10: Finish Midl support (#11461)