Changeset 1078:6775146d7750 in mediastreamer2 for src/CMakeLists.txt


Ignore:
Timestamp:
Jan 19, 2011 4:59:26 PM (2 years ago)
Author:
Nikita Kozlov <nikita@…>
Branch:
default
Message:

new log funcs for phapi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CMakeLists.txt

    r1074 r1078  
    2525  add_definitions(-DHAVE_DLOPEN) 
    2626endif(LINUX AND NOT ANDROID) 
     27 
     28if(ANDROID) 
     29  set(MS_SRCS  ${MS_SRCS} msandroid.cpp) 
     30endif() 
    2731 
    2832if(WIN32) 
     
    7680endif(NOT CMAKE_UNDER_CE) 
    7781 
     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 
    7883if(NOT WIN32) 
    7984        # We want to generated the alldescs.h file 
     
    8388         file(READ ${f} fc) 
    8489         string(REGEX MATCHALL "MS_FILTER_DESC_EXPORT\(.*\)" mcs ${fc}) 
    85         # message("matches for ${f} are ${mcs}") 
     90         #message("matches for ${f} are ${mcs}") 
    8691         set(fds ${fds} ${mcs}) 
    8792        endforeach(f) 
     
    118123 
    119124add_library(mediastreamer SHARED ${MS_SRCS}) 
     125if(NOT ANDROID) 
    120126set_target_properties(mediastreamer PROPERTIES VERSION ${MEDIASTREAMER_VERSION_STRING} SOVERSION  
    121127  ${MEDIASTREAMER_VERSION_STRING}) 
     128endif() 
    122129target_link_libraries(mediastreamer ${MS_LIBS} ${ORTP_LIBRARIES}) 
    123130set(MEDIASTREAMER_LIBRARIES mediastreamer CACHE STRING "mediastreamer2 libraries") 
Note: See TracChangeset for help on using the changeset viewer.