2016-07-12 20:26:55 +03:00
|
|
|
project(build)
|
|
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
|
|
add_library(foo foo.cxx)
|
|
|
|
add_library(car foo.cxx)
|
2016-10-07 21:57:26 +03:00
|
|
|
add_library(bar bar.c)
|
2016-07-12 20:26:55 +03:00
|
|
|
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)
|