Place these files in the same folder. If using the TGZ option place those file here also. The HDF4WindowsCMAKE.cmake is an example configuration to build a SHARED version of hdf4 on a Windows 64 machine with VS2010 as a "Release With Debug Information" configuration and expects the external libraries to be TGZ files. Edit this file to change machine information and configure options. The source of HDF4 will be a subdirectory here (i.e. hdf4_2_10). Execute the following line from a command prompt: ctest -S HDF518WindowsRWDICMake.cmake,hdf4_2_10 -C Release -V -O hdf4.log NOTE: 1. This is the script version of ctest "-S". 2. HDF4WindowsCMake.cmake is the configuration file which calls CTestScript.cmake. 3. hdf4_2_10 is the hdf4 source folder. The HDF4WindowsCMake.cmake expects it to exist. This can be changed inside the HDF4WindowsCMake.cmake file. 4. "-C Release" must match the setting "CTEST_BUILD_CONFIGURATION" in the HDF4WindowsCMake.cmake file. 5. "-V" indicates verbose, more verbose would be "-VV". 6. "-O hdf4.log" is to save output to a log file.