config-uwp.cmake 2.06 KB
Newer Older
1
############################################################################
2
# config-uwp.cmake
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Copyright (C) 2015  Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 21 22
#
############################################################################

23
include(${CMAKE_CURRENT_LIST_DIR}/options-uwp.cmake)
24 25


26 27 28
set(DEFAULT_VALUE_CMAKE_LINKING_TYPE "-DENABLE_SHARED=YES" "-DENABLE_STATIC=NO")


29 30 31 32 33 34 35 36 37
# Global configuration
set(LINPHONE_BUILDER_CPPFLAGS "-D_ALLOW_KEYWORD_MACROS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS")


# Include builders
include(builders/CMakeLists.txt)


# linphone
Erwan Croze's avatar
Erwan Croze committed
38
lcb_builder_cmake_options(linphone "-DENABLE_CSHARP_WRAPPER=YES")
39 40
lcb_builder_cmake_options(linphone "-DENABLE_SWIFT_WRAPPER=NO")
lcb_builder_cmake_options(linphone "-DENABLE_JAZZY_DOC=NO")
41 42 43 44 45 46
lcb_builder_cmake_options(linphone "-DENABLE_RELATIVE_PREFIX=YES")
lcb_builder_cmake_options(linphone "-DENABLE_CONSOLE_UI=NO")
lcb_builder_cmake_options(linphone "-DENABLE_DAEMON=NO")
lcb_builder_cmake_options(linphone "-DENABLE_NOTIFY=NO")
lcb_builder_cmake_options(linphone "-DENABLE_TUTORIALS=NO")
lcb_builder_cmake_options(linphone "-DENABLE_UPNP=NO")
Erwan Croze's avatar
Erwan Croze committed
47
lcb_builder_cmake_options(linphone "-DENABLE_SOCI=NO")
48 49

# ms2
50
lcb_builder_cmake_options(ms2 "-DENABLE_RELATIVE_PREFIX=YES")
51 52

# opus
53
lcb_builder_cmake_options(opus "-DOPUS_FIXED_POINT=YES")