blob: 5bcc484e7e4df0f1fcf52f203ed078d9f9337e8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
project(Framework)
add_library(foo SHARED foo.cxx foo.h )
set_target_properties(foo PROPERTIES
FRAMEWORK TRUE
FRAMEWORK_PUBLIC_HEADERS "foo.h;foo2.h"
FRAMEWORK_VERSION ver2
FRAMEWORK_RESOURCES "test.lua"
)
add_executable(bar bar.cxx)
target_link_libraries(bar foo)
|