diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/cmake/WebKitLibPlugin.cmake | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/linden/indra/cmake/WebKitLibPlugin.cmake b/linden/indra/cmake/WebKitLibPlugin.cmake new file mode 100644 index 0000000..23958fe --- /dev/null +++ b/linden/indra/cmake/WebKitLibPlugin.cmake | |||
@@ -0,0 +1,55 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Linking) | ||
3 | include(Prebuilt) | ||
4 | |||
5 | if (STANDALONE) | ||
6 | set(WEBKITLIBPLUGIN OFF CACHE BOOL | ||
7 | "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.") | ||
8 | else (STANDALONE) | ||
9 | use_prebuilt_binary(llqtwebkit) | ||
10 | set(WEBKITLIBPLUGIN ON CACHE BOOL | ||
11 | "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.") | ||
12 | endif (STANDALONE) | ||
13 | |||
14 | if (WINDOWS) | ||
15 | set(WEBKIT_PLUGIN_LIBRARIES | ||
16 | debug llqtwebkitd | ||
17 | debug QtWebKitd4 | ||
18 | debug QtOpenGLd4 | ||
19 | debug QtNetworkd4 | ||
20 | debug QtGuid4 | ||
21 | debug QtCored4 | ||
22 | debug qtmaind | ||
23 | optimized llqtwebkit | ||
24 | optimized QtWebKit4 | ||
25 | optimized QtOpenGL4 | ||
26 | optimized QtNetwork4 | ||
27 | optimized QtGui4 | ||
28 | optimized QtCore4 | ||
29 | optimized qtmain | ||
30 | ) | ||
31 | elseif (DARWIN) | ||
32 | set(WEBKIT_PLUGIN_LIBRARIES | ||
33 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libllqtwebkit.dylib | ||
34 | debug ${ARCH_PREBUILT_DIRS_RELEASE}/libllqtwebkit.dylib | ||
35 | ) | ||
36 | elseif (LINUX) | ||
37 | if (STANDALONE) | ||
38 | set(WEBKIT_PLUGIN_LIBRARIES llqtwebkit) | ||
39 | else (STANDALONE) | ||
40 | set(WEBKIT_PLUGIN_LIBRARIES | ||
41 | llqtwebkit | ||
42 | qgif | ||
43 | qjpeg | ||
44 | QtWebKit | ||
45 | QtOpenGL | ||
46 | QtNetwork | ||
47 | QtGui | ||
48 | QtCore | ||
49 | fontconfig | ||
50 | X11 | ||
51 | Xrender | ||
52 | GL | ||
53 | ) | ||
54 | endif (STANDALONE) | ||
55 | endif (WINDOWS) | ||