summaryrefslogtreecommitdiffstats
path: root/utils/libsmartcols/CMakeLists.txt
blob: c8deb722bc05591a881e5eec6d6e138cba380a9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.10)

# set the project name
project(xloop-utils-libsmartcols)

add_library(libsmartcols STATIC ${CMAKE_CURRENT_SOURCE_DIR}/src/buffer.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/calculate.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/cell.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/column.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/fput.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/grouping.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/init.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/iter.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/line.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/print-api.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/print.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/symbols.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/table.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/version.c
                                ${CMAKE_CURRENT_SOURCE_DIR}/src/walk.c)
target_include_directories(libsmartcols PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/../lib)
target_link_libraries(libsmartcols LINK_PUBLIC libcommon)