e76ee2c006
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.
12 lines
306 B
CMake
12 lines
306 B
CMake
cmake_minimum_required(VERSION 3.4)
|
|
enable_language(C)
|
|
|
|
add_library(Framework SHARED
|
|
foo.c
|
|
foo.h
|
|
res.txt)
|
|
set_target_properties(Framework PROPERTIES
|
|
FRAMEWORK TRUE
|
|
PUBLIC_HEADER foo.h
|
|
RESOURCE "res.txt")
|