Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor out enum MessageType into dedicated header | Bruno Manganelli | 2019-01-16 | 1 | -1/+2 |
| | | | | Reduce the number of files relying on `cmake.h`. | ||||
* | Reduce raw string pointers usage. | Pavel Solodovnikov | 2018-01-31 | 1 | -1/+1 |
| | | | | | | | | | | * Change some functions to take `std::string` instead of `const char*` in the following classes: `cmMakeFile`, `cmake`, `cmCoreTryCompile`, `cmSystemTools`, `cmState`, `cmLocalGenerator` and a few others. * Greatly reduce using of `const char*` overloads for `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`. * Remove many redundant `c_str()` conversions throughout the code. | ||||
* | Include necessary headers in commands | Daniel Pfeifer | 2016-10-26 | 1 | -0/+5 |
| | |||||
* | Simplify CMake per-source license notices | Brad King | 2016-09-27 | 1 | -11/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle. | ||||
* | Revise C++ coding style using clang-format | Kitware Robot | 2016-05-16 | 1 | -16/+13 |
| | | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. | ||||
* | try_compile: Add option to control type of target | Brad King | 2016-02-19 | 1 | -1/+1 |
| | | | | | | | Create a `CMAKE_TRY_COMPILE_TARGET_TYPE` option to specify use of `add_library(... STATIC ...)` for the generated test project. This will be useful for cross-compiling toolchains that cannot link a binary without custom flags or scripts. | ||||
* | Use makefile->IssueMessage() for better error messages | Alex Neundorf | 2011-09-27 | 1 | -1/+1 |
| | | | | Alex | ||||
* | Improve behaviour of --find-package mode with try_run/try_compile | Alex Neundorf | 2011-09-15 | 1 | -1/+8 |
| | | | | | | | | Instead of failing with an error message which says things have not been setup correctly, it now says that try_compile/try_run() are not supported in find_package mode (#12426). Alex | ||||
* | Convert CMake to OSI-approved BSD License | Brad King | 2009-09-28 | 1 | -14/+9 |
| | | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range. | ||||
* | ENH: add return and break support to cmake, also change basic command ↵ | Ken Martin | 2008-01-23 | 1 | -1/+2 |
| | | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class | ||||
* | ENH: add two simple tests for TRY_RUN() | Alexander Neundorf | 2007-05-24 | 1 | -369/+7 |
| | | | | | | | | STYLE: create a new base class cmCoreTryCompile, from which cmTryCompileCommand and cmTryRunCommand are derived, so there are no public static functions with lots of arguments anymore Alex | ||||
* | ENH: move output file search to cmTryCompileCommand.cxx, so it can be used | Alexander Neundorf | 2007-05-24 | 1 | -7/+76 |
| | | | | | | there too... many public static functions with lots of arguments... :-/ Alex | ||||
* | STYLE: long line | Ken Martin | 2007-03-05 | 1 | -1/+2 |
| | |||||
* | BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try ↵ | Andy Cedilnik | 2007-03-02 | 1 | -0/+5 |
| | | | | compile | ||||
* | ENH: make sure file is closed | Bill Hoffman | 2006-10-03 | 1 | -0/+1 |
| | |||||
* | ENH: centralized locaiton of CMakeFiles setting | Ken Martin | 2006-06-14 | 1 | -1/+3 |
| | |||||
* | STYLE: fix line length | Ken Martin | 2006-05-12 | 1 | -1/+2 |
| | |||||
* | ENH: add a wrapper for xcodebuild to get around bug and verbose output | Bill Hoffman | 2006-03-31 | 1 | -14/+0 |
| | |||||
* | ENH: add support for universal binaries | Bill Hoffman | 2006-03-24 | 1 | -1/+14 |
| | |||||
* | STYLE: some m_ to this-> cleanup | Ken Martin | 2006-03-15 | 1 | -1/+1 |
| | |||||
* | STYLE: fix line lengths | Bill Hoffman | 2006-03-10 | 1 | -4/+8 |
| | |||||
* | ENH: pass CMAKE_MODULE_PATH into try compile projects | Bill Hoffman | 2006-03-02 | 1 | -0/+5 |
| | |||||
* | ENH: Since list file cache does not make much sense any more (because of ↵ | Andy Cedilnik | 2006-02-07 | 1 | -1/+0 |
| | | | | proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out | ||||
* | ENH: fix double CMAKE_(LANG)_FLAGS problem in try compile | Bill Hoffman | 2006-01-25 | 1 | -1/+1 |
| | |||||
* | ENH: fix for CMakeTmp move broken stuff | Bill Hoffman | 2006-01-13 | 1 | -1/+1 |
| | |||||
* | ENH: put CmakeTmp into CMakeFiles | Ken Martin | 2006-01-12 | 1 | -2/+2 |
| | |||||
* | BUG: work around for buggy Tigger OSX systems that read two copies of the ↵ | Bill Hoffman | 2005-04-15 | 1 | -12/+19 |
| | | | | same file in a directory | ||||
* | ENH: Added better error message when TRY_COMPILE does not recognize an ↵ | Brad King | 2005-04-13 | 1 | -8/+11 |
| | | | | extension. | ||||
* | ENH: cleanup by removing all the olf local generate junk that i not longer ↵ | Ken Martin | 2005-03-10 | 1 | -5/+0 |
| | | | | needed | ||||
* | remove warning | Bill Hoffman | 2004-09-23 | 1 | -4/+4 |
| | |||||
* | ENH: major changes to support addition of languages from cmake modules ↵ | Bill Hoffman | 2004-09-22 | 1 | -40/+23 |
| | | | | directory. | ||||
* | ENH: add better error reporting for file open failures | Bill Hoffman | 2004-09-07 | 1 | -0/+1 |
| | |||||
* | ENH: try compiles in CXX require C to be enabled as well | Bill Hoffman | 2004-08-26 | 1 | -1/+1 |
| | |||||
* | ENH: more uniform approach to enable language, one step closer to being able ↵ | Bill Hoffman | 2004-08-26 | 1 | -3/+3 |
| | | | | to enable a language without modifing cmake source code | ||||
* | ENH: initial fortran support | Bill Hoffman | 2004-08-06 | 1 | -1/+15 |
| | |||||
* | ENH: Clarified recursive TRY_COMPILE error message. | Brad King | 2004-03-19 | 1 | -1/+1 |
| | |||||
* | BUG: When error occurs, try compiles should still work | Berk Geveci | 2004-03-17 | 1 | -0/+7 |
| | |||||
* | BUG: keep more of the case information | Bill Hoffman | 2003-12-23 | 1 | -3/+6 |
| | |||||
* | BUG: need a dummy first argument to cmake | Bill Hoffman | 2003-12-11 | 1 | -2/+3 |
| | |||||
* | fix to the signature and argument parsing | Ken Martin | 2003-12-11 | 1 | -16/+23 |
| | |||||
* | fix compiler warnings | Ken Martin | 2003-06-27 | 1 | -3/+3 |
| | |||||
* | ENH: Merged use of kwsys library. | Brad King | 2003-06-23 | 1 | -1/+3 |
| | |||||
* | add better testing for unlink | Bill Hoffman | 2003-02-06 | 1 | -1/+6 |
| | |||||
* | ENH: only force the use of ansi flags in backwards mode | Bill Hoffman | 2003-01-08 | 1 | -3/+18 |
| | |||||
* | ENH: TryCompile should produce a verbose makefile. | Brad King | 2002-12-17 | 1 | -0/+1 |
| | |||||
* | Make try compile add a depend to re-run cmake if its source chagnes | Bill Hoffman | 2002-12-12 | 1 | -0/+6 |
| | |||||
* | Remove warning | Andy Cedilnik | 2002-11-26 | 1 | -2/+0 |
| | |||||
* | fix for c flags | Bill Hoffman | 2002-11-21 | 1 | -1/+1 |
| | |||||
* | fix flag setting | Bill Hoffman | 2002-11-21 | 1 | -1/+0 |
| | |||||
* | fix flag setting | Bill Hoffman | 2002-11-21 | 1 | -2/+3 |
| |