source: verona/CMakeLists.txt @ 200:ce98ae931cb9

Last change on this file since 200:ce98ae931cb9 was 200:ce98ae931cb9, checked in by Vadim Lebedev <vadim@…>, 2 years ago

fixes for android build

File size: 1.1 KB
RevLine 
[1]1project(verona)
2
3cmake_minimum_required(VERSION 2.6)
4
5set(VERONA_VERSION_MAJOR 0)
6set(VERONA_VERSION_MINOR 1)
7set(VERONA_VERSION_MICRO 0)
8set(VERONA_VERSION_STRING "0.1.0")
9
[17]10set(CMAKE_MODULE_PATH
[35]11  ${CMAKE_SOURCE_DIR}
[17]12  ${CMAKE_SOURCE_DIR}/cmake/Modules
13)
14
15include(DefineCompilerFlags)
[35]16include(CPackConfig)
[17]17include(Macros)
[131]18include(FindMercurial)
[6]19
[58]20set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
21set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/archive)
22set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
23
[131]24message("Building for ${CMAKE_SYSTEM_NAME}")
[6]25if (CMAKE_SYSTEM_NAME MATCHES Linux)
26 set(LINUX True)
27endif(CMAKE_SYSTEM_NAME MATCHES Linux)
[1]28
[41]29if(CMAKE_UNDER_CE)
30  subdirs(wcecompat)
31endif(CMAKE_UNDER_CE)
[1]32
[54]33if(WIN32)
34  subdirs(phapi/msdirent)
35endif(WIN32)
[58]36if(NOT WIN32)
37  set(CMAKE_DEBUG_POSTFIX g)
38endif(NOT WIN32)
[63]39
[131]40subdirs(libs/miniini)
[1]41
[131]42if(USE_CSL)
[199]43if(ANDROID)
44  subdirs(libs/srtp)
45endif(ANDROID)
[200]46  subdirs(libs/hlibpp csl)
[131]47ENDIF(USE_CSL)
[1]48
[148]49subdirs(libs/codecs/gsm libs/codecs/speex libosip2 libeXosip2 oRTP mediastreamer2 phapi phcpp phtest swig)
[3]50
[131]51if(CMAKE_UNDER_CE)
52  subdirs(csharp)
53endif(CMAKE_UNDER_CE)
Note: See TracBrowser for help on using the repository browser.