]> git.saurik.com Git - apple/javascriptcore.git/blame - PlatformWinCE.cmake
JavaScriptCore-1097.3.3.tar.gz
[apple/javascriptcore.git] / PlatformWinCE.cmake
CommitLineData
14957cd0
A
1LIST(APPEND JavaScriptCore_SOURCES
2 jit/ExecutableAllocator.cpp
14957cd0
A
3)
4
5IF (ENABLE_JIT AND WTF_CPU_ARM)
6 ADD_CUSTOM_COMMAND(
7 OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
8 MAIN_DEPENDENCY ${JAVASCRIPTCORE_DIR}/create_jit_stubs
9 DEPENDS ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp
10 COMMAND ${PERL_EXECUTABLE} ${JAVASCRIPTCORE_DIR}/create_jit_stubs --prefix=MSVC ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp > ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
11 VERBATIM)
12
13 ADD_CUSTOM_COMMAND(
14 OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
15 MAIN_DEPENDENCY ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
16 COMMAND armasm -nologo ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
17 VERBATIM)
18
19 LIST (APPEND JavaScriptCore_SOURCES ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj)
20ENDIF ()