Skip to content

resoptions

Jason Perkins edited this page Apr 14, 2015 · 7 revisions

Home > [Project API](Project API) > resoptions


resoptions

The resoptions function passes arguments directly to the resource compiler command line without translation.

resoptions { "options" }

If a project includes multiple calls to resoptions the lists are concatenated, in the order in which they appear in the script.

Applies To

Solutions, projects, configurations

Parameters

options is a list of resource compiler flags and options, specific to a particular compiler.

Examples

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.

configuration { "linux", "gmake" }
  resoptions { "`wx-config --cxxflags`", "-ansi", "-pedantic" }

Clone this wiki locally