diff common/CMakeLists.txt @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/CMakeLists.txt	Tue Aug 17 11:19:54 2021 +0200
@@ -0,0 +1,20 @@
+cmake_minimum_required (VERSION 3.14)
+
+set(project common)
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
+
+set(${project}_src
+    common.cpp
+    logger.cpp
+    words.cpp    
+    logstream.cpp
+    logstreamhelper.h
+    url_breaker.cpp
+)
+
+add_library(${project} STATIC ${${project}_src})
+
+
+message("Common links with: ${project_libs}")
+target_link_libraries(${project} ${CONAN_LIBS} tinyxml fpaq0 cxxtools pthread m stdc++)