wxbuild-rs 1.0.0

Compile your wxWidgets c++ code and link with wxWidgets in build.rs files.
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 11.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • SergejJurecko/wxbuild-rs
    2 1 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SergejJurecko

To compile your wxWidgets c++ code and link with wxWidgets in build.rs files.

Supported targets: macos and x86_64-pc-windows-msvc

// Will compile all cpp files in my_cpp_folder.
// 
// MyApp is name of my class extending wxApp
// 
wxbuild_rs:build("my_cpp_folder",true, "MyApp");

Environment variables:

WX_CONFIG - path to wx-config script for non windows targets, if not set it will require wx-config to be present in $PATH

WX_DIR - on windows, path to wxWidgets folder. It assumes it was compiled static for x64 with VC.