summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Remove WXDialog source codeBrad King2009-08-0535-10357/+0
| | | | | The QtDialog is our supported cross-platform GUI, so the WXDialog source is no longer needed.
* Remove FLTKDialog source codeBrad King2009-08-0511-2029/+0
| | | | | The QtDialog is our supported cross-platform GUI, so the FLTKDialog source is no longer needed.
* Fix find_package for cmake-gui registry entryBrad King2009-08-051-1/+1
| | | | | | | | | | | | The find_package commands looks at the "WhereBuild" registry entries created by CMakeSetup and cmake-gui hoping that the project was recently built. CMakeSetup created WhereBuild1..WhereBuild10 but cmake-gui creates WhereBuild0-WhereBuild9. This fixes find_package to look at WhereBuild0 so that the most recently configured project can be found. It is important in the case that the package to be found was the last one configured in cmake-gui but the current project that is finding it is configured from the command line.
* KWSys Nightly Date StampKWSys Robot2009-08-051-1/+1
|
* ENH: minor cleanup of testKen Martin2009-08-041-6/+4
|
* No /fast targets in try_compile project modeBrad King2009-08-045-3/+7
| | | | | | | | The try_compile command builds the cmTryCompileExec executable using the cmTryCompileExec/fast target with Makefile generators in order to save time since dependencies are not needed. However, in project mode the command builds an entire source tree that may have dependencies. Therefore we can use the /fast target approach only in one-source mode.
* ENH: change to CDASHKen Martin2009-08-041-3/+3
|
* KWSys Nightly Date StampKWSys Robot2009-08-041-1/+1
|
* Fix recursive try_compile callsBrad King2009-08-032-4/+16
| | | | | | | | When building an entire source tree with try_compile instead of just a single source file, it is possible that the CMakeLists.txt file in the try-compiled project invokes try_compile. This commit fixes propagation of language-initialization results from the outer-most project into any number of try-compile levels.
* KWSys Nightly Date StampKWSys Robot2009-08-031-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-08-021-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-08-011-2/+2
|
* DOCS: fix typo (#9231)Alexander Neundorf2009-07-311-1/+1
| | | | Alex
* Set current directory variables in CTest scriptsBrad King2009-07-311-0/+6
| | | | | | | | | | | | | | The commit "Fix get_filename_component ABSOLUTE mode" broke the code get_filename_component(cwd . ABSOLUTE) because CTest scripts did not make cmMakefile::GetCurrentDirectory() available. This commit fixes the problem by setting the proper information on CTest script instances of cmMakefile. This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR available to CTest scripts. They are set to the working directory at script startup.
* Fix installation when built by CMake 2.4Brad King2009-07-311-5/+0
| | | | | | | | | CMake 2.4 generates old-style cmake_install.cmake code including calls to the file(INSTALL) command with the COMPONENTS argument. We need to set CMAKE_INSTALL_SELF_2_4 for the whole install tree to prevent the command from complaining in this special case. Previously this was needed only in the QtDialog directory, but now it is needed in the entire tree.
* DOCS: fix typo (see #9308)Alexander Neundorf2009-07-312-2/+2
| | | | Alex
* KWSys Nightly Date StampKWSys Robot2009-07-311-1/+1
|
* Do not always propagate linker language preferenceBrad King2009-07-302-15/+39
| | | | | | | | | | | | The commit "Consider link dependencies for link language" taught CMake to propagate linker language preference from languages compiled into libraries linked by a target. It turns out this should only be done for some languages, such as C++, because normally the language of the program entry point (main) should be used. We introduce variable CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES to tell CMake whether a language should propagate its linker preference across targets. Currently it is true only for C++.
* Refactor target linker language selectionBrad King2009-07-301-29/+56
| | | | | | This factors the decision logic out of cmTarget::ComputeLinkClosure into dedicated class cmTargetSelectLinker. We replace several local variables with a single object instance, and organize code into methods.
* STYLE: Nightly Date StampKWSys Robot2009-07-301-1/+1
|
* Separate Xcode flag escaping code from definesBrad King2009-07-292-28/+73
| | | | | Generalize the core Xcode generator preprocessor flag escaping code to be useful for escaping all flags.
* Re-order cmGlobalXCodeGenerator implementationBrad King2009-07-291-51/+51
| | | | | This defines class cmGlobalXCodeGenerator::BuildObjectListOrString early in the source file so it can be used in more places.
* ENH: Separate option mapping from VS generatorsBrad King2009-07-295-171/+261
| | | | | Split cmVisualStudioGeneratorOptions core functionality out into a base class cmIDEOptions. It will be useful for other generators.
* ENH: Separate VS flag table typeBrad King2009-07-298-31/+56
| | | | | Move the cmVS7FlagTable type out of the VS generators and rename it to cmIDEFlagTable. It will be useful for other generators.
* STYLE: Nightly Date StampKWSys Robot2009-07-291-1/+1
|
* ENH: remove code duplication and use cmVisualStudioGeneratorOptions for all ↵Bill Hoffman2009-07-282-379/+9
| | | | versions of vs 7 and greater.
* BUG: Do not double-initialize local generatorsBrad King2009-07-285-9/+0
| | | | | | | | | All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.
* BUG: Do not filter non-library implicit link itemsBrad King2009-07-281-1/+7
| | | | | | | We list implicit link items of languages linked into a target but filter them by the implicit libraries known to be passed by the main linker language. Implicit link flags like "-z..." should not be filtered out because they are not libraries.
* BUG: Always pass linker flags untouchedBrad King2009-07-281-21/+23
| | | | | | | | In cmComputeLinkInformation we recognize link options that look like library file names, but pass flags starting in '-' through untouched. This fixes the ordering of the check to recognize '-' flags first in case the rest of the option looks like a library file name, as in the case of "-l:libfoo.a".
* BUG: Do not recognize ':' in a library nameBrad King2009-07-281-1/+1
| | | | | | In cmComputeLinkInformation we construct regular expressions to recognize library file names. This fixes the expressions to not allow a colon (':') in the file name so that "-l:libfoo.a" is left alone.
* STYLE: Nightly Date StampKWSys Robot2009-07-281-1/+1
|
* BUG: Enable large files only if <cstdio> worksBrad King2009-07-272-0/+13
| | | | | | | | | | | Some AIX/gcc version combinations the <cstdio> header breaks when large file support is enabled. See this GCC issue for details: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366 We work around the problem by enhancing the configuration check for large file support to include <cstdio> when available. This will cause LFS to be disabled when the above problem occurs.
* ENH: add test times and a total time to the output of command line ctestBill Hoffman2009-07-271-8/+23
|
* ENH: Link runtime libraries of all languagesBrad King2009-07-274-0/+86
| | | | | | | | | | | | | | | | | | This adds implicit libraries and search directories for languages linked into a target other than the linker language to its link line. For example, when linking an executable containing both C++ and Fortran code the C++ linker is used but we need to add the Fortran libraries. The variables CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES contain the implicit libraries and directories for each language. Entries for the linker language are known to be implicit in the generated link line. Entries for other languages that do not appear in the known implicit set are listed explicitly at the end of the link line.
* STYLE: Nightly Date StampKWSys Robot2009-07-271-1/+1
|
* ENH: try and see if using string.append instead of += will make valgrind not ↵Dave Partyka2009-07-261-4/+4
| | | | complaing that JoinPath is leaking.
* STYLE: Nightly Date StampKWSys Robot2009-07-261-1/+1
|
* STYLE: Nightly Date StampKWSys Robot2009-07-251-1/+1
|
* BUG: Keep variable_watch() commands in memoryBrad King2009-07-241-0/+4
| | | | | | | The "Keep only FinalPass commands in memory" commit caused instances of this command to be deleted after the InitialPass. Even though the variable_watch command does not have a final pass, it does need to stay alive because it owns the callback information.
* BUG: Additional fix necessary for issue #8481 so that Xcode builds do not ↵David Cole2009-07-241-0/+6
| | | | write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally.
* ENH: Keep only FinalPass commands in memoryBrad King2009-07-248-1/+14
| | | | | | In cmMakefile we save all invoked commands so that FinalPass can be called on them later. Most commands have no final pass, so we should keep only the few that do.
* COMP: Fix compilation of VTK on debian/sparc (sparc is a CPU not an OS)Mathieu Malaterre2009-07-241-1/+1
|
* STYLE: Nightly Date StampKWSys Robot2009-07-241-1/+1
|
* ENH: Implicit link info for C, CXX, and FortranBrad King2009-07-231-1/+22
| | | | | | | | | | | | | 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.
* 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-225-95/+300
| | | | | | | | | | | | 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.
* 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
|