CodeInspector uses a Wolfram Language kernel to build a .paclet
file.
CodeInspector uses CMake to generate build scripts.
Here is an example transcript using the default make generator to build CodeInspector:
cd codeinspector
mkdir build
cd build
cmake ..
cmake --build .
The result is a directory named paclet
that contains the WL package source code and a built CodeInspector .paclet
file for installing.
Inside a kernel session you may then install the paclet by evaluating:
PacletInstall["/path/to/build/paclet/CodeInspector-1.9.paclet"]
Specify MATHEMATICA_INSTALL_DIR
if you have Wolfram System installed in a non-default location:
cmake -DMATHEMATICA_INSTALL_DIR=/Applications/Mathematica.app/Contents/ ..
cmake --build .
On Windows:
cmake -DMATHEMATICA_INSTALL_DIR="C:/Program Files/Wolfram Research/Mathematica/13.1" ..
cmake --build .
You can install the paclet from CMake:
cmake --install .
This starts a kernel and calls PacletInstall
with the built .paclet file.