- Install Dependencies
- Archlinux:
pacman -s git make cmake gcc qt6-base - Debian/Ubuntu/Mint:
apt install git make cmake g++ qt6-base-dev - Fedora:
yum install git make cmake gcc qt6-qtbase-devel
- Archlinux:
- Initilize the repository
git clone https://github.com/Puxtril/TexViewer && cd TexViewer- Initilize the submodules
cd libgit submodule update --init --depth 1
- Compile
- Create a folder to compile (can be anywhere), then
cdinto it. cmake <path_to_repo> -DCMAKE_BUILD_TYPE=Releasecmake --build . -j8- The
-j8flag adds multi-threading
- The
- Create a folder to compile (can be anywhere), then
- Install vcpkg and Packages
- Open terminal in a directory to clone/install vcpkg. Binaries will be installed here.
git clone https://github.com/microsoft/vcpkg.gitandcd vcpkg- Initilize vcpkg with
.\bootstrap-vcpkg.bat - Install Qt with
.\vcpkg.exe install qtbase
- Initilize the repository
git clone https://github.com/Puxtril/TexViewer && cd TexViewer- Initilize the submodules
cd libgit submodule update --init --depth 1
- Compile
- Create a folder to compile (can be anywhere), then
cdinto it. cmake <path_to_repo> -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=<vcpkg_install_dir>\scripts\buildsystems\vcpkg.cmakecmake --build . -j8- The
-j8flag adds multi-threading
- The
- Create a folder to compile (can be anywhere), then