summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-enabled failing tests; fixed ctest_build output to be consistent in the ↵Zach Mullen2009-09-212-22/+23
| | | | error condition across different make programs so that these tests would pass.
* Fix Bug #8332, add support for .pch files for Xcode.Bill Hoffman2009-09-211-1/+2
|
* Fix Bug #8928, add support for .xib files for Xcode.Bill Hoffman2009-09-211-0/+4
|
* KWSys Nightly Date StampKWSys Robot2009-09-211-1/+1
|
* Fix glitch where we were accidently unsetting CMAKE_FIND_LIBRARY_PREFIXESPhilip Lowman2009-09-211-1/+1
|
* Forgot to mark Protobuf cache variables as advancedPhilip Lowman2009-09-211-0/+5
|
* [NEW Module] FindAlsa audio library (Advanced Linux Sound Architecture)Philip Lowman2009-09-211-0/+32
|
* [NEW Module] Find and use Google's Protocol Buffers library & compilerPhilip Lowman2009-09-211-0/+106
|
* Fix boost library detection with Sun Studio compiler (Issue #9153)Philip Lowman2009-09-201-0/+2
|
* Disable test as it fails on every system.Bill Hoffman2009-09-201-11/+11
|
* Improve readabilityPhilip Lowman2009-09-201-16/+27
|
* KWSys Nightly Date StampKWSys Robot2009-09-201-1/+1
|
* Minor optimization in dependency checking.Alexander Neundorf2009-09-191-2/+12
| | | | | | | | | | | | 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
* Remove cmGlobalXCode21Generator subclassBrad King2009-09-195-111/+30
| | | | | | | 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.
* Fix check for -isysroot on OS XBrad King2009-09-197-21/+28
| | | | | | | | | | | 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.
* The preprocessing and assembly rules also need the <DEFINES>, otherwise ↵Alexander Neundorf2009-09-192-4/+4
| | | | | | different reults are created. Alex
* 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
|