https://gitee.com/mirrors_fltk/fltk.git
codeblock中有fltk项目开发模板,可以快速构建项目
https://gitee.com/sofu456/wxWidgets.git
git submodule update --init --recursive
打开demo和sample
set(wxBUILD_SAMPLES ALL)
set(wxBUILD_DEMOS ON)
build/options.cmake文件中,设置share或者static
wx_option(wxBUILD_SHARED “Build wx libraries as shared libs” OFF)
wx_option(wxBUILD_USE_STATIC_RUNTIME “Link using the static runtime library” ON)
wxfrombuilder配置fpb文件构建UI
源码构建(github上有安装包可以下载)
find_package找不到wxwidget可以改成如下配置,指定绝对路径
set(wxWidgets_INCLUDE_DIRS E:/Opensource/wxWidgets/include)
set(wxWidgets_LIBRA