-
Notifications
You must be signed in to change notification settings - Fork 21
resoptions
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > resoptions
The resoptions function passes arguments directly to the resource compiler command line without translation.
#!lua
resoptions { "options" }
If a project includes multiple calls to resoptions the lists are concatenated, in the order in which they appear in the script.
Solutions, projects, configurations
options is a list of resource compiler flags and options, specific to a particular compiler.
Use pkg-config
style configuration when building on Linux with GCC. Build options are always compiler specific and should be targeted to a particular toolset.
#!lua
configuration { "linux", "gmake" }
resoptions { "`wx-config --cxxflags`", "-ansi", "-pedantic" }