Version library
This commit is contained in:
parent
91ca9b44bc
commit
0ae8fc3a5a
|
@ -1,6 +1,8 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
project(microirc LANGUAGES C)
|
||||
|
||||
set(library_VERSION "2020.12.20")
|
||||
|
||||
OPTION(BUILD_TESTS "Build tests for ctest" OFF)
|
||||
OPTION(BUILD_IRCV3 "Build IRCv3 components" ON)
|
||||
OPTION(BUILD_HELPERS "Build message helpers" ON)
|
||||
|
@ -48,12 +50,14 @@ if ( BUILD_HELPERS )
|
|||
endif()
|
||||
endif()
|
||||
|
||||
add_library(uirc SHARED ${build_FILES})
|
||||
add_library(uirc ${build_FILES})
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set_target_properties(uirc PROPERTIES
|
||||
C_STANDARD 99
|
||||
VERSION ${library_VERSION}
|
||||
SOVERSION ${library_VERSION}
|
||||
PUBLIC_HEADER "include/functions.h;include/helpers.h;include/mappings.h;include/types.h;include/uirc.h"
|
||||
)
|
||||
|
||||
|
|
Reference in New Issue