summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake
diff options
context:
space:
mode:
authorLucas SOLTIC <lucas.soltic@orange.fr>2021-09-13 22:37:48 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-09-13 22:39:22 (GMT)
commit6ef7bfbb645c9f232b41b66b8fb334da8b5ca947 (patch)
tree990531a4fefc1396549b3e09ac12145383585d41 /Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake
parentb7bcf70761b0008697074073b161f2569e8b46cb (diff)
downloadCMake-6ef7bfbb645c9f232b41b66b8fb334da8b5ca947.zip
CMake-6ef7bfbb645c9f232b41b66b8fb334da8b5ca947.tar.gz
CMake-6ef7bfbb645c9f232b41b66b8fb334da8b5ca947.tar.bz2
Xcode: add support for embedding dynamic libraries
Diffstat (limited to 'Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake b/Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake
new file mode 100644
index 0000000..8c7b06a
--- /dev/null
+++ b/Tests/RunCMake/XcodeProject-Embed/ExternalDependencies.cmake
@@ -0,0 +1,4 @@
+add_library(sharedFrameworkExt SHARED func.m)
+set_target_properties(sharedFrameworkExt PROPERTIES FRAMEWORK TRUE)
+
+add_library(sharedDylibExt SHARED func.m)