Files
opennurbs/android_uuid/CMakeLists.txt
2024-02-15 08:00:36 -08:00

35 lines
531 B
CMake

cmake_minimum_required (VERSION 3.4)
project( android_uuid C)
set( INCLUDE_DIRS
.
)
set( SOURCES
copy.c
gen_uuid.c
isnull.c
pack.c
parse.c
unpack.c
unparse.c
uuid_time.c
)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) # -fPIC
add_library( android_uuid STATIC
${SOURCES}
)
#target_compile_definitions(android_uuid PRIVATE Z_PREFIX MY_ZCALLOC)
target_include_directories( android_uuid
PUBLIC
.
)
install( TARGETS android_uuid DESTINATION "lib")
install( FILES DESTINATION "include/android_uuid")