Code Monkey home page Code Monkey logo

pogocmp's Introduction

PoGoCmp

Build Status Build status codecov

A simple command-line tool for Pokémon GO. Motivation for this project was mainly to keep my fingers warm with modern C++ and its ecosystem (build system, testing, CI, package manager, acknowledged libraries) even though it might not be the easiest nor the fastest approach. The aim is to have a proper cross-platform (incl. mobile OSs) GUI application at some point (GUI probably implemented using Cocos2d-x).

Supported platforms

  • Windows & MSVC
  • *nix & GCC/Clang (macOS untested currently)

Prerequisites

  • CMake (3.0.2 or newer)
  • C++17-capable compiler

Dependencies

The dependencies for the project are obtained using vcpkg. Obtain vcpkg if necessary:

> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg
> .\bootstrap-vcpkg.bat (or ./bootstrap-vcpkg.sh on *nix)

and install the dependencies:

> set VCPKG_DEFAULT_TRIPLET=x64-windows (x86 by default)
> .\vcpkg.exe install nlohmann-json range-v3

Configuration

See the beginning of the root CMakeLists.txt for the build options.

mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake -DEXAMPLE_OPTION=1

Building

Either

cd build
cmake --build . --config RelWithDebInfo

or simply perform Installing as described below, if you are simply interested in the executables.

Installing

Use CMAKE_INSTALL_PREFIX (defaults to <projectDir>/installed) to control the installation location. Delete build/CMakeCache.txt if changing this between builds.

cd build
cmake --build . --target INSTALL --config RelWithDebInfo

Testing

If building of tests was enabled (BUILD_TESTS=1, on by default), simply run ctest in the build directory:

cd build
ctest --verbose

Running

Assuming current directory <projectDir>/build and CMAKE_INSTALL_PREFIX was not modified:

../installed/bin/PoGoCmpCli --help

pogocmp's People

Contributors

stinkfist0 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.