2014-11-08 11:23:02 +00:00
|
|
|
|
2018-09-30 23:11:58 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
|
2014-11-08 11:23:02 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
arguments.c
|
|
|
|
host.c
|
|
|
|
main.c
|
2018-03-25 11:48:58 +00:00
|
|
|
precomp.h)
|
2014-11-08 11:23:02 +00:00
|
|
|
|
|
|
|
add_executable(wscript ${SOURCE} rsrc.rc)
|
|
|
|
add_idl_headers(wscript_idlheader ihost.idl)
|
|
|
|
add_typelib(ihost.idl)
|
|
|
|
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ihost.tlb)
|
2024-05-21 16:33:42 +00:00
|
|
|
target_link_libraries(wscript uuid wine oldnames)
|
2015-03-29 07:48:38 +00:00
|
|
|
set_module_type(wscript win32gui UNICODE)
|
2024-05-19 11:57:47 +00:00
|
|
|
add_delay_importlibs(wscript shlwapi)
|
2015-03-29 13:53:55 +00:00
|
|
|
add_importlibs(wscript shell32 oleaut32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
2014-11-08 11:23:02 +00:00
|
|
|
add_dependencies(wscript stdole2 wscript_idlheader)
|
2018-03-25 11:48:58 +00:00
|
|
|
add_pch(wscript precomp.h SOURCE)
|
2014-11-08 11:23:02 +00:00
|
|
|
add_cd_file(TARGET wscript DESTINATION reactos/system32 FOR all)
|