blob: 9c629fe70a6b681954099fe91c1ca8ecb8261242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
cmake_minimum_required(VERSION 2.8)
set(LIBUFODECODE_API_VERSION "0.3")
set(LIBUFODECODE_ABI_VERSION "0.3")
set(LIBUFODECODE_ABI_MAJOR_VERSION "0")
set(LIBUFODECODE_VERSION "0.3.0")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
include(ConfigurePaths)
configure_paths(LIBUFODECODE)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ufodecode.pc.in"
"${CMAKE_CURRENT_BINARY_DIR}/ufodecode.pc"
@ONLY IMMEDIATE)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/ufodecode.pc
DESTINATION ${LIBUFODECODE_PKGCONFIGDIR}/pkgconfig)
add_subdirectory(src)
add_subdirectory(doc)
add_subdirectory(test)
include(CPack)
|