summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add additional architectures to CMakePlatformId.h.inPatrick Gansterer2012-09-051-0/+6
| | | | Detect the MIPS and SHx architecture for MSVC compiler.
* CMake Nightly Date StampKitware Robot2012-09-041-1/+1
|
* CMake Nightly Date StampKitware Robot2012-09-031-1/+1
|
* CMake Nightly Date StampKitware Robot2012-09-021-1/+1
|
* CMake Nightly Date StampKitware Robot2012-09-011-1/+1
|
* Merge topic 'msvc-compiler-info'Brad King2012-08-312-2/+13
|\ | | | | | | | | 16fa7b7 VS: Fix MSVC_IDE definition recently broken by refactoring
| * VS: Fix MSVC_IDE definition recently broken by refactoringBrad King2012-08-302-2/+13
| | | | | | | | | | | | In commit 485a940e (VS: Simplify MSVC version reporting, 2012-08-23) we accidentally flipped the 0/1 values of MSVC_IDE. Flip them back and teach the CheckCompilerRelatedVariables test to check the variable.
* | CMake Nightly Date StampKitware Robot2012-08-311-1/+1
| |
* | Merge topic 'fix-Qt-casing'Brad King2012-08-309-27/+27
|\ \ | | | | | | | | | | | | 3252149 Fix casing of 'Qt' in docs, comments and user-visible strings.
| * | Fix casing of 'Qt' in docs, comments and user-visible strings.Stephen Kelly2012-08-289-27/+27
| | | | | | | | | | | | | | | QT (cue-tea) is Apple QuickTime. Qt (cute) is the C++ framework.
* | | Merge topic 'AutomocRerunFix'Brad King2012-08-302-6/+28
|\ \ \ | | | | | | | | | | | | | | | | b001b6e fix #13494: rerun automoc also if include dirs or moc options change
| * | | fix #13494: rerun automoc also if include dirs or moc options changeAlex Neundorf2012-08-272-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now it was only rerun if the compile definitions changed, but of course it also has to rerun if the include dirs or moc options change. Strange that I didn't notice this before... Alex
* | | | Merge topic 'mingw-unix-generator'Brad King2012-08-301-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | be9afbf Find mingw's windres also when Unix Makefiles are used
| * | | | Find mingw's windres also when Unix Makefiles are usedPeter Kümmel2012-08-271-0/+4
| | |/ / | |/| |
* | | | Merge topic 'cmcldeps-icl'Brad King2012-08-301-7/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 0af27f1 Ninja: also detect /showInclude prefix for icl
| * | | | Ninja: also detect /showInclude prefix for iclPeter Kümmel2012-08-271-7/+4
| |/ / /
* | | | Merge topic 'qt4-windows8'Brad King2012-08-301-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | caa9151 Fix errors detecting Qt4 on Windows 8.
| * | | | Fix errors detecting Qt4 on Windows 8.Clinton Stimpson2012-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | Thanks to Petr Baloun for the patch.
* | | | | Merge topic 'ErrorIfCTEST_USE_LAUNCHERSSetButLauncherRuleNotSet'Brad King2012-08-301-0/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 95e502e error out if CTEST_USE_LAUNCHERS is TRUE but RULE_LAUNCH_* are not set
| * | | | | error out if CTEST_USE_LAUNCHERS is TRUE but RULE_LAUNCH_* are not setAlex Neundorf2012-08-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, CTEST_USE_LAUNCHERS can be set to true in a driving ctest script, and everything looks like it would work and reports 0 build errors, but actually there can be any amount of errors and they are just not reported. By adding this check cmake now errors out if CTEST_USE_LAUNCHERS is enabled, but the RULE properties are not set, which would lead to a not-working ctest run. Alex
* | | | | | Merge topic 'msvc-compiler-info'Brad King2012-08-3020-364/+209
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32b7c72 Merge branch 'cmake-platform-info-version' into msvc-compiler-info f3ddfef Modernize MSVC compiler information files 485a940 VS: Simplify MSVC version reporting 32db033 VS: Remove support for "free" version 2003 tools
| * | | | | Merge branch 'cmake-platform-info-version' into msvc-compiler-infoBrad King2012-08-3022-98/+127
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Modules/CMakeTestCCompiler.cmake Modules/CMakeTestCXXCompiler.cmake Modules/Platform/Windows-cl.cmake
| * | | | | | Modernize MSVC compiler information filesBrad King2012-08-304-99/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the old-style "Windows-cl.cmake" and its helper "cl.cmake". Load the information through new-style "Platform/Windows-MSVC-<lang>.cmake" files. Factor information common to C and CXX into a helper file "Platform/Windows-MSVC.cmake" loaded from the per-language files.
| * | | | | | VS: Simplify MSVC version reportingBrad King2012-08-3014-124/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach Windows-cl.cmake to use CMAKE_(C|CXX)_COMPILER_VERSION to set the "MSVC##" and MSVC_VERSION variables. It no longer needs the IDE generator to dictate the version or to detect the version by running the command-line tool for NMake and Ninja generators. Drop configuration of CMakeCPlatform.cmake and CMakeCXXPlatform.cmake from Windows-cl.cmake.in because all the results it saved are now cheap to compute every time.
| * | | | | | VS: Remove support for "free" version 2003 toolsBrad King2012-08-234-66/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several more recent Visual Studio Express editions are now available and they support debug builds. Simplify our VS platform files by removing support for these old tools. If anyone still uses them we can restore support with a more modern way to test for them.
* | | | | | | Merge topic 'cmake-platform-info-version'Brad King2012-08-3023-111/+147
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5fee8a Store ABI detection results in compiler information files 3df81b4 Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files 7195aca Make platform information files specific to the CMake version
| * | | | | | | Store ABI detection results in compiler information filesBrad King2012-08-244-3/+10
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop use of cache entry CMAKE_DETERMINE_<LANG>_ABI_COMPILED and replace it with variable CMAKE_<LANG>_ABI_COMPILED. Since the grandparent commit this test result is specific to the version of CMake. Store it in the version-specific compiler information files instead of CMakeCache.txt so testing can be re-done to meet the requirements of the current version of CMake even if another version of CMake was already used to configure the build tree.
| * | | | | | Move CMAKE_<LANG>_COMPILER_WORKS to compiler information filesBrad King2012-08-247-72/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the parent commit this test result is specific to the version of CMake. Store it in the version-specific compiler information files instead of CMakeCache.txt so testing can be re-done to meet the requirements of the current version of CMake even if another version of CMake was already used to configure the build tree.
| * | | | | | Make platform information files specific to the CMake versionBrad King2012-08-2419-42/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the top of a build tree we configure inside the CMakeFiles directory files such as "CMakeSystem.cmake" and "CMake<lang>Compiler.cmake" to save information detected about the system and compilers in use. The method of detection and the exact results store varies across CMake versions as things improve. This leads to problems when loading files configured by a different version of CMake. Previously we ignored such existing files only if the major.minor part of the CMake version component changed, and depended on the CMakeCache.txt to tell us the last version of CMake that wrote the files. This led to problems if the user deletes the CMakeCache.txt or we add required information to the files in a patch-level release of CMake (still a "feature point" release by modern CMake versioning convention). Ensure that we always have version-consistent platform information files by storing them in a subdirectory named with the CMake version. Every version of CMake will do its own system and compiler identification checks even when a build tree has already been configured by another version of CMake. Stored results will not clobber those from other versions of CMake which may be run again on the same tree in the future. Loaded results will match what the system and language modules expect. Rename the undocumented variable CMAKE_PLATFORM_ROOT_BIN to CMAKE_PLATFORM_INFO_DIR to clarify its purpose. The new variable points at the version-specific directory while the old variable did not.
* | | | | | | CMake Nightly Date StampKitware Robot2012-08-301-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2012-08-291-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2012-08-281-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2012-08-271-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2012-08-261-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2012-08-251-1/+1
| | | | | |
* | | | | | Merge topic 'ide-compiler-id'David Cole2012-08-2418-252/+961
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 403ead6 Document CMAKE_<LANG>_COMPILER_(ID|VERSION) values 8be51f6 Test variables CMAKE_(C|CXX|Fortran)_COMPILER(|_ID|_VERSION) ec22a9b Cleanly enable a language in multiple subdirectories 66cb335 VS: Detect the compiler id and tool location 89595d6 VS10: Define CMAKE_VS_PLATFORM_TOOLSET variable 965a69d Xcode: Detect the compiler id and tool location 9a9e1ee CMakeDetermineCompilerId: Prepare to detect IDE compiler id b8b5c83 Re-order C/C++/Fortran compiler determination logic
| * | | | | Document CMAKE_<LANG>_COMPILER_(ID|VERSION) valuesBrad King2012-08-221-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These values are now available almost everywhere and are tested. Document them for general use and list possible ID values.
| * | | | | Test variables CMAKE_(C|CXX|Fortran)_COMPILER(|_ID|_VERSION)Brad King2012-08-224-0/+56
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Add tests CMakeOnly.CompilerId(C|CXX|Fortran) to check that the basic compiler tool path, vendor, and version variables have been set as expected.
| * | | | Cleanly enable a language in multiple subdirectoriesBrad King2012-08-221-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a language is not enabled at the top level of a project but is enabled in multiple disjoint subdirectories we should re-use the CMake<lang>Compiler.cmake file from the first directory. Load the file whenever it exists and is not left from a different version of CMake.
| * | | | VS: Detect the compiler id and tool locationBrad King2012-08-226-9/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure a hand-generated Visual Studio project to build the compiler id source file since we cannot run the compiler command-line tool directly. Add a post-build command to print out the full path to the compiler tool. Parse the full path to the compiler tool from the build output.
| * | | | VS10: Define CMAKE_VS_PLATFORM_TOOLSET variableBrad King2012-08-223-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | When the VS 10 generator selects a non-default PlatformToolset to specify for MSBuild, report the selected name in this variable.
| * | | | Xcode: Detect the compiler id and tool locationBrad King2012-08-227-1/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure a hand-generated Xcode project to build the compiler id source file since we cannot run the compiler command-line tool directly. Add a post-build shell script phase to print out the compiler toolset build setting. Run xcodebuild to compile the identification binary. Parse the full path to the compiler tool from the xcodebuild output.
| * | | | CMakeDetermineCompilerId: Prepare to detect IDE compiler idBrad King2012-08-221-27/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach CMAKE_DETERMINE_COMPILER_ID to check for variable CMAKE_${lang}_COMPILER_ID_TOOL after CMAKE_DETERMINE_COMPILER_ID_BUILD to use as CMAKE_${lang}_COMPILER since it will not be known until after the IDE runs. In CMAKE_DETERMINE_COMPILER_ID_BUILD prepare a cascading "if" so we can use a generator-specific method to compile the identification source file. Leave "if(0)" as a placeholder for now and put the direct compiler invocation in "else()". After running the compiler to build the compiler identification source we file(GLOB) the list of output files as candidates for extracting the compiler information. An IDE may create directories, so exclude exclude directories from this list.
| * | | | Re-order C/C++/Fortran compiler determination logicBrad King2012-08-223-216/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-organize CMakeDetermine(C|CXX|Fortran)Compiler.cmake to search for the compiler command-line tool only under generators for which it makes sense. For the Visual Studio generators we do not expect to find the compiler tool from the environment, nor would we use the result anyway. Furthermore, set CMAKE_${lang}_COMPILER_ID_TEST_FLAGS only when it has a chance to be used. Extract _CMAKE_TOOLCHAIN_LOCATION from the compiler path after running the compiler id step so in the future that step can help find the path to the compiler.
* | | | | Merge topic 'vs-AddPlatformDefinitions-cleanup'David Cole2012-08-2421-78/+43
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | 2c7a451 VS: Cleanup AddPlatformDefinitions() of Visual Studio generators
| * | | | VS: Cleanup AddPlatformDefinitions() of Visual Studio generatorsPatrick Gansterer2012-08-2221-78/+43
| | | | | | | | | | | | | | | | | | | | | | | | | Move adding of definitions into cmGlobalVisualStudioGenerator to share code and avoid duplicate architecture string literals.
* | | | | Merge topic 'more-compiler-versions'David Cole2012-08-242-6/+57
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e9bc502 Detect Analog VisualDSP++ compiler version with its id cca386b Detect Cray compiler version with its id 622d9a7 Detect SDCC compiler version with its id 4ad7fa6 Detect Comeau compiler version with its id 952651c Detect TI compiler version with its id 74c57d9 Detect PathScale compiler version with its id 707aefd Detect Compaq compiler version with its id
| * | | | | Detect Analog VisualDSP++ compiler version with its idBrad King2012-08-222-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decode hex digits from __VISUALDSPVERSION__ to compute the version number components. Note that the constant encodes decimal digits as hex digits (never larger than 9). We represent them as decimal after extraction. See documentation at: http://download.analog.com/dsp/tools/VisualDSP_45_Update_6_Release_Note_v4.pdf http://www.analog.com/static/imported-files/software_manuals/50_asm_man.rev3.1.pdf Note that __VISUALDSPVERSION__ was introduced in version 4.5.6.
| * | | | | Detect Cray compiler version with its idBrad King2012-08-222-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decode decimal digits from _RELEASE _RELEASE_MINOR to compute version number components. See documentation at: http://docs.cray.com/books/S-2179-52/html-S-2179-52/zfixed5fvzxnxo.html http://sourceforge.net/p/predef/wiki/Compilers/#cray-c
| * | | | | Detect SDCC compiler version with its idBrad King2012-08-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decode decimal digits from SDCC to compute version number components. See documentation at: http://sdcc.sourceforge.net/doc/sdccman.pdf http://sourceforge.net/p/predef/wiki/Compilers/#small-device-c-compilerhttpenwikipediaorgwikismall_device_c_compiler