At present, Linux is our primary supported build platform. There is now basic windows support but is not our primary focus.
- libzmq-4.2.3
- cppzmq-4.3.0
- boost-1.55
- cmake-3.2
Other versions may work but are untested.
This repository includes a modified FindZeroMQ.cmake module, which finds the libzmq headers and libraries, as well as setting a cmake variable CPPZMQ_INCLUDE_DIRS based on an environment variable $CPPZMQ_INCLUDE. This locates cppzmq headers such as zmq.hpp. Setting this environment variable is the easiest way to set everything up. This repo also uses the cmake standard FindBoost.cmake module.
At UTSALA we build and deploy packages using rez (https://github.com/nerdvegas/rez), which takes care of resolving package dependencies and building variants, and the build destination path:
rez-build -i
However, provided your environment is setup correctly, you should also be able to build via the standard cmake process:
mkdir build
cd build
cmake ..
make DESTDIR=/install/path install
or
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/install/path ..
make install
Requirements
mkdir build
cd build
SET CPPZMQ_INCLUDE=C:/install/path/cppzmq
SET LIBZMQ_INCLUDE_DIR=C:/install/path/libzmq/include
SET LIBZMQ_LIB_DIR=C:/install/path/libzmq-v140-mt-4_3_2.lib
cmake -DCMAKE_INSTALL_PREFIX="C:/install/path" -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release --target install -- /M:16
Find Boost will often automatically find USD Version of Boost. By default the USD repo doesnt install Boost-Serialization.