2 add_typelib(jsglobal.idl)
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
13 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
17 spec2def(jscript.dll jscript.spec)
39 ${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
41 add_library(jscript SHARED
45 set_module_type(jscript win32dll)
47 target_link_libraries(jscript wine)
49 target_link_libraries(jscript uuid)
52 add_importlibs(jscript
61 add_pch(jscript jscript.h)
62 # jsglobal.tlb needs stdole2.tlb
63 add_dependencies(jscript stdole2)
64 add_cd_file(TARGET jscript DESTINATION reactos/system32 FOR all)
67 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
68 #allow_warnings(jscript)
69 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
72 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/jsglobal.tlb)