summaryrefslogtreecommitdiffstats
path: root/utils/libsmartcols/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'utils/libsmartcols/CMakeLists.txt')
-rw-r--r--utils/libsmartcols/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/utils/libsmartcols/CMakeLists.txt b/utils/libsmartcols/CMakeLists.txt
new file mode 100644
index 0000000..c8deb72
--- /dev/null
+++ b/utils/libsmartcols/CMakeLists.txt
@@ -0,0 +1,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)