1
2list(APPEND SOURCE
3    arguments.c
4    host.c
5    main.c
6    precomp.h)
7
8add_executable(wscript ${SOURCE} rsrc.rc)
9add_idl_headers(wscript_idlheader ihost.idl)
10add_typelib(ihost.idl)
11set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ihost.tlb)
12target_link_libraries(wscript uuid wine)
13set_module_type(wscript win32gui UNICODE)
14add_importlibs(wscript shell32 oleaut32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
15add_dependencies(wscript stdole2 wscript_idlheader)
16add_pch(wscript precomp.h SOURCE)
17add_cd_file(TARGET wscript DESTINATION reactos/system32 FOR all)
18