From 290df98533b2fb26eaf98eeaed217eb6dad1563c Mon Sep 17 00:00:00 2001 From: scott-eddy Date: Fri, 9 Mar 2018 10:44:08 -0500 Subject: [PATCH] define library sources and includes. Does not build because of missing etl_profile.h, this will require some design changes as right now it is assumed a user will deine this profile when including ETL in their project --- CMakeLists.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..12a26e88 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,27 @@ +####################################################################### +# The Embedded Template Library (https://www.etlcpp.com/) +####################################################################### +cmake_minimum_required(VERSION 3.5.0) +project(etl) + +add_library(etl + src/binary.cpp + src/crc16_ccitt.cpp + src/crc16_kermit.cpp + src/crc32.cpp + src/crc64_ecma.cpp + src/crc8_ccitt.cpp + src/error_handler.cpp + src/pearson.cpp + src/random.cpp + src/private + src/private/pvoidvector.cpp + ) +target_include_directories(etl + PUBLIC + src/ + src/atomic + src/profiles + PRIVATE + src/private + )