summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-12-02 08:49:09 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-12-02 08:49:09 +0100
commit57f2f8976b37ba6f6ec188c77e38cd854d594233 (patch)
tree4fed2b8e73132f4f5d00f1565675c75380af6b97 /CMakeLists.txt
parentcb3a933340614866f7b6a3dd0977956450a161dd (diff)
downloadufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.tar.gz
ufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.tar.bz2
ufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.tar.xz
ufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.zip
Rename to `ufodecode`
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt26
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})