Nix upstreaming - Adding build files and supporting scripts
[WebKit-https.git] / Source / Platform / PlatformNix.cmake
1 set(Platform_INCLUDES
2     nix
3     ${CMAKE_BINARY_DIR} # For cmakeconfig.h
4     ${WEBCORE_DIR}/platform/graphics/ # For IntRect.h
5     ${WTF_DIR} # For config.h
6 )
7
8 set(Platform_HEADERS
9     nix/public/AudioDevice.h
10     nix/public/Canvas.h
11     nix/public/Color.h
12     nix/public/Common.h
13     nix/public/FFTFrame.h
14     nix/public/Gamepad.h
15     nix/public/Gamepads.h
16     nix/public/MediaPlayer.h
17     nix/public/MultiChannelPCMData.h
18     nix/public/Platform.h
19     nix/public/Rect.h
20     nix/public/Size.h
21     nix/public/ThemeEngine.h
22 )
23
24 set(Platform_SOURCES
25     nix/src/DefaultWebThemeEngine.cpp
26     nix/src/Platform.cpp
27 )
28
29 install(FILES ${Platform_HEADERS} DESTINATION include/${WebKit2_OUTPUT_NAME}-${PROJECT_VERSION_MAJOR}/NixPlatform)