You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
384 B
23 lines
384 B
8 years ago
|
cmake_minimum_required(VERSION 3.6)
|
||
|
|
||
|
# now build myext library from other files
|
||
|
project(myext)
|
||
|
|
||
|
# first build mstch template library
|
||
|
add_subdirectory("restbed")
|
||
|
|
||
|
set(SOURCE_FILES
|
||
|
format.cc
|
||
|
date/tz.cpp)
|
||
|
|
||
|
# make static library called libmyxrm
|
||
|
# that we are going to link to
|
||
|
# in the root CMakeLists.txt file
|
||
|
add_library(myext
|
||
|
STATIC
|
||
|
${SOURCE_FILES})
|
||
|
|
||
|
|
||
|
|
||
|
|