This repo is part of the tutorial found in https://github.com/ActivisionGameScience/ags_conda_recipes.git
It contains two C++ executables, ags_blosc_compress
and
ags_blosc_decompress
, that link against the ags_blosc_wrapper
library
found in the repo https://github.com/ActivisionGameScience/ags_example_cpp_lib.git.
The purpose is to demonstrate:
- How to manage both in-house and third-party dependencies using
conda
, and build usingcmake
The conda
build recipe is located in
https://github.com/ActivisionGameScience/ags_conda_recipes.git.
You can use it to build, publish, and install
the conda
way.
However, you can also build and install this library by hand.
Assume that ags_example_cpp_lib
is installed in the following location:
/some/path/include/activision_game_science/*.h /some/path/lib/libags_blosc_wrapper.so
Assume that boost
and c-blosc
are similarly installed in /some/path
.
Then you can build and install with the following commands:
git clone https://github.com/ActivisionGameScience/ags_example_cpp_app.git cd ags_example_cpp_app mkdir build cd build cmake -G "Unix Makefiles" ../ -DBOOST_ROOT=/some/path -DAGS_EXAMPLE_CPP_LIB_ROOT=/some/path -DCMAKE_INSTALL_PREFIX=/some/path make make install
You will now have the following files installed:
/some/path/bin/ags_blosc_compress /some/path/bin/ags_blosc_decompress
All files are licensed under the BSD 3-Clause License as follows: