ad2ae928d7c9c02e3479eb8fde5636b83fff314a
[WebKit-https.git] / Tools / TestWebKitAPI / PlatformMac.cmake
1 set(TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
2 set(TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY_WTF "${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}")
3
4 include_directories(
5     ${DERIVED_SOURCES_DIR}/ForwardingHeaders
6     "${WTF_DIR}/icu"
7 )
8
9 set(test_main_SOURCES
10     ${TESTWEBKITAPI_DIR}/mac/mainMac.mm
11 )
12
13 find_library(CARBON_LIBRARY Carbon)
14 find_library(COCOA_LIBRARY Cocoa)
15 find_library(COREFOUNDATION_LIBRARY CoreFoundation)
16 list(APPEND test_wtf_LIBRARIES
17     ${CARBON_LIBRARY}
18     ${COCOA_LIBRARY}
19     ${COREFOUNDATION_LIBRARY}
20     libicucore.dylib
21 )