florianvazelle / mosaic

A C++ cli program for creating photomosaic images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • A starting point for C++ projects using SDL2.
  • Uses conan.io to obtain and setup libraries.
pip3 install conan
  • Uses CMake for build system creation.

Quickstart

Windows : auto.bat # or double-click

Linux : ./auto.sh

Manual start

From a command line, at the root of this project.

Make a directory for temporary build files.

mkdir build

Change into that directory

cd build

Ask conan to install libraries, according to conanfile.txt

conan install .. --build missing

Ask CMake to make a build system (build files will be in build folder. .sln file for Visual Studio)

  • Windows
cmake .. -G "Visual Studio 14 2015 Win64"
  • Linux
cmake .. -G "Unix Makefiles
  • Any (auto select build system)
cmake ..

Do the build

  • Visual Studio, manually
    • open the directory and hit build
  • Ask CMake to ask the build system to build (OPTIONAL)
cmake --build . --config Debug

Other resources

About

A C++ cli program for creating photomosaic images


Languages

Language:C++ 89.9%Language:Shell 6.3%Language:CMake 2.8%Language:Batchfile 1.0%