Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
03484fa6
Commit
03484fa6
authored
Jun 06, 2017
by
Benjamin REIS
Browse files
add info.plist to dummy frameworks for ios
parent
250a969e
Changes
4
Hide whitespace changes
Inline
Side-by-side
cmake/CMakeLists.txt
View file @
03484fa6
...
...
@@ -108,6 +108,7 @@ list(APPEND LINPHONE_BUILDER_EP_VARS
CMAKE_SKIP_RPATH:BOOL
CMAKE_SKIP_BUILD_RPATH:BOOL
CMAKE_VERBOSE_MAKEFILE:BOOL
LINPHONE_IOS_DEPLOYMENT_TARGET:STRING
MSVC_C_ARCHITECTURE_ID:STRING
MSVC_CXX_ARCHITECTURE_ID:STRING
MSVC_VERSION:STRING
...
...
cmake/dummy_libraries/CMakeLists.txt
View file @
03484fa6
...
...
@@ -54,9 +54,12 @@ foreach(LIB ${LINPHONE_BUILDER_DUMMY_LIBRARIES})
message
(
STATUS
"Generating dummy library
${
LIB
}
"
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/dummy.c.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
LIB
}
.c"
@ONLY
)
add_library
(
${
NOPREFIX_LIB
}
SHARED
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
LIB
}
.c"
)
set
(
MIN_OS
${
LINPHONE_IOS_DEPLOYMENT_TARGET
}
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Info.plist.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/Info_
${
NOPREFIX_LIB
}
.plist.in"
@ONLY
)
set_target_properties
(
${
NOPREFIX_LIB
}
PROPERTIES
FRAMEWORK TRUE
MACOSX_FRAMEWORK_IDENTIFIER com.belledonne-communications.
${
NOPREFIX_LIB
}
MACOSX_FRAMEWORK_IDENTIFIER org.linphone.
${
NOPREFIX_LIB
}
MACOSX_FRAMEWORK_INFO_PLIST
"
${
CMAKE_CURRENT_BINARY_DIR
}
/Info_
${
NOPREFIX_LIB
}
.plist.in"
)
install
(
TARGETS
${
NOPREFIX_LIB
}
LIBRARY DESTINATION
${
_dest
}
...
...
cmake/dummy_libraries/Info.plist.in
0 → 100644
View file @
03484fa6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
CFBundleDevelopmentRegion
</key>
<string>
English
</string>
<key>
CFBundleExecutable
</key>
<string>
@NOPREFIX_LIB@
</string>
<key>
CFBundleGetInfoString
</key>
<string>
${MACOSX_BUNDLE_INFO_STRING}
</string>
<key>
CFBundleIconFile
</key>
<string>
${MACOSX_BUNDLE_ICON_FILE}
</string>
<key>
CFBundleIdentifier
</key>
<string>
${MACOSX_FRAMEWORK_IDENTIFIER}
</string>
<key>
LSMinimumSystemVersion
</key>
<string>
${MIN_OS}
</string>
<key>
MinimumOSVersion
</key>
<string>
${MIN_OS}
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleLongVersionString
</key>
<string>
${MACOSX_BUNDLE_LONG_VERSION_STRING}
</string>
<key>
CFBundleName
</key>
<string>
${MACOSX_BUNDLE_BUNDLE_NAME}
</string>
<key>
CFBundlePackageType
</key>
<string>
FMWK
</string>
<key>
CFBundleShortVersionString
</key>
<string>
0.0.1
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
0.0.1
</string>
<key>
CSResourcesFileMapped
</key>
<true/>
<key>
NSHumanReadableCopyright
</key>
<string>
${MACOSX_BUNDLE_COPYRIGHT}
</string>
<key>
NSPrincipalClass
</key>
<string>
NSApplication
</string>
<key>
NSHighResolutionCapable
</key>
<string>
True
</string>
</dict>
</plist>
\ No newline at end of file
configs/config-ios.cmake
View file @
03484fa6
...
...
@@ -61,7 +61,6 @@ set(LINPHONE_BUILDER_CPPFLAGS "${COMMON_FLAGS}")
set
(
LINPHONE_BUILDER_LDFLAGS
"
${
COMMON_FLAGS
}
"
)
set
(
LINPHONE_BUILDER_PKG_CONFIG_LIBDIR
${
CMAKE_INSTALL_PREFIX
}
/lib/pkgconfig
)
# Restrict pkg-config to search in the install directory
unset
(
COMMON_FLAGS
)
unset
(
LINPHONE_IOS_DEPLOYMENT_TARGET
)
#XCode7 requires Cmake 3.3.20150815 at least
if
(
NOT
${
XCODE_VERSION
}
VERSION_LESS 7
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment