summaryrefslogtreecommitdiffstats
path: root/Tests/Preprocess
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-01-25 13:47:32 (GMT)
committerBrad King <brad.king@kitware.com>2010-01-25 13:47:32 (GMT)
commit2b3eee46468fca17d69a5b905f0ef8876cbf2c16 (patch)
tree29f89b761d9bbd9d263cf8afbcccadeba1a3a675 /Tests/Preprocess
parent4d1351e8d3d97b78baa67d24e72f0baa3bb8ada5 (diff)
downloadCMake-2b3eee46468fca17d69a5b905f0ef8876cbf2c16.zip
CMake-2b3eee46468fca17d69a5b905f0ef8876cbf2c16.tar.gz
CMake-2b3eee46468fca17d69a5b905f0ef8876cbf2c16.tar.bz2
Avoid PathScale cmd-line bug in TryCompile test
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.
Diffstat (limited to 'Tests/Preprocess')
0 files changed, 0 insertions, 0 deletions