Cross-Platform Modular Application (Main app + plugins) example for C++/wxWidgets
%WXWIN%
environment variable is required. Should point to wxWidgets source folder (e.g. C:\libs\wxWidgets-svn
)vc_dll
subfolder in %WXWIN%/libs
. If you have vc_lib*
folders (contain static build of wxWidgets) then rename them temporary.Debug:
configure --enable-shared --disable-static --enable-unicode --disable-compat28 --disable-final --enable-debug
Release:
configure --enable-shared --disable-static --enable-unicode --disable-compat28 --enable-final --disable-debug
<DEMO_SOURCE_ROOT>/build
foldercm86.bat
(or cm64.bat
for x64 build, or cm.bat
which auto-detects the platform) if needed and put the correct CMake generator name to the command line which executes CMake. You can find the list of CMake generators in CMake GUI or using the CMake command line. For Visual Studio 2019 this will be Visual Studio 16 2019
. For older versions of Visual Studio it may vary depending on Visual Studio version and target architecture.cm86.bat
(or cm64.bat
for x64 build, or cm.bat
which auto-detects the platform)<DEMO_SOURCE_ROOT>/build
folder in consolecmLinux.sh
scriptmake
<DEMO_SOURCE_ROOT>/build
folder in terminalcm.sh
scriptxcodebuild build
command or build the project from XCode