summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Implicit link info for C, CXX, and FortranBrad King2009-07-2322-1/+137
| | | | | | | | | | | | | This teaches CMake to detect implicit link information for C, C++, and Fortran compilers. We detect the implicit linker search directories and implicit linker options for UNIX-like environments using verbose output from compiler front-ends. We store results in new variables called CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES The implicit libraries can contain linker flags as well as library names.
* ENH: Load platform-independent per-compiler filesBrad King2009-07-233-0/+16
| | | | | | | This teaches the language configuration modules to load per-compiler information for each language using the compiler id but no system name. They look for modules named "Compiler/<id>-<lang>.cmake". Such modules may specify compiler flags that do not depend on the platform.
* BUG: Fix get_filename_component ABSOLUTE modeBrad King2009-07-231-13/+3
| | | | | | | This teaches the command to recognize full windows paths when built on UNIX. CollapseFullPath knows when the input path is relative better than FileIsFullPath because the latter is only meant for paths from the host platform.
* STYLE: Nightly Date StampKWSys Robot2009-07-231-1/+1
|
* ENH: Improve dynamic variable scope implementationBrad King2009-07-226-95/+301
| | | | | | | | | | | | Previously each new variable scope (subdirectory or function call) in the CMake language created a complete copy of the key->value definition map. This avoids the copy using transitive lookups up the scope stack. Results of queries answered by parents are stored locally to maintain locality of reference. The class cmDefinitions replaces cmMakefile::DefinitionsMap, and is aware of its enclosing scope. Each scope stores only the definitions set (or unset!) inside it relative to the enclosing scope.
* ENH: Improve strictness of Function testBrad King2009-07-221-4/+14
| | | | | | The command "set(... PARENT_SCOPE)" should never affect the calling scope. This improves the Function test to check that such calls in a subdirectory scope affect the parent but not the child.
* BUG: Fix typo pointed out by Monsieur Francois Bertel. Merci, Francois.David Cole2009-07-221-1/+1
|
* BUG: Fix issue #8481 - generate Xcode projects such that breakpoints may be ↵David Cole2009-07-221-3/+34
| | | | used from the Xcode debugger without adjusting any settings within the Xcode GUI first... Thanks to Doug Gregor for the patch.
* STYLE: Nightly Date StampKWSys Robot2009-07-221-1/+1
|
* ENH: just converted case to lower for the bookKen Martin2009-07-211-17/+17
|
* BUG: Disable color makefile inside try-compileBrad King2009-07-211-1/+4
| | | | | | | | Generated makefiles for try-compile projects should never use color output. On MSYS the color escapes end up in the try-compile output text because there is no way to identify whether the output is going to a color-capable terminal. Instead we should just always skip color for try-compile projects.
* BUG: Fix SystemInformation dump outputBrad King2009-07-211-1/+1
| | | | | | | When this test was renamed from DumpInformation to SystemInformation the configured header that points the dump executable to the directory containing information files was broken. No information has been dumped by this test for 2 years! This fixes it.
* STYLE: Nightly Date StampKWSys Robot2009-07-211-1/+1
|
* BUG: Add CPACK_NSIS_PACKAGE_NAME to the list of CPack variables that CMake ↵David Cole2009-07-201-2/+4
| | | | overrides. We use the same value as the CPack-provided default, but do it here such that configuring with an older CMake will still give us this new variable. Necessary so that the CMake release process works with the new variable: CMake is configured with a previous CMake, but packaged with the freshly built CPack. (This fix is necessary because the fix for issue #8682 caused the side effect of having an empty CPACK_NSIS_PACKAGE_NAME for the CMake nightly package.)
* ENH: set expected failure for testsBill Hoffman2009-07-201-0/+9
|
* STYLE: Nightly Date StampKWSys Robot2009-07-201-1/+1
|
* ENH: fix warningBill Hoffman2009-07-191-1/+1
|
* STYLE: Nightly Date StampKWSys Robot2009-07-191-1/+1
|
* BUG: Fix include path detection with SDLDIR env var (issue #9086).Philip Lowman2009-07-181-17/+5
| | | | Also removed some superfluous search paths.
* STYLE: Nightly Date StampKWSys Robot2009-07-181-1/+1
|
* ENH: Also add ARCHLIB/CORE to include search paths so perl.h can be found on ↵Philip Lowman2009-07-181-0/+1
| | | | non-standard install prefixes
* ENH: Improve detection of perl.h/libperl, issue #7898Philip Lowman2009-07-181-36/+199
|
* ENH: fix warningBill Hoffman2009-07-171-1/+1
|
* ENH: Edit button label for new changes dialog.Clinton Stimpson2009-07-171-2/+2
|
* ENH: Add a "Show my changes" to the Tools menu.Clinton Stimpson2009-07-174-4/+139
| | | | | Changes by the user are recorded and when requested, it shows -D arguments for commandline or contents for a cache file.
* ENH: compute the max test name width based on the length of the testsBill Hoffman2009-07-171-0/+15
|
* ENH: make sure GUIDs for filters are cachedBill Hoffman2009-07-174-15/+35
|
* STYLE: Nightly Date StampKWSys Robot2009-07-171-1/+1
|
* BUG: fix relative paths from different drives on WindowsClinton Stimpson2009-07-161-0/+3
|
* BUG: Re-fix issue #8682. Use new variable CPACK_NSIS_PACKAGE_NAME in ↵David Cole2009-07-162-3/+7
| | | | appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation.
* STYLE: Nightly Date StampKWSys Robot2009-07-161-1/+1
|
* ENH: remove debug messageBill Hoffman2009-07-151-1/+0
|
* ENH: do not use /INCREMENTAL:YES with VS 10 compilerBill Hoffman2009-07-151-4/+16
|
* STYLE: Nightly Date StampKWSys Robot2009-07-151-1/+1
|
* BUG: Don't let Qt suppress error dialogs. Add call to SetErrorMode(0);Clinton Stimpson2009-07-141-0/+8
| | | | See #9258.
* ENH: fix vsexternal test on vs 71Bill Hoffman2009-07-141-1/+2
|
* ENH: Check _SGI_COMPILER_VERSION for compiler idBrad King2009-07-143-3/+3
| | | | | | Some SGI compilers define _SGI_COMPILER_VERSION in addition to the old _COMPILER_VERSION preprocessor symbol. It is more distinctive, so we should check it in case the old one is ever removed.
* BUG: Avoid SGI preprocessor bug for Fortran IdBrad King2009-07-141-2/+10
| | | | | | | | | | | | | | | | | The SGI preprocessor /usr/lib/cpp produces bad output on this code: #if 1 A #elif 1 B #else C #endif Both 'A' and 'C' appear in the output! We work around the problem by using '#elif 1' instead of '#else'. This fixes detection of the SGI Fortran compiler id in -o32 mode.
* STYLE: add documentation for MACRO_ADD_FILE_DEPENDENCIES()Alexander Neundorf2009-07-141-6/+12
| | | | Alex
* ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties ↵Bill Hoffman2009-07-1415-140/+78
| | | | instead, fix VXExternalInclude test for VS10
* ENH: Teach separate_arguments() to parse commandsBrad King2009-07-144-10/+128
| | | | | This adds UNIX_COMMAND and WINDOWS_COMMAND modes to the command. These modes parse unix- and windows-style command lines.
* STYLE: Factor cmComputeLinkInformation constructorBrad King2009-07-142-15/+25
| | | | | This factors some code out of the constructor into a new method cmComputeLinkInformation::LoadImplicitLinkInfo for readability.
* STYLE: Factor CollectOriginalDirectories codeBrad King2009-07-142-20/+28
| | | | | | This factors code out of cmOrderDirectories::CollectOriginalDirectories into cmOrderDirectories::AddOriginalDirectories. Later a new call will be added, and this is more readable anyway.
* COMP: Shorten ExportImport test command linesBrad King2009-07-142-22/+20
| | | | | | | | | | The ExportImport test drives its Export and Import projects using the same compiler and flags. This converts the ctest --build-and-test command lines to use an initial cache file instead of passing all settings on the command line. We need a shorter command line to pass through VS 6 on Win98. This approach reduces duplicate code anyway.
* STYLE: Nightly Date StampKWSys Robot2009-07-141-1/+1
|
* BUG: Parse escapes in single-quoted unix argumentsBrad King2009-07-131-1/+1
| | | | | This fixes KWSys's unix-style command-line parsing to interpret backslash escapes inside single-quoted strings.
* COMP: Include <malloc.h> for 'free' on QNXBrad King2009-07-131-0/+3
|
* ENH: almost all tests passing in vs 10, commit fixes preprocess and starts ↵Bill Hoffman2009-07-139-39/+150
| | | | vs external project
* COMP: Include <stdlib.h> for 'free'Brad King2009-07-131-0/+1
|
* ENH: Add cmSystemTools::ParseUnixCommandLineBrad King2009-07-132-0/+36
| | | | | This method is a C++ wrapper around the KWSys System library function to parse unix-style command lines.