Make DLLLauncherMain executables dependent on dll
[WebKit-https.git] / Source / JavaScriptCore / shell / PlatformWin.cmake
1 include_directories(./ ${JavaScriptCore_INCLUDE_DIRECTORIES})
2 add_library(jscLib SHARED ${JSC_SOURCES})
3
4 list(APPEND JSC_LIBRARIES
5     Winmm
6 )
7
8 target_link_libraries(jscLib ${JSC_LIBRARIES})
9 set_target_properties(jscLib PROPERTIES FOLDER "JavaScriptCore")
10 set_target_properties(jscLib PROPERTIES OUTPUT_NAME "jsc${DEBUG_SUFFIX}")
11
12 if (${WTF_PLATFORM_WIN_CAIRO})
13     add_definitions(-DWIN_CAIRO)
14 endif ()
15
16 set(JSC_SOURCES ${JAVASCRIPTCORE_DIR}/JavaScriptCore.vcxproj/jsc/DLLLauncherMain.cpp)
17 set(JSC_LIBRARIES shlwapi)
18 add_definitions(-DUSE_CONSOLE_ENTRY_POINT)
19
20 set(JSC_OUTPUT_NAME "jsc${DEBUG_SUFFIX}")