You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
393 B
12 lines
393 B
8 years ago
|
project(build)
|
||
|
set(CMAKE_BUILD_TYPE Debug)
|
||
|
add_library(foo foo.cxx)
|
||
|
add_library(car foo.cxx)
|
||
|
add_library(bar bar.c)
|
||
|
add_library(dog foo.cxx)
|
||
|
target_link_libraries(foo car bar dog debug -lm)
|
||
|
export(TARGETS bar dog car foo ANDROID_MK
|
||
|
${build_BINARY_DIR}/Android.mk)
|
||
|
install(TARGETS bar dog car foo DESTINATION lib EXPORT myexp)
|
||
|
install(EXPORT_ANDROID_MK myexp DESTINATION share/ndk-modules)
|