summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Include necessary headers in commandsDaniel Pfeifer2016-10-261-0/+5
|
* Simplify CMake per-source license noticesBrad King2016-09-271-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-formatKitware Robot2016-05-161-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 targetBrad King2016-02-191-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 messagesAlex Neundorf2011-09-271-1/+1
| | | | Alex
* Improve behaviour of --find-package mode with try_run/try_compileAlex Neundorf2011-09-151-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 LicenseBrad King2009-09-281-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 Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: add two simple tests for TRY_RUN()Alexander Neundorf2007-05-241-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 usedAlexander Neundorf2007-05-241-7/+76
| | | | | | there too... many public static functions with lots of arguments... :-/ Alex
* STYLE: long lineKen Martin2007-03-051-1/+2
|
* BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try ↵Andy Cedilnik2007-03-021-0/+5
| | | | compile
* ENH: make sure file is closedBill Hoffman2006-10-031-0/+1
|
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-1/+3
|
* STYLE: fix line lengthKen Martin2006-05-121-1/+2
|
* ENH: add a wrapper for xcodebuild to get around bug and verbose outputBill Hoffman2006-03-311-14/+0
|
* ENH: add support for universal binariesBill Hoffman2006-03-241-1/+14
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-1/+1
|
* STYLE: fix line lengthsBill Hoffman2006-03-101-4/+8
|
* ENH: pass CMAKE_MODULE_PATH into try compile projectsBill Hoffman2006-03-021-0/+5
|
* ENH: Since list file cache does not make much sense any more (because of ↵Andy Cedilnik2006-02-071-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 compileBill Hoffman2006-01-251-1/+1
|
* ENH: fix for CMakeTmp move broken stuffBill Hoffman2006-01-131-1/+1
|
* ENH: put CmakeTmp into CMakeFilesKen Martin2006-01-121-2/+2
|
* BUG: work around for buggy Tigger OSX systems that read two copies of the ↵Bill Hoffman2005-04-151-12/+19
| | | | same file in a directory
* ENH: Added better error message when TRY_COMPILE does not recognize an ↵Brad King2005-04-131-8/+11
| | | | extension.
* ENH: cleanup by removing all the olf local generate junk that i not longer ↵Ken Martin2005-03-101-5/+0
| | | | needed
* remove warningBill Hoffman2004-09-231-4/+4
|
* ENH: major changes to support addition of languages from cmake modules ↵Bill Hoffman2004-09-221-40/+23
| | | | directory.
* ENH: add better error reporting for file open failuresBill Hoffman2004-09-071-0/+1
|
* ENH: try compiles in CXX require C to be enabled as wellBill Hoffman2004-08-261-1/+1
|
* ENH: more uniform approach to enable language, one step closer to being able ↵Bill Hoffman2004-08-261-3/+3
| | | | to enable a language without modifing cmake source code
* ENH: initial fortran supportBill Hoffman2004-08-061-1/+15
|
* ENH: Clarified recursive TRY_COMPILE error message.Brad King2004-03-191-1/+1
|
* BUG: When error occurs, try compiles should still workBerk Geveci2004-03-171-0/+7
|
* BUG: keep more of the case informationBill Hoffman2003-12-231-3/+6
|
* BUG: need a dummy first argument to cmakeBill Hoffman2003-12-111-2/+3
|
* fix to the signature and argument parsingKen Martin2003-12-111-16/+23
|
* fix compiler warningsKen Martin2003-06-271-3/+3
|
* ENH: Merged use of kwsys library.Brad King2003-06-231-1/+3
|
* add better testing for unlinkBill Hoffman2003-02-061-1/+6
|
* ENH: only force the use of ansi flags in backwards modeBill Hoffman2003-01-081-3/+18
|
* ENH: TryCompile should produce a verbose makefile.Brad King2002-12-171-0/+1
|
* Make try compile add a depend to re-run cmake if its source chagnesBill Hoffman2002-12-121-0/+6
|
* Remove warningAndy Cedilnik2002-11-261-2/+0
|
* fix for c flagsBill Hoffman2002-11-211-1/+1
|
* fix flag settingBill Hoffman2002-11-211-1/+0
|
* fix flag settingBill Hoffman2002-11-211-2/+3
|
* move compile defs to cxx and c flagsBill Hoffman2002-11-211-1/+2
|
* clean up entire temp directoryBill Hoffman2002-11-211-10/+14
|