summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove old Encoding field from CMake.desktopBrad King2009-10-051-1/+0
| | | | | | | | | | | The Encoding key is now deprecated by the FreeDesktop standard and all strings are required to be encoded in UTF-8. This desktop entry explicitly specified an Encoding of UTF-8, which is harmless but no longer necessary. See http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html for details. Patch from Modestas Vainius. See issue #9659.
* FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic)Brad King2009-10-051-2/+3
| | | | | | | On Debian moc and uic from Qt3 have '-qt3' suffixes. The latter names might come from Qt4, so prefer the version-specific names. Patch from Modestas Vainius. See issue #9659.
* Match width of ctest "Start xx: " line to line up with the end test lineZach Mullen2009-10-053-4/+6
|
* Remove old license from FindPkgConfig.cmake moduleBrad King2009-10-051-24/+1
| | | | | | | This module was contributed under a BSD-like license. We added CMake's OSI-approved BSD License on top of it. With the author's permission, this commit removes the old license text and puts the author's copyright notice in the block referring to the new license.
* Test target link information invalidationBrad King2009-10-051-0/+5
| | | | | | | | We test this by adding export(TARGETS) to the LinkLanguage test to export the executable before the library is linked to it. Since export(TARGETS) computes the link interface of the target (so that it can export it), this ensures that the information is recomputed after the link library is added.
* Invalidate target link info when necessaryBrad King2009-10-052-0/+21
| | | | | | | | In cmTarget we compute the link implementation, link interface, and link closure structures on-demand and cache the results. This commit teaches cmTarget to invalidate results after a LINK_INTERFACE_* property changes or a new link library is added. We also clear the results at the end of the Configure step to ensure the Generate step uses up-to-date results.
* Combine duplicate code in target property methodsBrad King2009-10-052-9/+9
| | | | | | | In cmTarget::SetProperty and cmTarget::AppendProperty we check whether changing the property invalidates cached information. The check was duplicated in the two methods, so this commit moves the check into a helper method called from both.
* Create explicit cmTarget::FinishConfigure stepBrad King2009-10-053-2/+12
| | | | | | | This method is called during ConfigureFinalPass on every target. It gives each target a chance to do some final processing after it is known that no more commands will affect it. Currently we just call the old AnalyzeLibDependencies that used to be called directly.
* Remove unused cmTarget::AddLinkLibrary methodBrad King2009-10-052-15/+0
|
* KWSys Nightly Date StampKWSys Robot2009-10-051-1/+1
|
* Use new style header generation and get rid of OBJECT_DEPENDS in tutorialBill Hoffman2009-10-051-14/+5
|
* Fix issue #8649 - move the location of CPACK_NSIS_EXTRA_INSTALL_COMMANDS so ↵David Cole2009-10-041-2/+2
| | | | that it is not excluded from execution when 'Do not create shortcuts' is checked.
* fix two more warnings from icpcAlexander Neundorf2009-10-041-3/+0
| | | | | | | asfGlob and abfGlob were there since rev 1.3 of this file (Oct 17th 2004) and unused since then, so remove them Alex
* some syncing with the FindQt4.cmake from KDEAlexander Neundorf2009-10-041-13/+13
| | | | | | | | | -remove the parentheses in the if() conditions, they don't change the result, and without them these lines are identical to the ones in FindQt4.cmake from KDE -mention which qmake was used for finding Qt Alex
* Try to avoid cronic random failures on some Macs.Bill Hoffman2009-10-041-2/+13
|
* Try to avoid cronic random failures on some Macs.Bill Hoffman2009-10-041-2/+15
|
* KWSys Nightly Date StampKWSys Robot2009-10-041-1/+1
|
* -add the additional features for the dbus macros from KDE's FindQt4.cmakeAlexander Neundorf2009-10-031-7/+13
| | | | Alex
* Add a few more cases to the new StringTest for even better coverage. ↵David Cole2009-10-033-117/+184
| | | | Re-factor the scripts to make it easier to add new cases to this test. Re-factoring also enables the test driver in ExecuteScriptTests to be re-used when adding new tests in the future.
* remove unused variables, reported by icpcAlexander Neundorf2009-10-032-7/+0
| | | | Alex
* KWSys Nightly Date StampKWSys Robot2009-10-031-1/+1
|
* Fix warnings in CMake source code.David Cole2009-10-025-17/+28
|
* Correct some typos in error messages in the string command. Add a test that ↵David Cole2009-10-024-4/+210
| | | | covers more of the code implemented in cmStringCommand.cxx, especially the error handlers.
* Clarify documentation and message for CMP0012Brad King2009-10-022-7/+7
| | | | | | | This commit re-words the warning message produced for CMP0012 to avoid the word 'you' since often the person reading the message is not the author of the code. We also add an example of the bad OLD behavior to the policy documentation.
* Fix documentation of CMP0012 and CMP0013 versionsBrad King2009-10-021-4/+4
| | | | | | These policies were originally developed during the 2.7.x series and intended for 2.6.5. There was never a 2.6.5 release, so we should refer to 2.8.0 instead.
* Test INTERPROCEDURAL_OPTIMIZATION build featureBrad King2009-10-022-0/+8
| | | | | This creates an "IPO" test that builds some other tests as subdirectories while enabling INTERPROCEDURAL_OPTIMIZATION. See issue #9615.
* Create INTERPROCEDURAL_OPTIMIZATION build featureBrad King2009-10-027-3/+46
| | | | | | | | This commit creates target and directory properties to enable the Intel interprocedural optimization support on Linux. Enabling it adds the compiler option '-ipo' and uses 'xiar' to create archives. See issue #9615.
* Introduce "build feature" lookup frameworkBrad King2009-10-028-0/+89
| | | | | | | This creates cmTarget::GetFeature and cmMakefile::GetFeature methods to query "build feature" properties. These methods handle local-to-global scope and per-configuration property lookup. Specific build features will be defined later.
* Centralize language flag addition for MakefilesBrad King2009-10-024-9/+20
| | | | | | We create cmMakefileTargetGenerator::AddFeatureFlags to consolidate addition of language flags. Currently it just adds the flags from generic per-language flag variables (AddLanguageFlags).
* Fix typo in Intel xiar search codeBrad King2009-10-021-3/+3
| | | | This renames the variable '_intel_xair_hints' to '_intel_xiar_hints'.
* Document CMAKE_CURRENT_LIST_FILE more preciselyBrad King2009-10-021-1/+12
| | | | | | There is confusion whether the file "currently being processed" inside a function or macro is the file containing the definition or not. This commit explicitly describes the behavior. See issue #9646.
* Fix the documentation to say what it really does. Bug #9638Bill Hoffman2009-10-023-4/+4
|
* KWSys Nightly Date StampKWSys Robot2009-10-021-1/+1
|
* document how the minimum version can be specifiedAlexander Neundorf2009-10-011-54/+57
| | | | Alex
* Fix warnings in CMake source code. Suppress rampant warnings emanating from ↵David Cole2009-10-0110-18/+27
| | | | Qt files.
* Add documentation for Cocoa flag and move Motif under X11 flag.Clinton Stimpson2009-10-011-1/+9
|
* QtHelp depends on QtNetworkClinton Stimpson2009-10-011-1/+1
|
* Better CMake.ModulesNotice test regexBrad King2009-10-011-2/+3
| | | | | This commit updates the copyright notice regex to enforce a more strict format for contributor copyrights.
* New CMake.ModulesNotice test for copyright noticesBrad King2009-10-012-0/+46
| | | | This new test checks Modules/*.cmake for the required copyright notice.
* Add missing copyright notice to CMake.cmake moduleBrad King2009-10-011-0/+13
|
* Add alternative _UTILITY targets to all solutionsBrad King2009-10-012-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In VS 6, 7, and 7.1 solutions we implement add_dependencies(myexe mylib) # depend without linking by creating an intermediate mylib_UTILITY target with dependencies myexe -> mylib_UTILITY -> mylib to avoid linking myexe to mylib. Previously these extra targets were only added to the solution files in an ancestor directory of that defining mylib. For example, in the project: # CMakeLists.txt project(TOP) add_subdirectory(A) add_subdirectory(b) # A/CMakeLists.txt add_library(mylib ...) # B/CMakeLists.txt project(B) add_executable(myexe ...) add_dependencies(myexe mylib) the solution for TOP would have mylib_UTILITY but the solution for B would not even though it pulls in mylib through the dependency. This commit fixes solutions generated in other directories so that any solution that has mylib will get mylib_UTILITY also. See issue #9568.
* Cleanup cmGlobalGenerator::GetTargetSets methodBrad King2009-10-015-50/+35
| | | | | | This commit cleans up the declaration, definition, and invocations of the GetTargetSets method and related code. There is no change in function except to make the method virtual.
* Some bugfixes, also added public function for closer integration btwn ↵Philip Lowman2009-10-011-40/+118
| | | | | | | | | | | GoogleTest & CTest, contributed by Dan Blezek. Other minor changes: * Enhanced documentation & added examples * _INCLUDE_DIRS and _LIBRARIES was being set regardless of _FOUND * Fixed status message to include library rather than include dir * Improved detection of MSVC compiled libraries * Added a variable (GTEST_BOTH_LIBRARIES) for libgtest + libgtest_main
* KWSys Nightly Date StampKWSys Robot2009-10-011-2/+2
|
* Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile ↵David Cole2009-09-301-16/+42
| | | | generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate.
* Remove unused members of local VS 6 generatorBrad King2009-09-302-13/+1
| | | | | The commit "Use target dependency closure for VS 6 solutions" removed use of the CreatedProjectNames list, so we remove it.
* Use target dependency closure for VS 6 solutionsBrad King2009-09-301-164/+56
| | | | | | This teaches the VS 6 IDE generator to use the transitive closure of target dependencies. This re-uses much of the implementation already done for the other VS>6 generators. See issue #8223 and issue #9568.
* Move OrderedTargetDependSet into VS superclassBrad King2009-09-304-39/+39
| | | | | | We move cmGlobalVisualStudio7Generator::OrderedTargetDependSet up to cmGlobalVisualStudioGenerator so it can be re-used for other VS versions. See issue #9568.
* Improved safety and removed busy waiting from the CTestTestTimeout test.Zach Mullen2009-09-301-6/+11
|
* Fix for bug #9611, some more paths for OpenJDK.Bill Hoffman2009-09-301-1/+5
|