added wmi.cpp in Cmake