Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 888 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 888 Bytes

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