[CSCRIPT][WSCRIPT] Sync with Wine Staging 3.3. CORE-14434
[reactos.git] / base / applications / cmdutils / wscript / CMakeLists.txt
1
2 list(APPEND SOURCE
3 arguments.c
4 host.c
5 main.c
6 precomp.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 win32gui UNICODE)
14 add_importlibs(wscript shell32 oleaut32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
15 add_dependencies(wscript stdole2 wscript_idlheader)
16 add_pch(wscript precomp.h SOURCE)
17 add_cd_file(TARGET wscript DESTINATION reactos/system32 FOR all)