summaryrefslogtreecommitdiffstats
path: root/Tests/VSResource/test.rc
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/VSResource/test.rc')
-rw-r--r--Tests/VSResource/test.rc11
1 files changed, 9 insertions, 2 deletions
diff --git a/Tests/VSResource/test.rc b/Tests/VSResource/test.rc
index 2e87a68..4ce4b53 100644
--- a/Tests/VSResource/test.rc
+++ b/Tests/VSResource/test.rc
@@ -1,10 +1,17 @@
#ifdef CMAKE_RCDEFINE
-hello TEXT DISCARDABLE CMAKE_RCDEFINE
+// This line can compile with either an unquoted or a quoted string
+1025 TEXTFILE CMAKE_RCDEFINE
+
+#ifndef CMAKE_RCDEFINE_NO_QUOTED_STRINGS
+// This block can only be compiled if CMAKE_RCDEFINE preprocesses
+// to a double quoted string
STRINGTABLE
BEGIN
- 1 CMAKE_RCDEFINE
+ 1026 CMAKE_RCDEFINE
END
+#endif
+
#else
#error "resource compiler did not get defines from command line!"
#endif