]> git.saurik.com Git - apple/javascriptcore.git/blob - PlatformWinCE.cmake
JavaScriptCore-1218.tar.gz
[apple/javascriptcore.git] / PlatformWinCE.cmake
1 if (ENABLE_JIT AND WTF_CPU_ARM)
2 add_custom_command(
3 OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
4 MAIN_DEPENDENCY ${JAVASCRIPTCORE_DIR}/create_jit_stubs
5 DEPENDS ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp
6 COMMAND ${PERL_EXECUTABLE} ${JAVASCRIPTCORE_DIR}/create_jit_stubs --prefix=MSVC ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp > ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
7 VERBATIM)
8
9 add_custom_command(
10 OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
11 MAIN_DEPENDENCY ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
12 COMMAND armasm -nologo ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
13 VERBATIM)
14
15 list(APPEND JavaScriptCore_SOURCES ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj)
16 endif ()