diff options
author | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2015-12-02 21:34:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-03 13:52:09 (GMT) |
commit | e76ee2c006777e268715b39ad71f49e3d18b11a4 (patch) | |
tree | 5c913b087d66d2fa5f25b65635b9b2fb9d562a92 /Tests/RunCMake/Framework/FrameworkLayout.cmake | |
parent | 6f6897f1aef884963503d8068707cf27fa7d99e7 (diff) | |
download | CMake-e76ee2c006777e268715b39ad71f49e3d18b11a4.zip CMake-e76ee2c006777e268715b39ad71f49e3d18b11a4.tar.gz CMake-e76ee2c006777e268715b39ad71f49e3d18b11a4.tar.bz2 |
iOS: Fix framework resource directory layout (#15848)
A typical iOS application bundle (also Framework Bundle) contains the
application executable and any resources used by the application (for
instance, the application icon, other images, and localized content) in
the top-level bundle directory. The same rule applies to Framework
Bundles.
Diffstat (limited to 'Tests/RunCMake/Framework/FrameworkLayout.cmake')
-rw-r--r-- | Tests/RunCMake/Framework/FrameworkLayout.cmake | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Tests/RunCMake/Framework/FrameworkLayout.cmake b/Tests/RunCMake/Framework/FrameworkLayout.cmake index 107afdf..5184755 100644 --- a/Tests/RunCMake/Framework/FrameworkLayout.cmake +++ b/Tests/RunCMake/Framework/FrameworkLayout.cmake @@ -1,5 +1,11 @@ cmake_minimum_required(VERSION 3.4) enable_language(C) -add_library(Framework SHARED foo.c) -set_target_properties(Framework PROPERTIES FRAMEWORK TRUE) +add_library(Framework SHARED + foo.c + foo.h + res.txt) +set_target_properties(Framework PROPERTIES + FRAMEWORK TRUE + PUBLIC_HEADER foo.h + RESOURCE "res.txt") |