Alexander Neundorf eddf1cf39f ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.

Alex
2007-06-01 11:16:29 -04:00
..
2007-05-11 10:22:20 -04:00
2006-07-24 09:43:11 -04:00
2007-05-11 10:22:20 -04:00
2006-04-23 23:24:48 -04:00
2005-06-08 12:26:32 -04:00
2007-05-11 10:22:20 -04:00
2005-06-16 11:47:29 -04:00
2007-05-11 10:22:20 -04:00
2007-05-11 10:22:20 -04:00
2004-05-03 17:51:06 -04:00
2007-05-11 10:22:20 -04:00
2002-07-31 11:08:42 -04:00
2005-11-10 15:13:54 -05:00
2006-12-12 13:59:09 -05:00
2002-12-03 11:21:12 -05:00