You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
449 B
CMake
25 lines
449 B
CMake
# first build mstch template library
|
|
cmake_minimum_required(VERSION 3.0.2)
|
|
add_subdirectory("mstch")
|
|
|
|
|
|
# now build myext library from other files
|
|
project(myext)
|
|
|
|
set(SOURCE_HEADERS
|
|
minicsv.h
|
|
fmt/format.h)
|
|
|
|
set(SOURCE_FILES
|
|
fmt/format.cc
|
|
fmt/ostream.cc)
|
|
|
|
# make static library called libmyxrm
|
|
# that we are going to link to
|
|
# in the root CMakeLists.txt file
|
|
add_library(myext
|
|
STATIC
|
|
${SOURCE_FILES})
|
|
|
|
|