2013-09-11 12:44:58 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2020-03-26 13:40:39 +00:00
|
|
|
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
|
2013-09-11 12:44:58 +00:00
|
|
|
spec2def(scrrun.dll scrrun.spec)
|
|
|
|
add_idl_headers(scrrun_idlheader scrrun.idl)
|
|
|
|
add_typelib(scrrun.idl)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dictionary.c
|
|
|
|
filesystem.c
|
2020-05-09 21:37:40 +00:00
|
|
|
scrrun.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2013-09-11 12:44:58 +00:00
|
|
|
|
|
|
|
list(APPEND scrrun_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scrrun.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scrrun_tlb.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/scrrun.tlb)
|
|
|
|
|
|
|
|
set_source_files_properties(scrrun.rc PROPERTIES OBJECT_DEPENDS "${scrrun_rc_deps}")
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(scrrun MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-10 12:19:56 +00:00
|
|
|
scrrun.rc
|
2020-05-09 21:37:40 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/scrrun_stubs.c
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/scrrun.def)
|
|
|
|
|
2013-09-11 12:44:58 +00:00
|
|
|
add_dependencies(scrrun scrrun_idlheader stdole2)
|
|
|
|
set_module_type(scrrun win32dll)
|
|
|
|
target_link_libraries(scrrun uuid wine)
|
|
|
|
add_importlibs(scrrun oleaut32 version advapi32 msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(scrrun precomp.h "${PCH_SKIP_SOURCE}")
|
2013-09-11 12:44:58 +00:00
|
|
|
add_cd_file(TARGET scrrun DESTINATION reactos/system32 FOR all)
|