Make maxutils a standalone library
The only way to cleanly separate the maxutils library from the MaxScale CMake project is to make it a standalone CMake project. With the help of ExternalProject, it should be relatively easy to use.
This commit is contained in:
10
maxutils/maxbase/include/maxbase/CMakeLists.txt
Normal file
10
maxutils/maxbase/include/maxbase/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
set(TYPES "*.h" "*.hh")
|
||||
foreach(type ${TYPES})
|
||||
file(GLOB HEADERS ${type})
|
||||
foreach(var ${HEADERS})
|
||||
get_filename_component(header ${var} NAME)
|
||||
install(FILES ${header} DESTINATION include/maxbase)
|
||||
endforeach()
|
||||
endforeach()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user