Changeset 1078:6775146d7750 in mediastreamer2 for src/CMakeLists.txt
- Timestamp:
- Jan 19, 2011 4:59:26 PM (2 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
src/CMakeLists.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CMakeLists.txt
r1074 r1078 25 25 add_definitions(-DHAVE_DLOPEN) 26 26 endif(LINUX AND NOT ANDROID) 27 28 if(ANDROID) 29 set(MS_SRCS ${MS_SRCS} msandroid.cpp) 30 endif() 27 31 28 32 if(WIN32) … … 76 80 endif(NOT CMAKE_UNDER_CE) 77 81 82 #FIXME: it's won't work if the MS_FILTER_DESC_EXPORTs are in middle of the file, will work only if they are declared at end 78 83 if(NOT WIN32) 79 84 # We want to generated the alldescs.h file … … 83 88 file(READ ${f} fc) 84 89 string(REGEX MATCHALL "MS_FILTER_DESC_EXPORT\(.*\)" mcs ${fc}) 85 #message("matches for ${f} are ${mcs}")90 #message("matches for ${f} are ${mcs}") 86 91 set(fds ${fds} ${mcs}) 87 92 endforeach(f) … … 118 123 119 124 add_library(mediastreamer SHARED ${MS_SRCS}) 125 if(NOT ANDROID) 120 126 set_target_properties(mediastreamer PROPERTIES VERSION ${MEDIASTREAMER_VERSION_STRING} SOVERSION 121 127 ${MEDIASTREAMER_VERSION_STRING}) 128 endif() 122 129 target_link_libraries(mediastreamer ${MS_LIBS} ${ORTP_LIBRARIES}) 123 130 set(MEDIASTREAMER_LIBRARIES mediastreamer CACHE STRING "mediastreamer2 libraries")
Note: See TracChangeset
for help on using the changeset viewer.
