summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the test harder by always having a space in the include dirsAlex Neundorf2011-08-171-0/+1
| | | | | | | | | | | | The commit message for the previous commit was wrong, it should have been: fix the test by using $(shell ...) syntax instead of backticks in the Makefile. With backticks I couldn't get the quoting right. Printing -I"/some/path with space" did not work, the compiler complained that there is not file "with". Also backslashes in different numbers did not make it work. Alex
* Make the --find-package test harderAlex Neundorf2011-08-171-2/+2
| | | | | | | Now it is guaranteed that the include paths always contain a space. This should make the cont. build fail. Alex
* Much improved test, should now be executed on all UNIXesAlex Neundorf2011-08-166-17/+33
| | | | | | | | Instead of relying on that some development package is installed on the system, now a tiny library is built, which is the searched and used during the test. Alex
* Disable any STATUS output in --find-package modeAlex Neundorf2011-08-151-2/+9
| | | | | | | | | Any STATUS output will be fed directly to the compiler, which will not understand any status messages. Error messages are fine, since they are errors and it is ok if the compiler fails in such cases. Alex
* Dont check for -isysroot and -mmacosx-version on OSX in --find-package modeAlex Neundorf2011-08-151-0/+6
| | | | Alex
* Rename helper macros print_compile_flags() to set_compile_flags_var()Alex Neundorf2011-08-151-4/+4
| | | | | | | | The same for print_link_flags(), it is now set_link_flags_var(). Both macros don't print anything anymore, this was only in the beginning. Alex
* Fix test on OpenBSD with BSD makeAlex Neundorf2011-08-151-1/+1
| | | | | | | | BSD make doesn't seem to support -C, so do not use it, According to the documentation the working directory is set to CMAKE_CURRENT_BINARY_DIR anyway, so it should work just the same. Alex
* The makefile for the test was kindof wrongAlex Neundorf2011-08-141-1/+3
| | | | Alex
* Only run the test if we are using a makefile generator under UNIXAlex Neundorf2011-08-111-1/+1
| | | | Alex
* Add a test for the new --find-package modeAlex Neundorf2011-08-114-0/+40
| | | | Alex
* Improve documentation for --find-package modeAlex Neundorf2011-08-112-7/+13
| | | | Alex
* Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfigAlex Neundorf2011-08-113-1/+55
| | | | | | | This file has been written today from scratch by Matthias Kretz and it BSD-licensed. Alex
* Use the file-utility to test for 64bit if there is no /usr/lib64Alex Neundorf2011-08-091-2/+9
| | | | Alex
* Better support for lib64 and Debian multiarchAlex Neundorf2011-08-091-3/+26
| | | | | | | | | | | | If CMAKE_SIZEOF_VOID_P is not set from the outside, it checks for the existance of /usr/lib64, and if it exists, SIZEOF_VOID_P is set to 8. For multiarch, if this is debian and CMAKE_${LANGUAGE}_LANGUAGE_ARCHITECTURE has not been set, it globs for the files in /lib, and uses the first one which matches CMAKE_LIBRARY_ARCHITECTURE_REGEX. Alex
* Fix copyright notice in new CMakeFindPackageMode.cmakeAlex Neundorf2011-08-091-0/+13
| | | | Alex
* Replace cmake::GetScriptMode() with GetWorkingMode()Alex Neundorf2011-08-095-31/+38
| | | | | | | GetWorkingMode() returns a new enum WorkingMode, which is one of NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE. Alex
* Implement find-package mode of cmakeAlex Neundorf2011-07-022-2/+223
| | | | | | | | | | | | | | | | | | | In find-package mode, cmake executes Modules/CMakeFindPackage.cmake, which calls find_package(), and this is then evaluated in cmake.cxx, which prints an appropriate message to stdout, so it can be used e.g. in a normal Makefile: $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=EXIST JPEG found. $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK -rdynamic -ljpeg Alex
* Add find-package mode, which does nothing yetAlex Neundorf2011-07-024-2/+45
| | | | | | | | -add command line argument --find-package and handle it, i.e. call an empty function cmake::FindPackage() -add basic help Alex
* Make clLocalGenerator::GetTargetFlags() publicAlex Neundorf2011-07-021-1/+1
| | | | | | This will later on be used for getting the link flags Alex
* KWSys Nightly Date StampKWSys Robot2011-07-021-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-07-011-2/+2
|
* KWSys Nightly Date StampKWSys Robot2011-06-301-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-06-291-1/+1
|
* Merge topic 'revert-fixbug_0004147'Brad King2011-06-281-59/+0
|\ | | | | | | | | fc04531 Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"
| * Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"Brad King2011-06-271-59/+0
| | | | | | | | | | | | | | | | | | This reverts commit 1088b0278e74526298d0821589973918da33c44b. Wrapper dependency scanning (fix for #4147) does not work at CMake configuration time if an input file is provided by a custom command (regression #12307). Revert to original behavior until a solution is found.
* | KWSys Nightly Date StampKWSys Robot2011-06-281-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2011-06-271-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2011-06-261-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2011-06-251-1/+1
| |
* | Merge topic 'use_devenv_forvs2010'Brad King2011-06-243-11/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | 8555c2b Look for VCExpress as a possible build tool as well as devenv. ed0075b Use relative paths for custom command inputs. 38368d5 Revert "With very long file names, VS 2010 was unable to compile files." 8cd66dc Use devenv instead of msbuild for vs2010.
| * | Look for VCExpress as a possible build tool as well as devenv.Bill Hoffman2011-06-231-1/+2
| | |
| * | Use relative paths for custom command inputs.Bill Hoffman2011-06-221-10/+15
| | | | | | | | | | | | | | | | | | For source files we use full paths. This allows for longer directory names with VS2010. However, the use of full paths causes the GUI to not display the custom commands.
| * | Revert "With very long file names, VS 2010 was unable to compile files."Bill Hoffman2011-06-211-1/+10
| | | | | | | | | | | | This reverts commit 945f2c2214bc80f513ed08ebe2c8003263a4ee56.
| * | Use devenv instead of msbuild for vs2010.Bill Hoffman2011-06-211-9/+20
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-06-241-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-06-231-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-06-221-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-06-211-1/+1
| | |
* | | Merge topic 'libarchive-install-copyright-notice'Brad King2011-06-201-0/+2
|\ \ \ | | | | | | | | | | | | | | | | d39aee4 libarchive: Install COPYING with CMake documentation
| * | | libarchive: Install COPYING with CMake documentationBrad King2011-06-201-0/+2
| | | |
* | | | Merge topic 'FindJNI-Fedora-issue-12276'Brad King2011-06-201-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 93fc629 FindJNI: Search in Fedora arch-specific JVM location (#12276)
| * | | | FindJNI: Search in Fedora arch-specific JVM location (#12276)Christoph Höger2011-06-151-0/+1
| | | | |
* | | | | Merge topic '11279_vs10sp1_and_improvements'Brad King2011-06-201-25/+115
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | effb6bb Detect VS 2010 SP1, faster and more robust detection
| * | | | | Detect VS 2010 SP1, faster and more robust detectionPhilip Lowman2011-06-151-25/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Aaron C. Meadows Adds support for detecting VS 2010 SP1 Also improves performance using CMAKE_CXX_COMPILER if it is available and for robustness falls back using try_compile() and try_run()
* | | | | | Merge topic 'doc-spelling-formatting-issue-12287'Brad King2011-06-203-9/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d66459b Documentation: Fix spelling / formatting errors (#12287)
| * | | | | | Documentation: Fix spelling / formatting errors (#12287)Modestas Vainius2011-06-193-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch fixes the following problems spotted by lintian: W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakemodules.1.gz 2641: warning [p 39, 1.5i]: can't break line I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakeprops.1.gz explict explicit I: cmake: spelling-error-in-binary usr/bin/cmake explict explicit I: cmake: spelling-error-in-binary usr/bin/cpack explict explicit I: cmake: spelling-error-in-binary usr/bin/ctest explict explicit W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 7300: warning [p 120, 3.3i]: can't break line I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz explict explicit I: cmake-curses-gui: spelling-error-in-binary usr/bin/ccmake explict explicit I: cmake-qt-gui: spelling-error-in-binary usr/bin/cmake-gui explict explicit
* | | | | | | Merge topic 'FindBoost_bugfixes_060911'Brad King2011-06-201-1/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 974374a FindBoost: Also search for 1.46.1 f26d1cf FindBoost: Fixes #12188
| * | | | | | | FindBoost: Also search for 1.46.1Philip Lowman2011-06-101-1/+2
| | | | | | | |
| * | | | | | | FindBoost: Fixes #12188Philip Lowman2011-06-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Workaround an issue where users wanted to use Boost_LIBRARIES with the install() command and debug/optimized keywords were interfering. Now debug/optimized keywords are removed if the release & debug library are the same.
* | | | | | | | Merge topic 'find_library-lib64-issue-12247+12248'Brad King2011-06-201-5/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ba1713 find_library: Use lib->lib64 conversion in CXX-only projects (#12247,#12248)