Skip to content

Y2Kill/VSCode-wxWidgets-MinGW-W64-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode-wxWidgets-MinGW-W64-template

Basic application tempplate for VSCode. Used: wxWidgets and MinGW-W64

Don't expect much of this template - I'm not "true" programmer.

This is simple project template for VSCode with MinGW-W64 compiler and wxWidgets C++ framework.

This template was made with great help of video this tutorial.

I added .tutorials directory with some examples:

  1. zetcode.com. Almost all of them just copypaste. I made some slight changes to make some of them work. Some examples use depricated features of wxWidgets and don' work as expected - not the worst sandbox to start playing I think :);
  2. Book Cross-Platform GUI Programming with wxWidgets scroll down to find original download link;
  3. And, lot more examples here. I didn,t include them to the .tutorials directory cause they are part of wxWidgets sources.

To start using it you need:

  1. VSCode;

  2. MinGW-W64 compiler. I used this version: GCC 11.1.0 + LLVM/Clang/LLD/LLDB 12.0.0 + MinGW-w64 9.0.0 - release 2

  3. wxWidgets (better to buil it youself).

You can download a kind of "release" of this template with precompiled wxWidgets 3.1.x here

Or build and copy compilled wxWidgets DLLs into corresponding ./build/ directory.

The .vscode/settings.json file contains following settings:

  • "compilerPath" - path to your compiler bin directory;

  • "wxWidgetsRoot" - path to your wxWidgets root directory it points to "${workspaceFolder}\deps\wxWidgets" to make this template kind of "portable" change it if needed :);

  • "wxWidgetsMonoRoot" - the same as "wxWidgetsRoot" but all DLLs compiled into single file (use it if you want to link single library and forget about it :).

The .vscode/settings.json file contains settings for four build types x_64 Debug (monolitic and nonmonolitic) and x_64 Release (monolitic and nonmonolitic).

That is all - just open template directory with VSCode and happy coding :).

If you find bugs or want me to add something to this template - fell free to make bug report or pull request.

About

Basic application template with VSCode, wxWidgets, and MinGW-W64

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages