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