CMake file must be called CMakeLists.txt
. Casing must match.
cmake -S . -B ./out/build
make -C ./out/build
git submodule add <repo path> ./external/folder-name
cd submodule_directory
git checkout v1.0
cd ..
git add submodule_directory
git commit -m "moved submodule to v1.0"
git push
git submodule update --init --recursive
Have to run cpack
from the build folder.
If you use the CMake extension in VSCode, it will automatically rebuild for you
on any change.
You need to install glew dev
sudo apt install libglew-dev
You need to install some stuff
For linux
apt-get install --yes --no-install-recommends build-essential cmake ninja-build libjpeg-dev libopenjp2-7-dev qtbase5-dev gobject-introspection libglib2.0-dev libgtk-3-dev libgirepository1.0-dev libnss3-dev ca-certificates libcurl4-nss-dev liblcms2-dev libboost-container-dev
mkdir -p build && cd build
cmake -G Ninja ..
ninja