PageRenderTime 334ms CodeModel.GetById 152ms app.highlight 1ms RepoModel.GetById 120ms app.codeStats 0ms

/indra/media_plugins/gstreamer010/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 72 lines | 57 code | 13 blank | 2 comment | 2 complexity | 0e465f0edb12bc5fcb4178c5f4c5315e MD5 | raw file
 1# -*- cmake -*-
 2
 3project(media_plugin_gstreamer010)
 4
 5include(00-Common)
 6include(LLCommon)
 7include(LLImage)
 8include(LLPlugin)
 9include(LLMath)
10include(LLRender)
11include(LLWindow)
12include(Linking)
13include(PluginAPI)
14include(MediaPluginBase)
15include(FindOpenGL)
16
17include(GStreamer010Plugin)
18
19include_directories(
20    ${LLPLUGIN_INCLUDE_DIRS}
21    ${MEDIA_PLUGIN_BASE_INCLUDE_DIRS}
22    ${LLCOMMON_INCLUDE_DIRS}
23    ${LLMATH_INCLUDE_DIRS}
24    ${LLIMAGE_INCLUDE_DIRS}
25    ${LLRENDER_INCLUDE_DIRS}
26    ${LLWINDOW_INCLUDE_DIRS}
27    ${GSTREAMER010_INCLUDE_DIRS}
28    ${GSTREAMER010_PLUGINS_BASE_INCLUDE_DIRS}
29)
30
31### media_plugin_gstreamer010
32
33if(NOT WORD_SIZE EQUAL 32)
34  if(WINDOWS)
35    add_definitions(/FIXED:NO)
36  else(WINDOWS) # not windows therefore gcc LINUX and DARWIN
37    add_definitions(-fPIC)
38  endif(WINDOWS)
39endif(NOT WORD_SIZE EQUAL 32)
40
41set(media_plugin_gstreamer010_SOURCE_FILES
42    media_plugin_gstreamer010.cpp
43    llmediaimplgstreamer_syms.cpp
44    llmediaimplgstreamervidplug.cpp
45    )
46
47set(media_plugin_gstreamer010_HEADER_FILES
48    llmediaimplgstreamervidplug.h
49    llmediaimplgstreamer_syms.h
50    llmediaimplgstreamertriviallogging.h
51    )
52
53add_library(media_plugin_gstreamer010
54    SHARED
55    ${media_plugin_gstreamer010_SOURCE_FILES}
56)
57
58target_link_libraries(media_plugin_gstreamer010
59  ${LLPLUGIN_LIBRARIES}
60  ${MEDIA_PLUGIN_BASE_LIBRARIES}
61  ${LLCOMMON_LIBRARIES}
62  ${PLUGIN_API_WINDOWS_LIBRARIES}
63  ${GSTREAMER010_LIBRARIES}
64)
65
66add_dependencies(media_plugin_gstreamer010
67  ${LLPLUGIN_LIBRARIES}
68  ${MEDIA_PLUGIN_BASE_LIBRARIES}
69  ${LLCOMMON_LIBRARIES}
70)
71
72