Android support

This commit is contained in:
Vitor Santos Costa
2016-07-31 04:56:54 -05:00
parent 0f50b2e49c
commit 5584eb1a55
12 changed files with 303 additions and 873 deletions

View File

@@ -1,11 +1,14 @@
add_library (yap_random SHARED yap_random.c)
set( LIBRANDOM_SOURCES yap_random.c)
add_external (yap_random ${LIBRANDOM_SOURCES})
if (ANDROID)
else()
target_link_libraries(yap_random libYap)
set_target_properties (yap_random PROPERTIES PREFIX "")
endif()
install(TARGETS yap_random
MY_install(TARGETS yap_random
LIBRARY DESTINATION ${dlls}
ARCHIVE DESTINATION ${dlls} )