mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
IOS build was probably broken by my last commit, fix things here.
This commit is contained in:
parent
ead41bd853
commit
df75c6c3d5
1 changed files with 14 additions and 10 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue