summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Improve error message consistencyMatthew Woehlke2022-09-161-1/+1
| | | | | Tweak some error messages from try_compile (and try_run) to be more consistent with each other.
* try_compile: Add keyword-dispatched signatureMatthew Woehlke2022-09-051-1/+1
| | | | | | | | | | | | | | | | Introduce a new signature for try_compile (and try_run) which removes the `bindir` argument and requires the SOURCES tag. This will eventually allow us to add other ways of providing sources, but also allows us to change the behavior without breaking compatibility. The old signature uses a special, but non-unique temporary location inside the specified `bindir`, which conventionally is just the project's build directory. The new signature unconditionally uses the a unique temporary directory which is unconditionally within the project's build directory (which is no longer separately specified). This ensures that successive runs do not overwrite previous runs, will simplify debugging, and should also, eventually, allow us to execute multiple trials in parallel.
* try_compile: Refactor argument processingBrad King2013-05-311-1/+1
| | | | | | | | | | Process all arguments in a single loop using a simple state machine. While at it, fix some error message typos. Also allow LINK_LIBRARIES with no actual libraries to disable use of the -DLINK_LIBRARIES=... from the CMAKE_FLAGS. This was already possible in the old logic if LINK_LIBRARIES was immediately followed by another keyword argument instead of the end of the argument list, so allow it in general. Update the RunCMake.try_compile test cases accordingly.
* try_compile: Add test for bad call error casesBrad King2013-05-311-0/+4
Add a RunCMake.try_compile test to cover cases of bad invocation of the try_compile command.