Skip to content

Commit

Permalink
0.20180201
Browse files Browse the repository at this point in the history
  • Loading branch information
mykaralw committed Feb 1, 2018
1 parent 5e2111a commit b5b6e44
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.20180201

install version

0.20171011

work version
15 changes: 14 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
cmake_minimum_required(VERSION 2.8)
project(libiio)
set(MAJOR_VERSION 0)
set(MINOR_VERSION 20180201)
set(IIO_VERSION ${MAJOR_VERSION}.${MINOR_VERSION})
set(prefix ${CMAKE_INSTALL_PREFIX})
set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
set(includedir ${CMAKE_INSTALL_PREFIX}/include)
set(LIBS "-ljpeg -lpng -ltiff -lz")

# The build type "Release" adds some optimizations
if (NOT CMAKE_BUILD_TYPE)
Expand Down Expand Up @@ -58,4 +65,10 @@ set(SOURCE_FILES
set_property(SOURCE iio.c PROPERTY COMPILE_FLAGS "-Wno-unused-variable -Wno-unused-parameter -Wno-pointer-sign -Wno-parentheses -Wno-deprecated-declarations -Wno-unused-function")

add_library(iio SHARED ${SOURCE_FILES})
set_target_properties(iio PROPERTIES VERSION 0.20171011 SOVERSION 0)
set_target_properties(iio PROPERTIES VERSION ${IIO_VERSION} SOVERSION ${MAJOR_VERSION})

configure_file(libiio.pc.in libiio.pc @ONLY)

install(TARGETS iio LIBRARY DESTINATION lib)
install(FILES iio.h DESTINATION include)
install(FILES libiio.pc DESTINATION lib/pkgconfig)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Licence : GPL v3+, see GPLv3.txt
* Based on the 2010 implementation of DCT denoising by:
Guoshen Yu <[email protected]> and Guillermo Sapiro <[email protected]>
* Latest version available at: https://github.com/gfacciol/DCTdenoising
* Latest version available at: https://github.com/zvezdochiot/libiio

# OVERVIEW

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.20171011
0.20180201
10 changes: 10 additions & 0 deletions libiio.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
prefix=@prefix@
libdir=@libdir@
includedir=@includedir@

Name: libiio
Description: IPOL Library Image Input-Output.
Version: @IIO_VERSION@
Libs: -L${libdir} -liio
Libs.private: @LIBS@
Cflags: -I${includedir}

0 comments on commit b5b6e44

Please sign in to comment.