1 2spec2def(framedyn.dll framedyn.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 main.c 6 chstring.cpp 7 provider.cpp 8 ${CMAKE_CURRENT_BINARY_DIR}/framedyn.def) 9 10add_library(framedyn MODULE ${SOURCE}) 11target_link_libraries(framedyn cpprt) 12set_target_cpp_properties(framedyn WITH_EXCEPTIONS) 13set_module_type(framedyn win32dll UNICODE) 14add_importlibs(framedyn oleaut32 msvcrt kernel32 ntdll) 15add_cd_file(TARGET framedyn DESTINATION reactos/system32/wbem FOR all) 16