Skip to content

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

License

Notifications You must be signed in to change notification settings

strogo/wxbuild-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%