mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
2b3eee4646
The PathScale compiler silently accepts unknown options that start in more than one '-': $ touch foo.c $ pathcc -c foo.c --junk $ echo $? 0 $ pathcc -c foo.c ---junk $ echo $? 0 $ pathcc -c foo.c -junk pathcc ERROR parsing -junk: unknown flag $ echo $? 2 We teach the TryCompile to pass a bogus flag with only one '-' instead of three '-'s for this compiler. |
||
---|---|---|
.. | ||
Inner | ||
CMakeLists.txt | ||
exit_success.c | ||
exit_with_error.c | ||
expect_arg.c | ||
fail.c | ||
pass.c |