summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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-021-4/+4
| | | | 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.
* Create INTERPROCEDURAL_OPTIMIZATION build featureBrad King2009-10-024-0/+37
| | | | | | | | 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).
* 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.
* KWSys Nightly Date StampKWSys Robot2009-10-021-1/+1
|
* Fix warnings in CMake source code. Suppress rampant warnings emanating from ↵David Cole2009-10-019-18/+26
| | | | Qt files.
* 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.
* KWSys Nightly Date StampKWSys Robot2009-10-011-2/+2
|
* 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.
* Fix get_filename_component() registry viewBrad King2009-09-301-1/+21
| | | | | | | Some find-modules use get_filename_component() to expand registry values. We need to look in both the 32-bit and 64-bit registry views when expanding values. We prefer the one that the target application would see. See issue #8792.
* Create cmMakefile::PlatformIs64Bit helper methodBrad King2009-09-304-15/+19
| | | | This method centralizes tests for whether CMAKE_SIZEOF_VOID_P is 8.
* Fix warnings in CMake source code.David Cole2009-09-301-5/+3
|
* Fix warnings in CMake source code.David Cole2009-09-301-1/+1
|
* Fix warnings in CMake source code. Suppress warnings in Lexer and Parser ↵David Cole2009-09-306-10/+17
| | | | files that are 'too hard' to fix.
* Fix module definition file reference for VS6 NMakeBrad King2009-09-301-4/+4
| | | | | | When building through NMake with VS 6, the module definition file must be passed without spaces in the path. This is because 'cl -link' does not escape the spaces when passing the value on to the linker.
* Fix default install prefix on HaikuBrad King2009-09-302-0/+31
| | | | | | | | Since Haiku does not have /usr (and therefore /usr/local), this commit changes the default install prefix to the equivalent directory of /boot/common. See issue #9607.
* KWSys Nightly Date StampKWSys Robot2009-09-301-1/+1
|
* Fix use of module .def files for MS toolsBrad King2009-09-297-45/+51
| | | | | | | We recognize .def source files and map them to the /DEF:<file> option in the MSVC tools. Previously this worked only for shared libraries. This commit cleans up the implementation and makes it work for executables too. See issue #9613.
* Do not parse preprocessor defs for VS 10 link/libBrad King2009-09-291-8/+8
| | | | | | | When constructing cmVisualStudioGeneratorOptions to parse options for tools 'link' and 'lib' the tool type is now Linker, not Compiler. This tells it not to recognize flags starting in '/D' as preprocessor macros, such as the '/DEF:<file>' linker option. See issue #9613.
* Add StringProperty options for VS 10 flag tableBrad King2009-09-293-0/+110
| | | | | | | | | | | The commit "cmparseMSBuildXML should output StringProperty values too" fixed the script that generated Source/cmVS10CLFlagTable.h Source/cmVS10LibFlagTable.h Source/cmVS10LinkFlagTable.h This commit updates the files with the new output.
* BUG: cmparseMSBuildXML should output StringProperty values tooZack Galbreath2009-09-291-0/+7
|
* BUG: CTest should honor test timeouts.Zach Mullen2009-09-291-0/+2
|
* BUG: 0009612: --output-on-failure option doesn't work with the new parallel ↵Zach Mullen2009-09-291-0/+10
| | | | CTest handler
* Qualify std::map compare functor as constBrad King2009-09-292-2/+2
| | | | | | | Some older STL implementations invoke the comparison functor as a const object, so the function call operator must be 'const' qualified. This fixes the commit "Fix support for OLD behavior of policy CMP0002" to compile on older STLs.
* KWSys Nightly Date StampKWSys Robot2009-09-291-1/+1
|
* Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613Bill Hoffman2009-09-291-0/+6
|
* Fix support for OLD behavior of policy CMP0002Brad King2009-09-282-4/+21
| | | | | | | | | The commit "Cleanup make progress rule generation code" introduced a map from target name to the progress.make file location. Policy CMP0002's OLD behavior allows duplicate target names in different directories, so only one ends up with a progress.make file. This commit fixes the map to order by target name first and build directory second, restoring support for duplicate target names.
* Fix issue #8818 - escape quotes in the license file when using the DragNDrop ↵David Cole2009-09-281-0/+7
| | | | cpack generator. Thanks to Clinton Stimpson for the patch.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-28599-8413/+5460
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-2878-773/+742
| | | | | | | This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
* Install KWSys Copyright.txt as documentationBrad King2009-09-281-0/+18
| | | | | | | | | | | | This commit adds KWSys configuration option KWSYS_INSTALL_DOC_DIR to specify the directory for installation of documentation. We use it to put the KWSys Copyright.txt file at the location ${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}/Copyright.txt in the project installation tree. This helps containing projects meet the license requirement to distribute the copyright and license with binary forms.
* Fix .vfproj file version for Intel Fortran 10.1Brad King2009-09-281-0/+6
| | | | | | | The commit "Generate proper Intel Fortran project version" replaced the hard-coded 9.10 value with a runtime registry lookup of the real version. Version 10.1 actually uses project file format 9.10, so this commit switches it back for that version. See issue #9169.
* Use BeAPI for per-user package registry on HaikuBrad King2009-09-282-0/+27
| | | | | | | | Applications on Haiku are discouraged from storing their data in $HOME. This teaches export(PACKAGE) and find_package() to use the BeAPI on Haiku to store the package registry instead of using ~/.cmake/packages. See issue #9603.
* KWSys Nightly Date StampKWSys Robot2009-09-281-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-09-271-1/+1
|
* Fix bug #9529.Alexander Neundorf2009-09-261-2/+23
| | | | | | | | Set the working_dir entry in the codeblocks project file of executable targets to the directory where the executable is created. Then when running CB, executing the target (not building), will run it from that directory. Alex
* KWSys Nightly Date StampKWSys Robot2009-09-261-1/+1
|
* Fix CMake Internal Error from cmTarget::GetOutputInfo - triggered by calling ↵David Cole2009-09-252-13/+22
| | | | GetLocation on a utility target - caused by custom command output file with same name as custom target. The fix is to avoid calling GetLocation unless the target is of a type that is expected to have a location...
* Policies 14 and 15 will be first released in 2.8.0Brad King2009-09-251-2/+2
| | | | | | | CMake policies CMP0014 and CMP0015 were implemented in the development series version 2.7.x but will be first released in 2.8.0. Now that the development version number is higher than that (2.9.x) we can update their version of introduction to the actual release number.
* Document full version number with policy defaultBrad King2009-09-251-2/+1
| | | | | | In CMake Policy documentation we specify the default behavior for the current version of CMake. This commit fixes that version by reporting the full version number instead of just major and minor.
* Fixed uninitialized memory issue in ctest show-only modeZach Mullen2009-09-251-0/+1
|
* Avoid word 'Copyright' in KWSys MD5 encode testBrad King2009-09-251-3/+3
| | | | | We replace the test text in the kwsys.testEncode test to avoid the word 'Copyright'. This simplifies grep results for Copyright verification.