I just tried to compile HDF5 1.8.11 with Visual Studio 9 using CMake. I
need to link the library statically, thus I need to use the flag /MT for
the C compiler, however, I can't find a way to do it. I tried this:
1. Create build\ subdirectory and change into it
2. Call
cmake -G Visual Studio 9
Bernd,
Run CmakeGUI and make sure the variable BUILD_SHARED_LIBS is
OFF. Then click the Configure button and then the Generate button.
The Visual Studio solution is now ready to open and compile.
--
Mike Jackson
_
Mike Jackson
Michael,
That doesn't fix it for me. It still compiles the library with /MD.
Bernd
On 2013-05-25 19:49, Michael Jackson wrote:
Bernd,
Run CmakeGUI and make sure the variable BUILD_SHARED_LIBS is
OFF. Then click the Configure button and then the Generate button.
The Visual Studio solution