1. Configured with

     mkdir build
     cd build
     cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=d:/usr ..

2. "cmake --build ." runs cleanly, but builds *.cpp.obj files instead
   of *.o.

3. Install with:

     cd build
     cmake -DCMAKE_INSTALL_DO_STRIP=1 -DCMAKE_INSTALL_PREFIX=d:\usr\test-uchardet-0.0.6 -P cmake_install.cmake

4. uchardet.exe and libuchardet.dll depend on libstdc++ and libgcc
   DLLs.

   To fix, reconfigured:

     cd build
     make clean
     cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=d:/usr .. -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..
     cmake --build .

   This succeeds for uchardet.exe, but not for libuchardet.dll.

   To fix, reconfigured:

     cd build
     make clean
     cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=d:/usr .. -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc" -DCMAKE_SHARED_LINKER_FLAGS="-static-libstdc++ -static-libgcc" ..
     cmake --build .

   This succeeds!

5. Stripped libuchardet.a manually.

----------------------------------------------------------------------

1. Configured with

     mkdir build
     cd build
     cmake -G "MinGW Makefiles" -DCMAKE_MAKE_PROGRAM=d:\usr\bin\make.exe -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=d:/usr .. -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc" -DCMAKE_SHARED_LINKER_FLAGS="-static-libstdc++ -static-libgcc" ..
     cmake --build .

   (Cmake is installed in \usr\cmake-2.8.10.2-win32-x86, which is not
   on Path, so need to invoke it through full absolute file name.)

2. "cmake --build ." runs cleanly, but builds *.cpp.obj files instead
   of *.o.

3. Install with:

     cd build
     cmake -DCMAKE_MAKE_PROGRAM=d:\usr\bin\make.exe -DCMAKE_INSTALL_DO_STRIP=1 -DCMAKE_INSTALL_PREFIX=d:\usr\test-uchardet-0.0.6 -P cmake_install.cmake

4. Stripped libuchardet.a manually.

5. Created formatted man page in share/man/cat1.
