We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad9c81 commit e801908Copy full SHA for e801908
modules/gmake2/gmake2_cpp.lua
@@ -109,7 +109,7 @@
109
['.c'] = 'SOURCES',
110
['.s'] = 'SOURCES',
111
['.m'] = 'SOURCES',
112
- ['.rc'] = 'RESOURCES',
+ ['.res'] = 'RESOURCES',
113
}
114
115
-- cache the result.
modules/gmake2/tests/test_gmake2_objects.lua
@@ -50,6 +50,22 @@ OBJECTS += $(OBJDIR)/hello.o
50
]]
51
end
52
53
+ function suite.listResoucesInProjectObjects()
54
+ files { "src/hello.rc" }
55
+ prepare()
56
+ test.capture [[
57
+# File sets
58
+# #############################################
59
+
60
+GENERATED :=
61
+RESOURCES :=
62
63
+GENERATED += $(OBJDIR)/hello.res
64
+RESOURCES += $(OBJDIR)/hello.res
65
66
+ ]]
67
+ end
68
69
70
--
71
-- Only buildable files should be listed.
0 commit comments