2010-10-28 11:33:02 +00:00
|
|
|
|
|
|
|
ADD_TYPELIB(jsglobal jsglobal.idl)
|
2010-11-12 12:46:54 +00:00
|
|
|
add_dependencies(jsglobal stdole2)
|
2010-10-28 11:33:02 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_DLL
|
|
|
|
-D__USE_CRTIMP)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
add_library(jscript SHARED
|
|
|
|
activex.c
|
|
|
|
date.c
|
|
|
|
dispex.c
|
|
|
|
engine.c
|
|
|
|
error.c
|
|
|
|
jscript.c
|
|
|
|
jscript_main.c
|
|
|
|
jsutils.c
|
|
|
|
lex.c
|
|
|
|
parser.tab.c
|
|
|
|
math.c
|
|
|
|
number.c
|
|
|
|
object.c
|
|
|
|
regexp.c
|
|
|
|
string.c
|
|
|
|
array.c
|
|
|
|
bool.c
|
|
|
|
function.c
|
|
|
|
global.c
|
2010-10-30 16:08:19 +00:00
|
|
|
rsrc.rc
|
2010-11-02 19:58:29 +00:00
|
|
|
jscript.def)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
set_source_files_properties(jscript.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
|
|
endif()
|
2010-10-28 11:33:02 +00:00
|
|
|
|
|
|
|
set_module_type(jscript win32dll)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
target_link_libraries(jscript wine)
|
2010-10-28 11:33:02 +00:00
|
|
|
|
|
|
|
add_importlibs(jscript
|
|
|
|
msvcrt
|
|
|
|
user32
|
|
|
|
ole32
|
|
|
|
oleaut32
|
|
|
|
advapi32
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2010-11-12 12:46:54 +00:00
|
|
|
add_dependencies(jscript jsglobal)
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(jscript 1)
|