summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* KWSys Nightly Date StampKWSys Robot2009-09-191-1/+1
|
* Only do the OSX arch stuff on OSX.Bill Hoffman2009-09-181-2/+3
|
* Disabling CTestTestNoBuild pending investigation of odd g++ output issues.Zach Mullen2009-09-181-7/+7
|
* Add detection of gcc versions that do not support isysroot option and do not ↵Bill Hoffman2009-09-182-7/+27
| | | | use it for them.
* Apparently, on FarAway the presence of errors during ctest_build does not ↵Zach Mullen2009-09-181-1/+2
| | | | cause the calling ctest to return an error condition.
* Cosmetic change to test CMakeListsZach Mullen2009-09-181-1/+1
|
* Better error message tells user possible ways to resolve the error.David Cole2009-09-181-1/+1
|
* Added test coverage for ctest. Covers WILL_FAIL condition, tests that do ↵Zach Mullen2009-09-1810-0/+196
| | | | not build, tests that segfault, and test executable not found (bad command), as well as some pass and fail regular expressions.
* Fix the build for version 2.5 of Xcode.Bill Hoffman2009-09-181-0/+9
|
* Fix CHECK_(C|CXX)_COMPILER_FLAG macro testBrad King2009-09-181-2/+2
| | | | | | 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.
* Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunProBrad King2009-09-182-2/+6
| | | | | | 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.
* KWSys Nightly Date StampKWSys Robot2009-09-181-1/+1
|
* Fix CHECK_(C|CXX)_COMPILER_FLAG for HPBrad King2009-09-172-0/+2
| | | | | | 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.
* Fix case where no archs are found on older macs.Bill Hoffman2009-09-171-4/+4
|
* Test CHECK_(C|CXX)_COMPILER_FLAG macrosBrad King2009-09-171-1/+9
| | | | | This teaches the TryCompile test to check that the compiler flag check macros correctly reject a bad flag. See issue #9516.
* Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVCBrad King2009-09-172-2/+10
| | | | | | 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.
* Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILESBrad King2009-09-172-2/+41
| | | | | | 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.
* Cleanup generic compiler check macro documentationBrad King2009-09-176-36/+30
| | | | | | | | | | | | | | | 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.
* The check for include dirs and builtin macros also works with the Intel compilerAlexander Neundorf2009-09-171-11/+15
| | | | Alex
* Fix for bug #9466. Change the implementation of OSX arch lists. If no ↵Bill Hoffman2009-09-173-36/+29
| | | | ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT.
* Bug #9430, recognize the FR flagBill Hoffman2009-09-171-0/+1
|
* Do not call CollapseFullPath for PDB file namesBrad King2009-09-173-3/+3
| | | | | | | | | | | | | | | | 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.
* Remove old check for duplicate subdirectoriesBrad King2009-09-171-15/+0
| | | | | | | | | 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.
* KWSys Nightly Date StampKWSys Robot2009-09-171-1/+1
|
* Fix typo in nameBill Hoffman2009-09-171-1/+1
|
* Major improvement of the generated targets in Eclipse.Alexander Neundorf2009-09-164-14/+102
| | | | | | | | | | | | | | | 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
* Create CMake.ConfigureFile test for configure_fileBrad King2009-09-166-0/+28
| | | | | This test checks that configure_file() handles input and output file arguments as documented.
* Teach configure_file to handle directory namesBrad King2009-09-162-0/+21
| | | | | | | 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.
* Teach configure_file to handle relative pathsBrad King2009-09-162-12/+27
| | | | | | | 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.
* Fix typo in cmConfigureFileCommand ivar nameBrad King2009-09-162-5/+5
| | | | Rename 'OuputFile' to 'OutputFile'.
* Factor out CMake.File test result check for re-useBrad King2009-09-162-35/+40
| | | | | | | 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.
* Put compiler defined macros into eclipse project filesAlexander Neundorf2009-09-162-5/+89
| | | | | | | | | 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
* Bug #09476, add more search paths for jni.Bill Hoffman2009-09-161-1/+12
|
* Fix for bug#9553, print a warning if pkg-config is not found.Bill Hoffman2009-09-161-0/+5
|
* Fix XL C++ compiler flags on LinuxBrad King2009-09-162-0/+6
| | | | | | | | 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.
* Fix uninitialized errors.Bill Hoffman2009-09-161-0/+7
|
* Generate proper Intel Fortran project versionBrad King2009-09-161-1/+13
| | | | | | | 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.
* Create VS generator GetRegistryBase methodBrad King2009-09-168-0/+22
| | | | | | | | | 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.
* Test add_subdirectory inside functionBrad King2009-09-161-0/+35
| | | | | | | 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.
* Initialize directory scope with closure of parentBrad King2009-09-161-2/+10
| | | | | | | | | | | | | 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.
* KWSys Nightly Date StampKWSys Robot2009-09-161-1/+1
|
* Initial version of FindCUDA script. Still needs documentation formatting.James Bigler2009-09-154-0/+1577
|
* KWSys Nightly Date StampKWSys Robot2009-09-151-1/+1
|
* Fix for bug #8969, pick a better default version for VS, and make it easier ↵Bill Hoffman2009-09-151-27/+24
| | | | to add new versions of VS to look for.
* Fix for bug# 5373, include CMake verison in generated docs.Bill Hoffman2009-09-151-2/+4
|
* fix #9152: find ZLIB quietly if PNG is searched QUIETLYAlexander Neundorf2009-09-141-2/+7
| | | | Alex
* Bug #8356, add support for image types in Xcode files.Bill Hoffman2009-09-141-0/+4
|
* Fix for bug #8807, add support for CMAKE_EXE_LINKER_FLAGS_(config) to Xcode ↵Bill Hoffman2009-09-141-0/+9
| | | | generator.
* Fix for Bug #9190, -U did not work on case insensitive file systems because ↵Bill Hoffman2009-09-143-5/+10
| | | | of call to glob convert to regex that expected to work with files.
* Clarify documentation for if.Bill Hoffman2009-09-141-1/+1
|