c++dllcmakegdcm

build gdcm 2.4.1 with cmake and msvc 2010 can't get all the dlls


I build the gdcm following the instruction, no c# wrapping, with GDCM_BUILD_SHARED_LIBS checked (using the cmake-gui), after configured and generated, open the msvc2010 and buildall, I find the content of the build_dir\bin\debug are all static libs, but where is the dlls? I know little about the cmake, only know how to use the cmake_gui, the problem drives me crazy, any help is appreciated. I have built the gdcm with msvc2008 successfully and it works well, with the dlls generated in the build_dir\bin\debug or build_dir\bin\release.


Solution

  • I should read the tuturial of cmake first, I checked the GDCM_BUILD_SHARED_LIBS, but forgot to reconfigure it, sorry for the foolishness.