summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* KWSys Nightly Date StampKWSys Robot2009-09-251-1/+1
|
* Output a message in ctest when each test is startedZach Mullen2009-09-241-0/+3
|
* Removed commentZach Mullen2009-09-241-2/+0
|
* Reformat ctest -N output. Removed the "Start processing tests" message as well.Zach Mullen2009-09-242-7/+10
|
* Restore KWSys SystemTools _WIN32 state on cygwinBrad King2009-09-241-2/+5
| | | | | | | | | | | The commit "Fix KWSys SystemTools build on cygwin with -mwin32" tried to restore the state of the _WIN32 definition that was broken by the commit "Optimize KWSys SystemTools::FileExists on Windows". It did so for the case of building with -mwin32 on cygwin, but since including <windows.h> defines _WIN32, it failed for the case of not using -mwin32. This commit restores the state of _WIN32 in all cases by undefining it after including <windows.h> if it was not defined beforehand.
* KWSys Nightly Date StampKWSys Robot2009-09-241-1/+1
|
* Tests which are not run should be added to the failed test list.Zach Mullen2009-09-231-0/+1
|
* Add Xcode SYMROOT setting for custom targetsBrad King2009-09-231-3/+4
| | | | | | | | | Xcode 1.5 writes helper scripts at the projectDirPath location for targets that do not set SYMROOT. We now add SYMROOT to custom targets so that all targets set it. This prevents Xcode 1.5 from touching the source directory now that we always set projectDirPath. See issue #8481.
* Major optimization of C/C++ dependency scanning.Alexander Neundorf2009-09-238-20/+96
| | | | | | | | | | | | | | Now only the dependencies for the file where the dependencies actually may have changed are rescanned, before that this was done for all source files even if only one source file had changed. This reduces e.g. on my machine the time for scanning the dependencies of kdelibs/khtml/ when only one file (khtml_global.cpp) has changed from around 7.5 seconds to 1.2 seconds. The tests succeed, it does what I expected it to do on kdelibs, and Brad also reviewed the patch, so I think it should be ok. Alex
* fix compile warningsClinton Stimpson2009-09-233-32/+36
|