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
liblinphone
Commits
df75c6c3
Commit
df75c6c3
authored
Jun 27, 2016
by
Ghislain MARY
Browse files
IOS build was probably broken by my last commit, fix things here.
parent
ead41bd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
tester/CMakeLists.txt
tester/CMakeLists.txt
+14
-10
No files found.
tester/CMakeLists.txt
View file @
df75c6c3
...
...
@@ -119,15 +119,19 @@ set(VCARD_FILES
vcards/vcards.vcf
)
set
(
RESOURCES
_FILES
set
(
OTHER
_FILES
tester_hosts
messages.db
${
SOUND_FILES
}
${
SIPP_FILES
}
${
CERTIFICATE_FILES
}
${
RC_FILES
}
${
IMAGE_FILES
}
${
VCARD_FILES
}
)
set
(
IOS_RESOURCES_FILES
${
OTHER_FILES
}
certificates
images
rcfiles
sipp
sounds
vcards
)
set
(
SOURCE_FILES_C
...
...
@@ -244,9 +248,9 @@ endif()
# on iOS though, we also build the exectuable so that one can compile it from Xcode and run it directly
if
(
NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL
"WindowsStore"
)
if
(
IOS
)
set_source_files_properties
(
${
RESOURCES_FILES
}
PROPERTIES MACOSX_PACKAGE_LOCATION Resources
)
add_executable
(
liblinphone_tester MACOSX_BUNDLE
${
RESOURCES_FILES
}
${
SOURCE_FILES_C
}
${
SOURCE_FILES_OBJC
}
)
if
(
IOS
)
set_source_files_properties
(
${
IOS_
RESOURCES_FILES
}
PROPERTIES MACOSX_PACKAGE_LOCATION Resources
)
add_executable
(
liblinphone_tester MACOSX_BUNDLE
${
IOS_
RESOURCES_FILES
}
${
SOURCE_FILES_C
}
${
SOURCE_FILES_OBJC
}
)
set_target_properties
(
liblinphone_tester PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
else
()
add_executable
(
liblinphone_tester
${
SOURCE_FILES_C
}
${
SOURCE_FILES_OBJC
}
)
...
...
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