diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f541898..6c7c2fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 2.8) -set(TARNAME "libipe") +set(TARNAME "libufodecode") -set(LIBIPE_API_VERSION "0.1.0") -set(LIBIPE_ABI_VERSION "0.1.0") -set(LIBIPE_ABI_MAJOR_VERSION "0") +set(LIBUFODECODE_API_VERSION "0.1.0") +set(LIBUFODECODE_ABI_VERSION "0.1.0") +set(LIBUFODECODE_ABI_MAJOR_VERSION "0") set(PACKAGE_VERSION "0.1.0") set(PACKAGE_NAME "${TARNAME}") @@ -63,23 +63,23 @@ include_directories( add_definitions("--std=c99 -Wall -O2 ${SSE_FLAGS}") -add_library(ipe SHARED src/libipe.c) +add_library(ufodecode SHARED src/ufodecode.c) -set_target_properties(ipe PROPERTIES - VERSION ${LIBIPE_ABI_VERSION} - SOVERSION ${LIBIPE_ABI_MAJOR_VERSION} +set_target_properties(ufodecode PROPERTIES + VERSION ${LIBUFODECODE_ABI_VERSION} + SOVERSION ${LIBUFODECODE_ABI_MAJOR_VERSION} ) -install(TARGETS ipe +install(TARGETS ufodecode LIBRARY DESTINATION lib${LIB_SUFFIX} ) install(FILES - src/libipe.h + src/ufodecode.h DESTINATION include ) -configure_file(ipe.pc.in ${CMAKE_CURRENT_BINARY_DIR}/ipe.pc) +configure_file(ufodecode.pc.in ${CMAKE_CURRENT_BINARY_DIR}/ufodecode.pc) if ("${CMAKE_BUILD_TYPE}" MATCHES "Debug") set(DEBUG "1") @@ -87,12 +87,12 @@ endif() configure_file(src/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/ipe.pc + ${CMAKE_CURRENT_BINARY_DIR}/ufodecode.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) # --- Build test executable ------------------------------------------------- add_executable(ipedec test/ipedec.c) -target_link_libraries(ipedec ipe) +target_link_libraries(ipedec ufodecode) install(TARGETS ipedec DESTINATION ${BIN_INSTALL_DIR}) |