mirror of
https://github.com/cculianu/Fulcrum.git
synced 2026-08-17 13:07:35 +02:00
- New class: ZmqSubNotifier which only does something if libzmq was enabled at compile-time - Fulcrum.pro now tries to auto-detect libzmq using pkg-config (on unix). One can override this auto-detection with `LIBS=-L/path/to/zmqlibdir -lzmq` - App now compiles-in the commit hash used to build it (Unix only). Auto-detected on unix only. On Windows the commit hash must be specified as a DEFINE. - Added -v/--version CLI arg to print extended information about which libs the app was built against, including Fulcrum's own commit hash. - Updated static docker builds to link-in a statically built libzmq - App now prints what libs it contains / is using at startup to the log.
10 lines
213 B
C++
10 lines
213 B
C++
#include <iostream>
|
|
#include <zmq.h>
|
|
|
|
int main()
|
|
{
|
|
int maj, min, patch;
|
|
zmq_version(&maj, &min, &patch);
|
|
std::cout << "ZMQ Version: " << maj << "." << min << "." << patch << std::endl;
|
|
return 0;
|
|
}
|