CodeLite is a relatively lightweight, cross-platform IDE.
Right-click on project name and select Settings, then Customize
- Enable Custom Build: check
- Working Directory: enter path to Slicer-build, for example
~/Slicer-SuperBuild-Debug/Slicer-build
- For target
Build
: entermake
To configure the binary for the Run command, set Program: ~/Slicer-SuperBuild-Debug/Slicer-build/Slicer
under the General tab.
This requires the use of a wrapper script, as detailed here.
After setting up the wrapper script (WrapSlicer
below), change the following options:
Under Settings->General:
-
Program:
~/Slicer-SuperBuild-Debug/Slicer-build/WrapSlicer
-
Working folder:
~/Slicer-SuperBuild-Debug/Slicer-build
Under Settings->Debugger