diff options
Diffstat (limited to 'linden/indra/llmedia/CMakeLists.txt')
-rw-r--r-- | linden/indra/llmedia/CMakeLists.txt | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/linden/indra/llmedia/CMakeLists.txt b/linden/indra/llmedia/CMakeLists.txt deleted file mode 100644 index f3c8e30..0000000 --- a/linden/indra/llmedia/CMakeLists.txt +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | # -*- cmake -*- | ||
2 | |||
3 | project(llmedia) | ||
4 | |||
5 | include(00-Common) | ||
6 | include(LLAudio) | ||
7 | include(LLCommon) | ||
8 | include(LLImage) | ||
9 | include(LLMath) | ||
10 | include(LLMedia) | ||
11 | include(LLMessage) | ||
12 | include(LLWindow) | ||
13 | include(Mozlib) | ||
14 | |||
15 | include_directories( | ||
16 | ${GSTREAMER_INCLUDE_DIRS} | ||
17 | ${GSTREAMER_PLUGINS_BASE_INCLUDE_DIRS} | ||
18 | ${GSTREAMER_VIDEO_INCLUDE_DIRS} | ||
19 | ${LLAUDIO_INCLUDE_DIRS} | ||
20 | ${LLCOMMON_INCLUDE_DIRS} | ||
21 | ${LLIMAGE_INCLUDE_DIRS} | ||
22 | ${LLMATH_INCLUDE_DIRS} | ||
23 | ${LLMESSAGE_INCLUDE_DIRS} | ||
24 | ${LLWINDOW_INCLUDE_DIRS} | ||
25 | ) | ||
26 | |||
27 | set(llmedia_SOURCE_FILES | ||
28 | llmediaimplcommon.cpp | ||
29 | llmediaimplexample1.cpp | ||
30 | llmediaimplexample2.cpp | ||
31 | llmediaimplfactory.cpp | ||
32 | llmediamanager.cpp | ||
33 | llmediaimplgstreamer.cpp | ||
34 | llmediaimplgstreamervidplug.cpp | ||
35 | llgstplaythread.cpp | ||
36 | ) | ||
37 | |||
38 | set(llmedia_HEADER_FILES | ||
39 | CMakeLists.txt | ||
40 | |||
41 | llmediabase.h | ||
42 | llmediaemitter.h | ||
43 | llmediaimplcommon.h | ||
44 | llmediaimplexample1.h | ||
45 | llmediaimplexample2.h | ||
46 | llmediaimplfactory.h | ||
47 | llmediaimplregister.h | ||
48 | llmediamanager.h | ||
49 | llmediaobserver.h | ||
50 | llmediaimplgstreamer.h | ||
51 | llmediaimplgstreamervidplug.h | ||
52 | llgstplaythread.h | ||
53 | ) | ||
54 | |||
55 | # Work around a bad interaction between broken gstreamer headers and | ||
56 | # g++ 4.3's increased strictness. | ||
57 | |||
58 | if (${CXX_VERSION} MATCHES "4.[23]") | ||
59 | set_source_files_properties(llmediaimplgstreamervidplug.cpp PROPERTIES | ||
60 | COMPILE_FLAGS -Wno-error=write-strings) | ||
61 | endif (${CXX_VERSION} MATCHES "4.[23]") | ||
62 | |||
63 | if (MOZLIB) | ||
64 | list(APPEND llmedia_SOURCE_FILES llmediaimplllmozlib.cpp) | ||
65 | |||
66 | list(APPEND llmedia_HEADER_FILES llmediaimplllmozlib.h) | ||
67 | endif (MOZLIB) | ||
68 | |||
69 | set_source_files_properties(${llmedia_HEADER_FILES} | ||
70 | PROPERTIES HEADER_FILE_ONLY TRUE) | ||
71 | |||
72 | list(APPEND llmedia_SOURCE_FILES ${llmedia_HEADER_FILES}) | ||
73 | |||
74 | add_library (llmedia ${llmedia_SOURCE_FILES}) | ||
75 | target_link_libraries( | ||
76 | llmedia | ||
77 | ${GSTREAMER_LIBRARIES} | ||
78 | ${GSTREAMER_PLUGINS_BASE_LIBRARIES} | ||
79 | ${GSTREAMER_VIDEO_LIBRARIES} | ||
80 | ${QUICKTIME_LIBRARY} | ||
81 | ) | ||