summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2014-08-11 18:21:16 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-21 13:28:20 (GMT)
commitcb1aceed8ceb29d5f01f6444133060e603297fec (patch)
treeb3957663dbf5fa324b165a2b9f1c28b6710f46c8 /Source/cmVisualStudioGeneratorOptions.h
parent401269e43b49ce25e247efb1fa3503b32eafa411 (diff)
downloadCMake-cb1aceed8ceb29d5f01f6444133060e603297fec.zip
CMake-cb1aceed8ceb29d5f01f6444133060e603297fec.tar.gz
CMake-cb1aceed8ceb29d5f01f6444133060e603297fec.tar.bz2
VS: Add VS_WINRT_COMPONENT property to enable CompileAsWinRT
Deprecate VS_WINRT_EXTENSIONS and document VS_WINRT_COMPONENT as for VS generators only. Also define _WINRT_DLL in SHARED libraries in order to get a .lib produced. Inspired-by: Paul Annetts <paul@lightunobscured.com>
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h
index 47a7c62..5829e17 100644
--- a/Source/cmVisualStudioGeneratorOptions.h
+++ b/Source/cmVisualStudioGeneratorOptions.h
@@ -52,6 +52,7 @@ public:
bool UsingSBCS() const;
bool IsDebug() const;
+ bool IsWinRt() const;
// Write options to output.
void OutputPreprocessorDefinitions(std::ostream& fout,
const char* prefix,