068546d8f86b4b7e64866cb7b12236f794930a39
[platform/core/uifw/dali-adaptor.git] / build / tizen / profiles / windows-profile.cmake
1 # PROFILE: WINDOWS
2
3 # Set the sources
4 SET( SOURCES
5         ${adaptor_accessibility_common_src_files}
6         ${adaptor_accessibility_windows_src_files}
7         ${adaptor_adaptor_common_src_files}
8         ${adaptor_clipboard_common_src_files}
9         ${adaptor_framework_generic_src_files}
10         ${devel_api_src_files}
11         ${adaptor_devel_api_text_abstraction_src_files}
12         ${adaptor_graphics_common_src_files}
13         ${adaptor_graphics_gles_src_files}
14         ${adaptor_haptics_common_src_files}
15         ${adaptor_imaging_common_src_files}
16         ${adaptor_input_common_src_files}
17         ${adaptor_integration_api_src_files}
18         ${adaptor_legacy_common_src_files}
19         ${adaptor_network_common_src_files}
20         ${adaptor_offscreen_common_src_files}
21         ${adaptor_public_api_src_files}
22         ${adaptor_sensor_common_src_files}
23         ${adaptor_styling_common_src_files}
24         ${adaptor_system_common_src_files}
25         ${adaptor_system_windows_src_files}
26         ${adaptor_text_common_src_files}
27         ${adaptor_resampler_src_files}
28         ${adaptor_vector_animation_common_src_files}
29         ${adaptor_vector_image_common_src_files}
30         ${adaptor_video_common_src_files}
31         ${adaptor_web_engine_common_src_files}
32         ${adaptor_window_system_common_src_files}
33         ${adaptor_trace_common_src_files}
34         ${adaptor_thread_common_src_files}
35         ${devel_api_text_abstraction_src_files}
36         ${static_libraries_glyphy_src_files}
37         ${static_libraries_libunibreak_src_files}
38         ${adaptor_windows_platform_src_files}
39         ${adaptor_adaptor_windows_src_files}
40         ${adaptor_window_system_windows_src_files}
41         ${adaptor_graphics_windows_src_files}
42         ${adaptor_input_windows_src_files}
43         ${adaptor_clipboard_windows_src_files}
44         ${adaptor_imaging_windows_src_files}
45         ${adaptor_addons_common_src_files}
46         ${adaptor_addons_dummy_src_files}
47 )
48
49 # Builds the c files as c++
50 SET_SOURCE_FILES_PROPERTIES( ${static_libraries_libunibreak_src_files} PROPERTIES LANGUAGE CXX )
51
52 FIND_PACKAGE( pthreads REQUIRED )
53 FIND_PACKAGE( curl REQUIRED )
54 FIND_LIBRARY( GETOPT_LIBRARY NAMES getopt )
55 FIND_LIBRARY( EXIF_LIBRARY NAMES libexif )
56
57 FIND_PACKAGE( png REQUIRED )
58 FIND_PACKAGE( gif REQUIRED )
59 FIND_PACKAGE( jpeg REQUIRED )
60 FIND_LIBRARY( TURBO_JPEG_LIBRARY NAMES turbojpeg )
61
62 FIND_PACKAGE( unofficial-fontconfig REQUIRED )
63 FIND_PACKAGE( freetype REQUIRED )
64 FIND_PACKAGE( harfbuzz REQUIRED )
65 FIND_LIBRARY( FRIBIDI_LIBRARY NAMES fribidi )
66
67 FIND_PACKAGE( unofficial-angle REQUIRED )
68 FIND_PACKAGE( unofficial-cairo REQUIRED )
69
70 FIND_PACKAGE( WebP REQUIRED )
71 SET(DALI_WEBP_AVAILABLE 1)
72 ADD_DEFINITIONS( -DDALI_WEBP_AVAILABLE )
73
74 # Set the linker flags
75 SET( REQUIRED_LIBS
76         PThreads4W::PThreads4W
77         CURL::libcurl
78         ${GETOPT_LIBRARY}
79         ${EXIF_LIBRARY}
80         ${PNG_LIBRARIES}
81         ${GIF_LIBRARIES}
82         JPEG::JPEG
83         ${TURBO_JPEG_LIBRARY}
84         unofficial::fontconfig::fontconfig
85         Freetype::Freetype
86         harfbuzz::harfbuzz
87         ${FRIBIDI_LIBRARY}
88         unofficial::angle::libEGL
89         unofficial::angle::libGLESv2
90         unofficial::cairo::cairo
91         WebP::webp
92         WebP::webpdemux
93         dali2-core::dali2-core
94 )