Last time I touched codelite's VS importer code was 4-5 years ago... so I doubt it will work
codelite works best with gcc so you can:
- Create an empty project and place it under wxWidgets samples folder
- Add new project to the workspace of type 'Custom Makefile'
- Right click on the newly added project and select 'Import files from directory' - navigate to the wxWidgets root samples directory and select it
- Next check the folders you wish to import (or click on the root folder and it will check all its children)
- Click OK and wait for codelite to create the project layout
Set up build for all the samples:
- Right click on the project and go to Customize -> Custom Build and set up the "Working directory" entry to to the root folder of the samples directory
- Double click on the 'Build' entry and set up the MinGW/GCC build command, for me it was:
Code: Select all
mingw32-make -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl -j8
(this is the exact command of how I built my wxWidgets)
- Hit F7 to build
You should now have a sample binary under each sub folder.
For example, the "widgets" sample will have its binary under:
Code: Select all
samples\widgets\gcc_mswudll\widgets.exe
To be able to run them you need to add wxWidgets DLL folder to your PATH environment variable
Eran