2014-09-25 15:02:29 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2014-09-25 15:02:29 +00:00
|
|
|
spec2def(jsproxy.dll jsproxy.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/jsproxy_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/jsproxy.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(jsproxy MODULE ${SOURCE} rsrc.rc)
|
2014-09-25 15:02:29 +00:00
|
|
|
set_module_type(jsproxy win32dll)
|
|
|
|
target_link_libraries(jsproxy uuid wine)
|
|
|
|
add_importlibs(jsproxy oleaut32 ole32 ws2_32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET jsproxy DESTINATION reactos/system32 FOR all)
|