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
This commit is contained in:
scott-eddy 2018-03-09 10:44:08 -05:00 committed by John Wellbelove
parent 9f2ce39ba7
commit 290df98533

27
CMakeLists.txt Normal file
View File

@ -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
)