2016-04-06 06:53:37 +00:00
|
|
|
# first build mstch template library
|
2021-03-27 11:41:31 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0.2)
|
2016-04-06 06:53:37 +00:00
|
|
|
add_subdirectory("mstch")
|
|
|
|
|
|
|
|
|
|
|
|
# now build myext library from other files
|
|
|
|
project(myext)
|
|
|
|
|
|
|
|
set(SOURCE_HEADERS
|
|
|
|
minicsv.h
|
2017-04-28 05:45:30 +00:00
|
|
|
fmt/format.h)
|
2016-04-06 06:53:37 +00:00
|
|
|
|
|
|
|
set(SOURCE_FILES
|
2017-03-13 08:35:45 +00:00
|
|
|
fmt/format.cc
|
2017-04-28 05:45:30 +00:00
|
|
|
fmt/ostream.cc)
|
2016-04-06 06:53:37 +00:00
|
|
|
|
|
|
|
# make static library called libmyxrm
|
|
|
|
# that we are going to link to
|
|
|
|
# in the root CMakeLists.txt file
|
|
|
|
add_library(myext
|
|
|
|
STATIC
|
|
|
|
${SOURCE_FILES})
|
|
|
|
|
|
|
|
|