Partly implement Function.prototype.{caller,arguments} reflection proposal
[WebKit-https.git] / Source / JavaScriptCore / shell / PlatformWin.cmake
1 set(wrapper_DEFINITIONS USE_CONSOLE_ENTRY_POINT)
2
3 if (${WTF_PLATFORM_WIN_CAIRO})
4     list(APPEND wrapper_DEFINITIONS WIN_CAIRO)
5 endif ()
6
7 WEBKIT_WRAP_EXECUTABLE(jsc
8     SOURCES DLLLauncherMain.cpp
9     LIBRARIES shlwapi
10 )
11 target_compile_definitions(jsc PRIVATE ${wrapper_DEFINITIONS})
12 set(jsc_OUTPUT_NAME jsc${DEBUG_SUFFIX})
13
14 if (DEVELOPER_MODE)
15     WEBKIT_WRAP_EXECUTABLE(testapi
16         SOURCES DLLLauncherMain.cpp
17         LIBRARIES shlwapi
18     )
19     target_compile_definitions(testapi PRIVATE ${wrapper_DEFINITIONS})
20     set(testapi_OUTPUT_NAME testapi${DEBUG_SUFFIX})
21
22     WEBKIT_WRAP_EXECUTABLE(testRegExp
23         SOURCES DLLLauncherMain.cpp
24         LIBRARIES shlwapi
25     )
26     target_compile_definitions(testRegExp PRIVATE ${wrapper_DEFINITIONS})
27     set(testRegExp_OUTPUT_NAME testRegExp${DEBUG_SUFFIX})
28
29     WEBKIT_WRAP_EXECUTABLE(testmasm
30         SOURCES DLLLauncherMain.cpp
31         LIBRARIES shlwapi
32     )
33     target_compile_definitions(testmasm PRIVATE ${wrapper_DEFINITIONS})
34     set(testmasm_OUTPUT_NAME testmasm${DEBUG_SUFFIX})
35
36     WEBKIT_WRAP_EXECUTABLE(testb3
37         SOURCES DLLLauncherMain.cpp
38         LIBRARIES shlwapi
39     )
40     target_compile_definitions(testb3 PRIVATE ${wrapper_DEFINITIONS})
41     set(testb3_OUTPUT_NAME testb3${DEBUG_SUFFIX})
42
43     WEBKIT_WRAP_EXECUTABLE(testair
44         SOURCES DLLLauncherMain.cpp
45         LIBRARIES shlwapi
46     )
47     target_compile_definitions(testair PRIVATE ${wrapper_DEFINITIONS})
48     set(testair_OUTPUT_NAME testair${DEBUG_SUFFIX})
49
50     WEBKIT_WRAP_EXECUTABLE(testdfg
51         SOURCES DLLLauncherMain.cpp
52         LIBRARIES shlwapi
53     )
54     target_compile_definitions(testdfg PRIVATE ${wrapper_DEFINITIONS})
55     set(testdfg_OUTPUT_NAME testdfg${DEBUG_SUFFIX})
56 endif ()