diff options
author | Brad King <brad.king@kitware.com> | 2011-01-03 15:02:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-01-03 15:02:16 (GMT) |
commit | b29eadd8f38fcfd7b0635501f5e1429e7cb69865 (patch) | |
tree | 0c40f3a44304954cfe2a7f5d07fb3b0e09af86ef /Tests/ForceInclude/foo.c | |
parent | edff9207ed82d241077d66b20087657f74e8b5b9 (diff) | |
download | CMake-b29eadd8f38fcfd7b0635501f5e1429e7cb69865.zip CMake-b29eadd8f38fcfd7b0635501f5e1429e7cb69865.tar.gz CMake-b29eadd8f38fcfd7b0635501f5e1429e7cb69865.tar.bz2 |
Map multiple /FI flags for VS < 10 (#11649)
The /FI flag may be repeated so the flag table entry needs to be marked
with SemicolonAppendable. This was already the case for VS 10.
Diffstat (limited to 'Tests/ForceInclude/foo.c')
-rw-r--r-- | Tests/ForceInclude/foo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/ForceInclude/foo.c b/Tests/ForceInclude/foo.c new file mode 100644 index 0000000..af898f4 --- /dev/null +++ b/Tests/ForceInclude/foo.c @@ -0,0 +1,7 @@ +#ifndef FOO_1 +# error "foo1.h not included by /FI" +#endif +#ifndef FOO_2 +# error "foo2.h not included by /FI" +#endif +int main(void) { return 0; } |