https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
cabca8d Disable test as it fails on every system. 20 September 2009, 13:42:09 UTC
42618d5 Improve readability 20 September 2009, 12:03:45 UTC
2396ff9 KWSys Nightly Date Stamp 20 September 2009, 04:01:18 UTC
864e267 Minor optimization in dependency checking. When reading the depend.internal file, check only once for every depender whether it exists, instead of repeatedly in a loop for each dependee. Within that function it can only change of the depender is removed. This is taken care of. This reduces the number of access() calls in kdelibs/khtml from 180000 to 90000 (i.e. 50%), and reduces the time for that (without the actual scanning) from 0.3 s to 0.21 s on my system. Alex 19 September 2009, 17:02:12 UTC
d4cfb77 Remove cmGlobalXCode21Generator subclass This subclass of cmGlobalXCodeGenerator only provided two virtual method overrides, and it made construction of the Xcode generator instance complicated. This commit removes it and replaces the virtual methods with tests of the Xcode version. The change removes duplicate code. 19 September 2009, 16:00:09 UTC
180c60a Fix check for -isysroot on OS X Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMake<LANG>Compiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly. 19 September 2009, 14:14:31 UTC
196d9a5 The preprocessing and assembly rules also need the <DEFINES>, otherwise different reults are created. Alex 19 September 2009, 08:33:10 UTC
5ea5ca3 KWSys Nightly Date Stamp 19 September 2009, 04:01:41 UTC
e7d7586 Only do the OSX arch stuff on OSX. 18 September 2009, 19:16:33 UTC
7b0e7f7 Disabling CTestTestNoBuild pending investigation of odd g++ output issues. 18 September 2009, 19:01:13 UTC
58818d5 Add detection of gcc versions that do not support isysroot option and do not use it for them. 18 September 2009, 18:22:20 UTC
3c32c90 Apparently, on FarAway the presence of errors during ctest_build does not cause the calling ctest to return an error condition. 18 September 2009, 18:02:14 UTC
a35f11b Cosmetic change to test CMakeLists 18 September 2009, 17:34:24 UTC
cba1dd5 Better error message tells user possible ways to resolve the error. 18 September 2009, 16:56:49 UTC
78e0bfa Added test coverage for ctest. Covers WILL_FAIL condition, tests that do not build, tests that segfault, and test executable not found (bad command), as well as some pass and fail regular expressions. 18 September 2009, 16:16:46 UTC
311eb30 Fix the build for version 2.5 of Xcode. 18 September 2009, 14:28:28 UTC
997ae66 Fix CHECK_(C|CXX)_COMPILER_FLAG macro test The flag "-_this_is_not_a_flag_" was not rejected by GCC 4.0 on older Mac OS X. We now use "---_this_is_not_a_flag_" instead, which will hopefully be rejected by all compilers. 18 September 2009, 13:49:51 UTC
83957d9 Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunPro These compilers warn and return 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. We also update the regex for GNU on older Macs. See issue #9516. 18 September 2009, 13:49:44 UTC
b872d09 KWSys Nightly Date Stamp 18 September 2009, 04:01:06 UTC
53fb07e Fix CHECK_(C|CXX)_COMPILER_FLAG for HP This compiler warns and returns 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. See issue #9516. 17 September 2009, 21:16:43 UTC
6362d4c Fix case where no archs are found on older macs. 17 September 2009, 20:09:52 UTC
42857c7 Test CHECK_(C|CXX)_COMPILER_FLAG macros This teaches the TryCompile test to check that the compiler flag check macros correctly reject a bad flag. See issue #9516. 17 September 2009, 19:33:12 UTC
7e3d437 Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVC These compilers warn and return 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. See issue #9516. 17 September 2009, 19:32:54 UTC
ca76645 Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILES This teaches the CHECK_C_SOURCE_COMPILES and CHECK_CXX_SOURCE_COMPILES macros to recognize a FAIL_REGEX option. If they see the regular expression in the output of the test compilation, the check fails. 17 September 2009, 19:29:01 UTC
80af3ae Cleanup generic compiler check macro documentation This commit improves formatting and style of the documentation for the general-purpose compiler check macros: CHECK_C_COMPILER_FLAG CHECK_C_SOURCE_COMPILES CHECK_C_SOURCE_RUNS CHECK_CXX_COMPILER_FLAG CHECK_CXX_SOURCE_COMPILES CHECK_CXX_SOURCE_RUNS This sytle is more consistent with CMake command documentation. It also looks nicer in the generated documentation text files. 17 September 2009, 19:28:51 UTC
308e972 The check for include dirs and builtin macros also works with the Intel compiler Alex 17 September 2009, 17:08:35 UTC
ea28228 Fix for bug #9466. Change the implementation of OSX arch lists. If no ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT. 17 September 2009, 15:53:02 UTC
8e8c9b7 Bug #9430, recognize the FR flag 17 September 2009, 13:18:21 UTC
c87a35a Do not call CollapseFullPath for PDB file names Some vendor tools convert PDB file names given on the command line to lower-case before creating the file. When CMake places a mixed-case PDB file name into the build system, the file does not exist the first time and it is written with mixed case. After the first build though the native tool has created a lower-case version of the file. If CMake does CollapseFullPath again, the file exists so the actual-case lookup gets the lower-case name. This causes the build files to change so the project rebuilds. The solution is to avoid calling CollapseFullPath for files generated by the build. In the case of PDB files we already construct them from paths that have been collapsed, so we can just skip the call altogether. See issue #9350. 17 September 2009, 12:42:31 UTC
ef84342 Remove old check for duplicate subdirectories In cmMakefile::AddSubDirectory we were checking for addition of the same source directory multiple times. However, the check code was incorrect because it compared pointers instetad of pointed-to strings. Since the check was written, a better check was added right after it to enforce unique binary directories (in which case duplicate sources are fine). This commit simply removes the old-style check code. 17 September 2009, 12:25:33 UTC
ab64fba KWSys Nightly Date Stamp 17 September 2009, 04:01:03 UTC
bf9a561 Fix typo in name 17 September 2009, 01:02:57 UTC
298de43 Major improvement of the generated targets in Eclipse. Before this change all targets were displayed in the top level directory of the project. Now the targets are displayed in the correct directory. The targets "clean" and "all" are now created in every subdirectory. Also now the targets for just compiling one file, preprocessing one file, assembling one file are are created for Eclipse. Additionally all targets get a prefix now in eclipse, so that they are sorted in a way which makes sense (global targets first, then executable and libraries, then object files, then preprocessed, then assembly). Also this prefix gives the user a hint what the target is, i.e. whether it's a library or an executable or something else. Alex 16 September 2009, 22:01:23 UTC
229b67a Create CMake.ConfigureFile test for configure_file This test checks that configure_file() handles input and output file arguments as documented. 16 September 2009, 19:09:58 UTC
6e8aeba Teach configure_file to handle directory names This commit teaches configure_file how to handle directories for input and output. It is an error if the input is a directory. If the output is a directory we put the configured copy of the input file in it with the same name. See issue #9537. 16 September 2009, 19:09:42 UTC
700cdf3 Teach configure_file to handle relative paths The configure_file() command now converts relative output paths to full paths using the current binary directory. Input relative paths were already converted using the current source directory, but this behavior was not previously documented. 16 September 2009, 19:09:29 UTC
dda0da8 Fix typo in cmConfigureFileCommand ivar name Rename 'OuputFile' to 'OutputFile'. 16 September 2009, 19:09:19 UTC
d23d268 Factor out CMake.File test result check for re-use The CMake.File test runs several scripts through "cmake -P" and checks the output and result against known good values. This commit factors out the checking code into a separate CMakeCheckTest module. The module may be used by new tests. 16 September 2009, 19:09:10 UTC
9d967ed Put compiler defined macros into eclipse project files Now gcc is queried also for the builtin definitions, and they are then added to the .cproject file. This should make the preprocessor highlighting in eclipse work better (#9272) Patch mostly from Miguel. Alex 16 September 2009, 18:37:21 UTC
72f524e Bug #09476, add more search paths for jni. 16 September 2009, 18:20:20 UTC
0b937cc Fix for bug#9553, print a warning if pkg-config is not found. 16 September 2009, 16:40:37 UTC
b5e558e Fix XL C++ compiler flags on Linux In Platform/Linux.cmake we add GNU flags as default for the platform which breaks non-GNU compilers. Later we should refactor these flag files to put compiler-specific flags only in files loaded for each compiler. Until then this commit fixes the XL C++ compiler flags on Linux by erasing the GNU flags. See issue #9469. 16 September 2009, 16:33:24 UTC
932dac9 Fix uninitialized errors. 16 September 2009, 15:49:09 UTC
2006e4a Generate proper Intel Fortran project version The Intel Visual Fortran compiler plugin for MS Visual Studio may be one of several versions of the Intel compiler. This commit teaches CMake to detect the plugin version and set the version number in .vfproj files. See issue #9169. 16 September 2009, 15:44:50 UTC
09e398f Create VS generator GetRegistryBase method This method returns the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\<version> A protected GetIDEVersion method retrieves the version-specific part of the key name. 16 September 2009, 15:44:08 UTC
33207a9 Test add_subdirectory inside function This commit teaches the FunctionTest to check variable scope behavior when a subdirectory is added inside a function call. Any PARENT_SCOPE sets in the subdirectory should affect only the function scope which called add_subdirectory and not its parent scope. 16 September 2009, 13:52:04 UTC
2486145 Initialize directory scope with closure of parent The commit "Improve dynamic variable scope implementation" optimized function scopes using an efficient parent scope pointer. However, the parent scope used to initialize a new directory might not exist later (like add_subdirectory called inside a function of the parent scope). This caused CMake to crash when following the dangling pointer to the original parent scope. We fix the problem in this commit by always computing the closure of the parent scope at directory initialization time so that no parent scope pointer is needed. See issue #9538. 16 September 2009, 13:51:47 UTC
2c8e929 KWSys Nightly Date Stamp 16 September 2009, 04:01:21 UTC
eaaf71d Initial version of FindCUDA script. Still needs documentation formatting. 15 September 2009, 06:38:20 UTC
842098d KWSys Nightly Date Stamp 15 September 2009, 04:01:03 UTC
77dfbd4 Fix for bug #8969, pick a better default version for VS, and make it easier to add new versions of VS to look for. 15 September 2009, 02:16:43 UTC
899f11f Fix for bug# 5373, include CMake verison in generated docs. 15 September 2009, 00:54:22 UTC
72f32c2 fix #9152: find ZLIB quietly if PNG is searched QUIETLY Alex 14 September 2009, 19:53:07 UTC
0a8532c Bug #8356, add support for image types in Xcode files. 14 September 2009, 19:20:15 UTC
324f51c Fix for bug #8807, add support for CMAKE_EXE_LINKER_FLAGS_(config) to Xcode generator. 14 September 2009, 18:59:28 UTC
c83591e Fix for Bug #9190, -U did not work on case insensitive file systems because of call to glob convert to regex that expected to work with files. 14 September 2009, 17:45:40 UTC
14715ce Clarify documentation for if. 14 September 2009, 17:42:04 UTC
243bbae Removed fork-and-continue option from ctest generated batch script entries 14 September 2009, 15:23:20 UTC
6a9a958 Fix open solaris build issue with concept checking that breaks std vector for a class of itself. Bug #9523. 14 September 2009, 14:31:38 UTC
da29eb8 Change FindPythonLibs to use the standard _DIR instead of _PATH but stay backwards compatible 14 September 2009, 13:34:57 UTC
c32ad6c KWSys Nightly Date Stamp 14 September 2009, 04:01:10 UTC
ab3d48a KWSys Nightly Date Stamp 13 September 2009, 04:01:03 UTC
bcbb462 Avoid shadowing std::vector member The cmProcess::Buffer class derives from std::vector. We were using local variable 'data' in the GetLine method but this name shadowed a member of vector with GNU. This renames it to 'text'. 12 September 2009, 14:20:00 UTC
cde1005 major improvement of FindRuby.cmake -now supports specifying minimum required version -now supports ruby 1.8 and 1.9 -uses find_package_handle_standard_args() now -fix #6212 and using a lot of ideas from the file attached there Alex 12 September 2009, 10:25:58 UTC
ea46c6e use HINTS instead of PATHS and also look for libruby-static.a (which is built by default) Alex 12 September 2009, 08:38:11 UTC
c6a1037 Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed Alex 12 September 2009, 06:15:30 UTC
054be74 KWSys Nightly Date Stamp 12 September 2009, 04:01:03 UTC
63a7d85 Fix for bug#9442, ctest crash if CTEST_SOURCE_DIRECTORY was not set. 11 September 2009, 21:15:02 UTC
2541f30 Test that CTest can handle missing newlines We create test 'CTest.NoNewline' to print output with no newline. This tests CTest's ability to handle a missing newline. 11 September 2009, 20:39:07 UTC
8c24c1d Fix new CTest output handling for no newline When we clear the buffer for an output pipe after returning the last partial line (without a newline) we need to set the partial line range to empty. Otherwise the buffer object is left in an inconsistent state. 11 September 2009, 20:20:24 UTC
8a69028 Add label summary times to ctest default output. Also, remove parallel time output. Add flag to disable label summary. 11 September 2009, 17:34:35 UTC
6a7eae7 Rewrite CTest child output handling This commit fixes cmCTestRunTest and cmProcess to more efficiently handle child output. We now use the buffer for each child output pipe to hold at most a partial line plus one new block of data at a time. All complete lines are scanned in-place, and then only the partial line at the end of the buffer is moved back to the beginning before appending new data. We also simplify the cmProcess interface by making GetNextOutputLine the only method that needs to be called while the process is running. This simplifies cmCTestRunTest so that CheckOutput can be called until it returns false when the process is done. 11 September 2009, 16:26:41 UTC
b6c26cd Initialize cmCTestRunTest instances robustly All instances of this class need a cmCTestTestHandler, so we now require one to construct it. The instance also provides the cmCTest instance too. 11 September 2009, 14:09:48 UTC
74b79d3 Remove barely-used cmCacheManager::AddCacheEntry The commit "Remove barely-used cmMakefile::AddCacheDefinition" removed all but one use of the cmCacheManager method 'bool' overload. This commit removes the other use and the entire method, thus reducing code duplication. 11 September 2009, 14:04:10 UTC
7a409fd Fix option() interpretation of non-boolean values The commit "Remove barely-used cmMakefile::AddCacheDefinition" broke option() calls that pass a non-boolean default value. We restore the old behavior by always coercing the value to 'ON' or 'OFF'. 11 September 2009, 14:03:59 UTC
b41a548 Add parentheses around '&&' between '||' for gcc The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order. 11 September 2009, 12:18:15 UTC
e0df049 KWSys Nightly Date Stamp 11 September 2009, 04:01:04 UTC
ee2b446 Create CMake Policy CMP0015 to fix set(CACHE) The set(CACHE) and option() commands should always expose the cache value. Previously we failed to expose the value when it was already set if a local variable definition hid it. When set to NEW, this policy tells the commands to always remove the local variable definition to expose the cache value. See issue #9008. 10 September 2009, 20:59:45 UTC
afbe088 Remove barely-used cmMakefile::AddCacheDefinition The boolean overload of this method was used only to implement option(). We re-implement option() in terms of the main method and removes the now-unused signature. This removes some duplicate code that had already fallen behind on changes (it was not removing the local definition instead of setting it). 10 September 2009, 20:59:36 UTC
6097c04 sync target generation with the CodeBlocks generator Basically the code is now a copy of the one from the CodeBlocks generator, maybe this could move into a common helper function somewhere: -only insert GLOBAL targets from the toplevel directory -don't insert the edit_cache target if it calls ccmake, since this doesn't work in the output tab of Eclipse -add the /fast targets Alex 10 September 2009, 17:49:51 UTC
10f39d8 As in the Eclipse generator: don't insert the edit_cache target if it is ccmake, since this doesn't work in the output tab of the IDE 10 September 2009, 17:44:02 UTC
c57fb18 Added some ctest batch capabilities 10 September 2009, 15:18:05 UTC
4b4e801 BUG: Fixed segfault and bad reporting if a ctest executable could not be found. Also added some batch testing code that is not yet complete. 10 September 2009, 15:16:08 UTC
55e4ac5 KWSys Nightly Date Stamp 10 September 2009, 04:01:03 UTC
14b12d0 Enable C and C++ first in Fortran test CMake now looks for a Fortran compiler matching any C or C++ compiler already enabled. We test this by enabling C and C++ first in the Fortran test, which is what user projects will likely do. 09 September 2009, 20:39:53 UTC
4debb7a Bias Fortran compiler search with C/C++ compilers When CMAKE_Fortran_COMPILER and ENV{FC} are not defined CMake searches for an available Fortran compiler. This commit teaches the search code to look for compiler executables next to the C and C++ compilers if they are already found. Furthermore, we bias the compiler executable name preference order based on the vendor of the C and C++ compilers, which increases the chance of finding a compatible compiler by default. 09 September 2009, 20:39:47 UTC
4678c61 KWSys Nightly Date Stamp 09 September 2009, 04:01:05 UTC
6149e8f Missed another CMAKE_CFG_INTDIR reference in the previously previous commit. 08 September 2009, 21:28:49 UTC
a516040 ENH: ctest now writes time cost data to a file after a test set is run, and uses these time costs to schedule the processes the next time ctest is run in that build tree. 08 September 2009, 21:10:35 UTC
8833385 Missed a CMAKE_CFG_INTDIR reference in the previous commit. 08 September 2009, 20:11:19 UTC
fd47a2a Drop old CMake "build settings" export/import The CMakeExportBuildSettings and CMakeImportBuildSettings modules used to export compiler paths and flags from one project and import them into another. The import process would force the settings on the including project. Forcing settings helped long ago when compiler ABIs changed frequently but is now just a nuisance. We've deemed the behavior harmful so this commit simply removes it. The modules and macros now error out if included or called from a project that requires CMake 2.8 or higher. 08 September 2009, 19:55:41 UTC
002ae92 Use more verbose/descriptive names for the "public API" functions in the ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator. 08 September 2009, 19:37:15 UTC
6727834 BUG: Fixed extraneous newlines from ctest process output 08 September 2009, 18:48:23 UTC
39e5f9d ENH: Replaced the EXPENSIVE test property with a COST test property taking a floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified. 08 September 2009, 17:39:13 UTC
a02ef56 BUG: Fixed issue where ctest would hang if a process terminated with output in its buffers but no newline 08 September 2009, 14:16:16 UTC
384f4d1 Fixed warning 08 September 2009, 13:12:44 UTC
5252ef4 KWSys Nightly Date Stamp 08 September 2009, 04:01:04 UTC
5fb958f ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow specification of resource allocation for given tests running with the ctest -j N option. RUN_SERIAL ensures that a given test does not run in parallel with any other test. Also forced appending of "..." to the longest test name in ctest. 07 September 2009, 14:26:17 UTC
4e16813 Put custom commands in topological order for VS 10 Visual Studio 10 uses MSBuild to drive the build. Custom commands appear in MSBuild files inside CustomBuild elements, which appear inside ItemGroup elements. The Outputs and AdditionalInputs elements of each CustomBuild element are evaluated according to timestamps on disk. MSBuild does not use inputs/outputs to order CustomBuild steps within a single ItemGroup or across multiple ItemGroup elements. Instead we must put only unrelated CustomBuild elements in a single ItemGroup and order the item groups from top to bottom using a topological order of the custom command dependency graph. This fixes CustomCommand and ExternalProject test failures, so we remove the expectation of these failures. 07 September 2009, 14:12:18 UTC
4224513 Save source dependencies from custom command trace In each target we trace dependencies among custom commands to pull in all source files and build rules necessary to complete the target. This commit teaches cmTarget to save the inter-source dependencies found during its analysis. Later this can be used by generators that need to topologically order custom command rules. 07 September 2009, 14:11:43 UTC
back to top