Merge "Add to ewk api for setting/getting the User Agent by using system info library...
[framework/web/webkit-efl.git] / Source / WebKit2 / PlatformEfl.cmake
1 LIST(APPEND WebKit2StaticForDebug_SOURCES
2     Platform/efl/LoggingEfl.cpp
3     Platform/efl/ModuleEfl.cpp
4     Platform/efl/WorkQueueEfl.cpp
5     Platform/unix/SharedMemoryUnix.cpp
6
7     Platform/CoreIPC/unix/ConnectionUnix.cpp
8     Platform/CoreIPC/unix/AttachmentUnix.cpp
9
10     PluginProcess/efl/PluginProcessEfl.cpp
11     PluginProcess/efl/PluginProcessMainEfl.cpp
12
13     Shared/API/c/cairo/WKImageCairo.cpp
14
15     Shared/API/c/gtk/WKGraphicsContextGtk.cpp
16
17     Shared/cairo/ShareableBitmapCairo.cpp
18
19     Shared/efl/LayerTreeContextEfl.cpp
20     Shared/efl/NativeWebKeyboardEventEfl.cpp
21     Shared/efl/NativeWebWheelEventEfl.cpp
22     Shared/efl/NativeWebMouseEventEfl.cpp
23     Shared/efl/NativeWebTouchEventEfl.cpp
24     Shared/efl/ProcessExecutablePathEfl.cpp
25     Shared/efl/WebEventFactory.cpp
26
27     Shared/soup/PlatformCertificateInfo.cpp
28     Shared/soup/WebCoreArgumentCodersSoup.cpp
29
30     UIProcess/API/C/efl/WKView.cpp
31     
32     UIProcess/API/cpp/efl/WKEinaSharedString.cpp
33
34     UIProcess/API/C/soup/WKContextSoup.cpp
35     UIProcess/API/C/soup/WKSoupRequestManager.cpp
36
37     UIProcess/API/efl/BatteryProvider.cpp
38     UIProcess/API/efl/EwkViewImpl.cpp
39     UIProcess/API/efl/NetworkInfoProvider.cpp
40     UIProcess/API/efl/PageClientImpl.cpp
41     UIProcess/API/efl/VibrationProvider.cpp
42     UIProcess/API/efl/ewk_back_forward_list.cpp
43     UIProcess/API/efl/ewk_back_forward_list_item.cpp
44     UIProcess/API/efl/ewk_context.cpp
45     UIProcess/API/efl/ewk_cookie_manager.cpp
46     UIProcess/API/efl/ewk_download_job.cpp
47     UIProcess/API/efl/ewk_error.cpp
48     UIProcess/API/efl/ewk_favicon_database.cpp
49     UIProcess/API/efl/ewk_form_submission_request.cpp
50     UIProcess/API/efl/ewk_intent.cpp
51     UIProcess/API/efl/ewk_intent_service.cpp
52     UIProcess/API/efl/ewk_main.cpp
53     UIProcess/API/efl/ewk_navigation_data.cpp
54     UIProcess/API/efl/ewk_navigation_policy_decision.cpp
55     UIProcess/API/efl/ewk_popup_menu_item.cpp
56     UIProcess/API/efl/ewk_resource.cpp
57     UIProcess/API/efl/ewk_settings.cpp
58     UIProcess/API/efl/ewk_text_checker.cpp
59     UIProcess/API/efl/ewk_url_request.cpp
60     UIProcess/API/efl/ewk_url_response.cpp
61     UIProcess/API/efl/ewk_url_scheme_request.cpp
62     UIProcess/API/efl/ewk_view.cpp
63
64     UIProcess/cairo/BackingStoreCairo.cpp
65
66     UIProcess/efl/ContextHistoryClientEfl.cpp
67     UIProcess/efl/DownloadManagerEfl.cpp
68     UIProcess/efl/FindClientEfl.cpp
69     UIProcess/efl/FormClientEfl.cpp
70     UIProcess/efl/InputMethodContextEfl.cpp
71     UIProcess/efl/PageLoadClientEfl.cpp
72     UIProcess/efl/PagePolicyClientEfl.cpp
73     UIProcess/efl/PageUIClientEfl.cpp
74     UIProcess/efl/RequestManagerClientEfl.cpp
75     UIProcess/efl/ResourceLoadClientEfl.cpp
76     UIProcess/efl/TextCheckerEfl.cpp
77     UIProcess/efl/WebContextEfl.cpp
78     UIProcess/efl/WebFullScreenManagerProxyEfl.cpp
79     UIProcess/efl/WebInspectorProxyEfl.cpp
80     UIProcess/efl/WebPageProxyEfl.cpp
81     UIProcess/efl/WebPopupMenuProxyEfl.cpp
82     UIProcess/efl/WebPreferencesEfl.cpp
83
84     UIProcess/soup/WebCookieManagerProxySoup.cpp
85     UIProcess/soup/WebSoupRequestManagerClient.cpp
86     UIProcess/soup/WebSoupRequestManagerProxy.cpp
87
88     UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
89     UIProcess/Launcher/efl/ThreadLauncherEfl.cpp
90
91     UIProcess/Plugins/efl/PluginProcessProxyEfl.cpp
92
93     UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
94
95     WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
96     WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
97
98     WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp
99     WebProcess/Downloads/soup/DownloadSoup.cpp
100
101     WebProcess/efl/WebProcessEfl.cpp
102     WebProcess/efl/WebProcessMainEfl.cpp
103
104     WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
105
106     WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
107     WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
108     WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
109     WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
110     WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp
111
112     WebProcess/WebPage/efl/WebInspectorEfl.cpp
113     WebProcess/WebPage/efl/WebPageEfl.cpp
114
115     WebProcess/soup/WebSoupRequestManager.cpp
116     WebProcess/soup/WebKitSoupRequestGeneric.cpp
117     WebProcess/soup/WebKitSoupRequestInputStream.cpp
118 )
119
120 LIST(APPEND WebKit2StaticForDebug_MESSAGES_IN_FILES
121     UIProcess/soup/WebSoupRequestManagerProxy.messages.in
122     WebProcess/soup/WebSoupRequestManager.messages.in
123 )
124
125 LIST(APPEND WebKit2StaticForDebug_INCLUDE_DIRECTORIES
126     "${JAVASCRIPTCORE_DIR}/llint"
127     "${WEBCORE_DIR}/platform/efl"
128     "${WEBCORE_DIR}/platform/graphics/cairo"
129     "${WEBCORE_DIR}/platform/graphics/surfaces"
130     "${WEBCORE_DIR}/platform/network/soup"
131     "${WEBCORE_DIR}/platform/text/enchant"
132     "${WEBCORE_DIR}/svg/graphics"
133     "${WEBKIT2_DIR}/Shared/efl"
134     "${WEBKIT2_DIR}/Shared/soup"
135     "${WEBKIT2_DIR}/UIProcess/API/C/efl"
136     "${WEBKIT2_DIR}/UIProcess/API/C/soup"
137     "${WEBKIT2_DIR}/UIProcess/API/cpp/efl"
138     "${WEBKIT2_DIR}/UIProcess/API/efl"
139     "${WEBKIT2_DIR}/UIProcess/efl"
140     "${WEBKIT2_DIR}/UIProcess/soup"
141     "${WEBKIT2_DIR}/WebProcess/Downloads/soup"
142     "${WEBKIT2_DIR}/WebProcess/efl"
143     "${WEBKIT2_DIR}/WebProcess/soup"
144     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
145     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup"
146     "${WTF_DIR}/wtf/efl/"
147     "${WTF_DIR}/wtf/gobject"
148     ${CAIRO_INCLUDE_DIRS}
149     ${ECORE_INCLUDE_DIRS}
150     ${ECORE_EVAS_INCLUDE_DIRS}
151     ${EDJE_INCLUDE_DIRS}
152     ${EFREET_INCLUDE_DIRS}
153     ${EINA_INCLUDE_DIRS}
154     ${EVAS_INCLUDE_DIRS}
155     ${HARFBUZZ_INCLUDE_DIRS}
156     ${LIBSOUP_INCLUDE_DIRS}
157     ${LIBXML2_INCLUDE_DIR}
158     ${LIBXSLT_INCLUDE_DIRS}
159     ${SQLITE_INCLUDE_DIRS}
160     ${GLIB_INCLUDE_DIRS}
161     ${LIBSOUP_INCLUDE_DIRS}
162     ${WTF_DIR}
163     ${CAPI_INCLUDE_DIRS}
164 )
165
166 LIST(APPEND WebKit2_LIBRARIES
167     ${CAIRO_LIBRARIES}
168     ${ECORE_LIBRARIES}
169     ${ECORE_EVAS_LIBRARIES}
170     ${EDJE_LIBRARIES}
171     ${EFREET_LIBRARIES}
172     ${EINA_LIBRARIES}
173     ${EVAS_LIBRARIES}
174     ${Freetype_LIBRARIES}
175     ${HARFBUZZ_LIBRARIES}
176     ${LIBXML2_LIBRARIES}
177     ${SQLITE_LIBRARIES}
178     ${FONTCONFIG_LIBRARIES}
179     ${PNG_LIBRARY}
180     ${JPEG_LIBRARY}
181     ${CMAKE_DL_LIBS}
182     ${GLIB_LIBRARIES}
183     ${GLIB_GIO_LIBRARIES}
184     ${GLIB_GOBJECT_LIBRARIES}
185     ${LIBSOUP_LIBRARIES}
186     ${CAPI_LIBRARIES}
187 )
188
189 LIST (APPEND WebKit2_FORWARDING_HEADERS_DIRECTORIES
190     Shared/API/c/efl
191     Shared/API/c/soup
192     UIProcess/API/C/efl
193     UIProcess/API/C/soup
194 )
195
196 LIST (APPEND WebProcess_SOURCES
197     efl/MainEfl.cpp
198 )
199
200 LIST (APPEND WebProcess_LIBRARIES
201     ${CAIRO_LIBRARIES}
202     ${ECORE_IMF_LIBRARIES}
203     ${ECORE_X_LIBRARIES}
204     ${EDJE_LIBRARIES}
205     ${EFLDEPS_LIBRARIES}
206     ${EVAS_LIBRARIES}
207     ${LIBXML2_LIBRARIES}
208     ${LIBXSLT_LIBRARIES}
209     ${SQLITE_LIBRARIES}
210 )
211
212 ADD_CUSTOM_TARGET(forwarding-headerEfl
213     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
214 )
215 SET(ForwardingHeaders_NAME forwarding-headerEfl)
216
217 ADD_CUSTOM_TARGET(forwarding-headerSoup
218     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
219 )
220 SET(ForwardingNetworkHeaders_NAME forwarding-headerSoup)
221
222 IF (ENABLE_GLIB_SUPPORT)
223     LIST(APPEND WebKit2StaticForDebug_INCLUDE_DIRECTORIES
224         ${Glib_INCLUDE_DIRS}
225         ${JAVASCRIPTCORE_DIR}/wtf/gobject
226     )
227     LIST(APPEND WebKit2_LIBRARIES
228         ${Glib_LIBRARIES}
229     )
230 ENDIF ()
231
232 IF (ENABLE_BATTERY_STATUS)
233     LIST(APPEND WebKit2StaticForDebug_INCLUDE_DIRECTORIES $(WEBCORE_DIR)/Modules/battery)
234 ENDIF ()
235
236 IF (ENABLE_TIZEN_SUPPORT)
237     INCLUDE_IF_EXISTS(${WEBKIT2_DIR}/PlatformTizen.cmake)
238 ENDIF ()
239
240 CONFIGURE_FILE(efl/ewebkit2.pc.in ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc @ONLY)
241 SET (EWebKit2_HEADERS
242     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/EWebKit2.h"
243     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_auth_challenge.h"
244     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list.h"
245     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list_item.h"
246     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_certificate.h"
247     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context.h"
248     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_cookie_manager.h"
249     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_download_job.h"
250     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_error.h"
251     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_favicon_database.h"
252     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_submission_request.h"
253     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent.h"
254     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent_service.h"
255     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_main.h"
256     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_data.h"
257     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_policy_decision.h"
258     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu_item.h"
259     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_resource.h"
260     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_settings.h"
261     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_checker.h"
262     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_touch.h"
263     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_request.h"
264     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_response.h"
265     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_scheme_request.h"
266     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_view.h"
267
268     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context_menu.h"
269     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_custom_handlers.h"
270     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_enums.h"
271     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_data.h"
272     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_frame.h"
273     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_history.h"
274     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_hit_test.h"
275     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_geolocation.h"
276     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_notification.h"
277     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_policy_decision.h"
278     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu_item.h"
279     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_search_provider.h"
280     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_security_origin.h"
281     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_settings.h"
282     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_style.h"
283     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_user_media.h"
284     "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_web_application_icon_data.h"
285 )
286
287 INSTALL(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc DESTINATION lib/pkgconfig)
288 INSTALL(FILES ${EWebKit2_HEADERS} DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
289
290 INCLUDE_DIRECTORIES(${THIRDPARTY_DIR}/gtest/include)
291
292 SET(EWK2UnitTests_LIBRARIES
293     ${WTF_LIBRARY_NAME}
294     ${JavaScriptCore_LIBRARY_NAME}
295     ${WebCore_LIBRARY_NAME}
296     ${WebKit2_LIBRARY_NAME}
297     ${CAIRO_LIBRARIES}
298     ${ECORE_LIBRARIES}
299     ${ECORE_EVAS_LIBRARIES}
300     ${EVAS_LIBRARIES}
301     ${GLIB_LIBRARIES}
302     ${GLIB_GIO_LIBRARIES}
303     ${GLIB_GOBJECT_LIBRARIES}
304     ${LIBSOUP_LIBRARIES}
305     gtest
306 )
307
308 IF (ENABLE_GLIB_SUPPORT)
309     LIST(APPEND EWK2UnitTests_LIBRARIES
310         ${GLIB_LIBRARIES}
311         ${GLIB_GTHREAD_LIBRARIES}
312     )
313 ENDIF()
314
315 SET(WEBKIT2_EFL_TEST_DIR "${WEBKIT2_DIR}/UIProcess/API/efl/tests")
316 SET(TEST_RESOURCES_DIR ${WEBKIT2_EFL_TEST_DIR}/resources)
317 SET(TEST_INJECTED_BUNDLE_DIR ${WEBKIT2_EFL_TEST_DIR}/InjectedBundle)
318
319 ADD_DEFINITIONS(-DTEST_RESOURCES_DIR=\"${TEST_RESOURCES_DIR}\"
320     -DTEST_THEME_DIR=\"${THEME_BINARY_DIR}\"
321     -DGTEST_LINKED_AS_SHARED_LIBRARY=1
322     -DLIBEXECDIR=\"${CMAKE_INSTALL_PREFIX}/${EXEC_INSTALL_DIR}\"
323     -DWEBPROCESSNAME=\"${WebProcess_EXECUTABLE_NAME}\"
324     -DPLUGINPROCESSNAME=\"${PluginProcess_EXECUTABLE_NAME}\"
325 )
326
327 ADD_LIBRARY(ewk2UnitTestUtils
328     ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestBase.cpp
329     ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestEnvironment.cpp
330     ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestMain.cpp
331     ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestServer.cpp
332 )
333
334 TARGET_LINK_LIBRARIES(ewk2UnitTestUtils ${EWK2UnitTests_LIBRARIES})
335
336 # The "ewk" on the test name needs to be suffixed with "2", otherwise it
337 # will clash with tests from the WebKit 1 test suite.
338 SET(EWK2UnitTests_BINARIES
339     test_ewk2_back_forward_list
340     test_ewk2_context
341     test_ewk2_context_history_callbacks
342     test_ewk2_cookie_manager
343     test_ewk2_download_job
344     test_ewk2_eina_shared_string
345     test_ewk2_favicon_database
346     test_ewk2_intents
347     test_ewk2_settings
348     test_ewk2_view
349 )
350
351 IF (ENABLE_API_TESTS)
352     FOREACH (testName ${EWK2UnitTests_BINARIES})
353         ADD_EXECUTABLE(${testName} ${WEBKIT2_EFL_TEST_DIR}/${testName}.cpp)
354         ADD_TEST(${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testName})
355         SET_TESTS_PROPERTIES(${testName} PROPERTIES TIMEOUT 60)
356         TARGET_LINK_LIBRARIES(${testName} ${EWK2UnitTests_LIBRARIES} ewk2UnitTestUtils)
357     ENDFOREACH ()
358
359     ADD_LIBRARY(ewk2UnitTestInjectedBundleSample SHARED ${TEST_INJECTED_BUNDLE_DIR}/injected_bundle_sample.cpp)
360     SET_TARGET_PROPERTIES(ewk2UnitTestInjectedBundleSample PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${TEST_RESOURCES_DIR}")
361 ENDIF ()
362
363 IF (ENABLE_SPELLCHECK)
364     LIST(APPEND WebKit2StaticForDebug_INCLUDE_DIRECTORIES
365         ${ENCHANT_INCLUDE_DIRS}
366     )
367     LIST(APPEND WebKit2_LIBRARIES
368         ${ENCHANT_LIBRARIES}
369     )
370 ENDIF()
371
372 IF (ENABLE_INSPECTOR)
373     SET(WK2_WEB_INSPECTOR_DIR ${CMAKE_BINARY_DIR}/WebKit2/efl/webinspector)
374     SET(WK2_WEB_INSPECTOR_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
375     ADD_DEFINITIONS(-DWK2_WEB_INSPECTOR_DIR="${WK2_WEB_INSPECTOR_DIR}")
376     ADD_DEFINITIONS(-DWK2_WEB_INSPECTOR_INSTALL_DIR="${WK2_WEB_INSPECTOR_INSTALL_DIR}/webinspector")
377     ADD_CUSTOM_TARGET(
378         wk2-web-inspector-resources ALL
379         COMMAND ${CMAKE_COMMAND} -E copy_directory ${WEBCORE_DIR}/inspector/front-end ${WK2_WEB_INSPECTOR_DIR}
380         COMMAND ${CMAKE_COMMAND} -E copy ${WEBCORE_DIR}/English.lproj/localizedStrings.js ${WK2_WEB_INSPECTOR_DIR}
381         COMMAND ${CMAKE_COMMAND} -E copy ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorBackendCommands.js ${WK2_WEB_INSPECTOR_DIR}/InspectorBackendCommands.js
382         DEPENDS ${WebCore_LIBRARY_NAME}
383     )
384     INSTALL(DIRECTORY ${WK2_WEB_INSPECTOR_DIR}
385         DESTINATION ${WK2_WEB_INSPECTOR_INSTALL_DIR}
386         FILES_MATCHING PATTERN "*.js"
387                        PATTERN "*.html"
388                        PATTERN "*.css"
389                        PATTERN "*.gif"
390                        PATTERN "*.png")
391 ENDIF ()
392