CMake/Tests/Framework/CMakeLists.txt

12 lines
276 B
CMake
Raw Normal View History

2007-05-08 18:58:35 +04:00
project(Framework)
add_library(foo SHARED foo.cxx foo.h )
2007-05-08 18:58:35 +04:00
set_target_properties(foo PROPERTIES
FRAMEWORK TRUE
FRAMEWORK_PUBLIC_HEADERS "foo.h;foo2.h"
FRAMEWORK_VERSION ver2
FRAMEWORK_RESOURCES "test.lua"
2007-05-08 18:58:35 +04:00
)
add_executable(bar bar.cxx)
target_link_libraries(bar foo)