spec2def(sti.dll sti.spec)
-add_library(sti SHARED
+list(APPEND SOURCE
regsvr.c
sti.c
sti_main.c
- sti_wia.idl
${CMAKE_CURRENT_BINARY_DIR}/sti.def)
+add_rpcproxy_library(stiproxy sti_wia.idl)
+
+add_library(sti SHARED ${SOURCE})
+
set_entrypoint(sti 0)
target_link_libraries(sti
- sti_proxy
+ stiproxy
wine
uuid
- pseh)
+ ${PSEH_LIB})
add_importlibs(sti
ole32
kernel32
ntdll)
-
-
-rpcproxy(sti sti_wia.idl)
-add_cab_target(sti 1)
+add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)