Shows how to create a wxWidgets application and main method with wxApp.
To build this project, open "Terminal" and type following lines:
mkdir build && cd build
cmake ..
start ApplicationAndMain2.sln
Select ApplicationAndMain2 project and type Ctrl+F5 to build and run it.
mkdir build && cd build
cmake .. -G "Xcode"
open ./ApplicationAndMain2.xcodeproj
Select ApplicationAndMain2 project and type Cmd+R to build and run it.
mkdir build && cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./ApplicationAndMain2.cbp > /dev/null 2>&1
Select ApplicationAndMain2 project and type F9 to build and run it.
mkdir build && cd build
cmake ..
cmake --build . --config Debug
./ApplicationAndMain2