wo1fsea / CppTexturePacker

A C++ Texture Packer Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CppTexturePacker build status

A C++ Texture Packer Toolkit (The C++ version of PyTexturePacker)

Build

  1. Install vcpkg
> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg

PS> .\bootstrap-vcpkg.bat
Linux:~/$ ./bootstrap-vcpkg.sh
  1. Use Vcpkg to Install Dependencies
PS> .\vcpkg install boost-test boost-format boost-filesystem cimg libpng libplist libjpeg-turbo pybind11 utfcpp
Linux:~/$ ./vcpkg install boost-test boost-format boost-filesystem cimg libpng libplist libjpeg-turbo pybind11 utfcpp
  1. Use CMake to Build
> cd CppTexturePacker
> mkdir ./build
> cd ./build 
> cmake -DCMAKE_TOOLCHAIN_FILE="[your_vcpkg_root]/scripts/buildsystems/vcpkg.cmake" ../ 
> cmake --build ./
> ctest

About

A C++ Texture Packer Toolkit

License:MIT License


Languages

Language:C++ 92.9%Language:CMake 6.3%Language:C 0.3%Language:Batchfile 0.2%Language:Shell 0.2%