summaryrefslogtreecommitdiffstats
path: root/Source/cmIDEFlagTable.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-01 18:56:08 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-01 18:56:08 (GMT)
commit650199e7ca5821c160e5124e79aaf81141a7918f (patch)
tree324a976f57e91dedde40b377486ca2ecee8cdc12 /Source/cmIDEFlagTable.h
parentf2a3dd9d1acb252dd40c35859f9a148c2d0ff823 (diff)
downloadCMake-650199e7ca5821c160e5124e79aaf81141a7918f.zip
CMake-650199e7ca5821c160e5124e79aaf81141a7918f.tar.gz
CMake-650199e7ca5821c160e5124e79aaf81141a7918f.tar.bz2
VS: Support mapping flags with values following separately (#14858)
Add a "UserFollowing" special flag table entry indicator to say that a flag expects a value in a following argument. Teach cmIDEOptions to handle such flags.
Diffstat (limited to 'Source/cmIDEFlagTable.h')
-rw-r--r--Source/cmIDEFlagTable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIDEFlagTable.h b/Source/cmIDEFlagTable.h
index e372c0a..d9a045d 100644
--- a/Source/cmIDEFlagTable.h
+++ b/Source/cmIDEFlagTable.h
@@ -31,6 +31,7 @@ struct cmIDEFlagTable
// old value with semicolons (e.g.
// /NODEFAULTLIB: =>
// IgnoreDefaultLibraryNames)
+ UserFollowing = (1<<5), // expect value in following argument
UserValueIgnored = UserValue | UserIgnored,
UserValueRequired = UserValue | UserRequired