Skip to content

A test project showcasing C++ development with CMake and wxWidgets, using Visual Studio 2022.

Notifications You must be signed in to change notification settings

gpietz/wxTest2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wxTest2024


This is a small test project aimed at exploring the process of creating a C++ project using CMake and the wxWidgets library. For this project, I utilized Visual Studio 2022 Community Edition as the compiler. However, please note that I have not tested it with MinGW and Linux, so there may be a need for some modifications if you plan to use those platforms.

In the current state of the project, there is no longer a requirement to pre-install wxWidgets. I have updated the CMake script to handle all the necessary tasks, including compiling the entire project. Additionally, I have included two CMD scripts that demonstrate how to compile and run the project. However, I will also provide you with a brief set of instructions in the next section.

Compiling the project

To compile the project using Visual Studio 2022 Community Edition, simply enter the following command in your command line prompt:

mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" 
cmake --build . --config Release

After that, you will find the executable in the Release folder within the build directory.

About

A test project showcasing C++ development with CMake and wxWidgets, using Visual Studio 2022.

Resources

Stars

Watchers

Forks