While trying to execute the tests I struggled a bit with their compilation.
The documentation (tests/README.md) says:
Building tests in Windows
Install CMAKE
CMD> CMAKE libzmq/tests
CMD> tests.sln
CMD> # build all projects in the solution
However I was faicing linking error on libzmq.lib.
After researches I found out these comments in tests/CMakeLists.txt:
# This is the output for Debug dynamic builds on Visual Studio 6.0
# You should provide the correct directory, don't know how to do it automatically
find_path(LIBZMQ_PATH "libzmq.lib" PATHS "../bin/Win32/Debug/v120/dynamic")
I just changed v120 to v140 as I am under Visual studio 2015 and it worked.
The thing is that it was the first time I used CMAKE so I spent some time trying to spot it.
Would it be possible to add a line about that in tests/README.md, or to make this fully automatic?
While trying to execute the tests I struggled a bit with their compilation.
The documentation (tests/README.md) says:
However I was faicing linking error on libzmq.lib.
After researches I found out these comments in tests/CMakeLists.txt:
I just changed v120 to v140 as I am under Visual studio 2015 and it worked.
The thing is that it was the first time I used CMAKE so I spent some time trying to spot it.
Would it be possible to add a line about that in tests/README.md, or to make this fully automatic?