install.sh.cmake 847 Bytes
Newer Older
Ghislain MARY's avatar
Ghislain MARY committed
1 2
#!/bin/sh

3 4 5 6 7 8 9 10
export CC="@CMAKE_C_COMPILER@"
export CXX="@CMAKE_CXX_COMPILER@"
export OBJC="@CMAKE_C_COMPILER@"
export LD="@CMAKE_LINKER@"
export AR="@CMAKE_AR@"
export RANLIB="@CMAKE_RANLIB@"
export STRIP="@CMAKE_STRIP@"
export NM="@CMAKE_NM@"
Ghislain MARY's avatar
Ghislain MARY committed
11 12

export ASFLAGS="@LINPHONE_BUILDER_TOOLCHAIN_ASFLAGS@"
13 14
export CPPFLAGS="@LINPHONE_BUILDER_CPPFLAGS@"
export CFLAGS="@LINPHONE_BUILDER_CFLAGS@"
Ghislain MARY's avatar
Ghislain MARY committed
15 16
export CXXFLAGS="@LINPHONE_BUILD_TOOLCHAIN_CXXFLAGS@"
export OBJCFLAGS="@LINPHONE_BUILD_TOOLCHAIN_OBJCFLAGS@"
17
export LDFLAGS="@LINPHONE_BUILDER_LDFLAGS@"
Ghislain MARY's avatar
Ghislain MARY committed
18 19 20 21 22 23

export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"

cd @ep_build@
24
make install PREFIX="@CMAKE_INSTALL_PREFIX@" SHARED="@EP_openh264_LINKING_TYPE@" BUILDTYPE="@EP_openh264_BUILD_TYPE@"