lang:cpp:wxwidgets
Compilation
Toutes les variables CMake
sont préfixés par wx
.
wxUSE_UNICODE:BOOL=ON
, wxBUILD_USE_STATIC_RUNTIME:BOOL=OFF
, wxUSE_EXCEPTIONS:BOOL=ON
, …
- Liste des interfaces graphiques disponibles
Lire le fichier build/cmake/toolkit.cmake
:
if(WIN32) set(wxDEFAULT_TOOLKIT msw) set(wxTOOLKIT_OPTIONS msw gtk2 gtk3 qt) set(wxPLATFORM WIN32) elseif(APPLE AND IPHONE) set(wxDEFAULT_TOOLKIT osx_iphone) set(wxTOOLKIT_OPTIONS osx_iphone) set(wxPLATFORM OSX) elseif(APPLE) set(wxDEFAULT_TOOLKIT osx_cocoa) set(wxTOOLKIT_OPTIONS osx_cocoa gtk2 gtk3 gtk4 qt) set(wxPLATFORM OSX) elseif(UNIX) set(wxDEFAULT_TOOLKIT gtk3) set(wxTOOLKIT_OPTIONS gtk2 gtk3 gtk4 motif qt) set(wxPLATFORM UNIX) else() message(FATAL_ERROR "Unsupported platform") endif()
lang/cpp/wxwidgets.txt · Dernière modification : 2022/08/24 12:35 de root