mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00

The regression was unhidden by MSI-winesync 1.5.10 almost 7years ago:8939969e21
== SVN r57070 Finally we can fix it by adding MS enumerator extension to Jscript. Many thanks to the patches author Andreas Maier <staubim@quantentunnel.de> JIRA-nick: andy-123 fix picked from commit 0.4.12-RC-18-g9ebb42a4c0
It went afterward into master in slightly modified form as 0.4.13-dev-890-g83dcae1
But I decided to take the older state from 0.4.12RC, so that I do not have to risk touching releases/0.4.12 again to sync to "latest&greatest". Due to the changed PROPF_* defines in jscript.h, I felt most safe by porting back also: 0.4.10-dev-188-gc6f49f5
0.4.10-dev-152-g3f071cc
0.4.9-dev-248-g8dba275
0.4.9-dev-120-g004d830fe9
[INCLUDE/WINE] Import heap.h from Wine Staging 3.3 0.4.8-dev-722-g3381ee4
59 lines
1.3 KiB
CMake
59 lines
1.3 KiB
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D_USE_MATH_DEFINES)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
spec2def(jscript.dll jscript.spec)
|
|
|
|
list(APPEND SOURCE
|
|
activex.c
|
|
array.c
|
|
bool.c
|
|
cc_parser.tab.c
|
|
compile.c
|
|
date.c
|
|
decode.c
|
|
dispex.c
|
|
engine.c
|
|
enumerator.c
|
|
error.c
|
|
function.c
|
|
global.c
|
|
jscript.c
|
|
jscript_main.c
|
|
json.c
|
|
jsregexp.c
|
|
jsstr.c
|
|
jsutils.c
|
|
lex.c
|
|
math.c
|
|
number.c
|
|
object.c
|
|
parser.tab.c
|
|
regexp.c
|
|
string.c
|
|
vbarray.c
|
|
precomp.h)
|
|
|
|
list(APPEND jscript_rc_deps
|
|
${CMAKE_CURRENT_SOURCE_DIR}/jscript.rgs
|
|
${CMAKE_CURRENT_SOURCE_DIR}/jscript_classes.rgs
|
|
${CMAKE_CURRENT_SOURCE_DIR}/jsglobal.rgs
|
|
${CMAKE_CURRENT_BINARY_DIR}/jsglobal.tlb)
|
|
|
|
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${jscript_rc_deps}")
|
|
|
|
add_library(jscript SHARED
|
|
${SOURCE}
|
|
rsrc.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
|
|
|
|
add_idl_headers(jscript_idlheader jscript_classes.idl)
|
|
add_typelib(jsglobal.idl)
|
|
add_dependencies(jscript jscript_idlheader stdole2)
|
|
set_module_type(jscript win32dll)
|
|
target_link_libraries(jscript uuid wine)
|
|
add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
|
|
add_pch(jscript precomp.h SOURCE)
|
|
add_cd_file(TARGET jscript DESTINATION reactos/system32 FOR all)
|