Split the lib in smaller libs to ease unit tests
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
|
||||
add_library(lmsutils SHARED
|
||||
impl/Config.cpp
|
||||
impl/Logger.cpp
|
||||
impl/NetAddress.cpp
|
||||
impl/Path.cpp
|
||||
impl/Random.cpp
|
||||
impl/StreamLogger.cpp
|
||||
impl/String.cpp
|
||||
impl/UUID.cpp
|
||||
impl/WtLogger.cpp
|
||||
)
|
||||
|
||||
target_include_directories(lmsutils INTERFACE
|
||||
include
|
||||
)
|
||||
|
||||
target_include_directories(lmsutils PRIVATE
|
||||
include
|
||||
)
|
||||
|
||||
target_link_libraries(lmsutils PRIVATE
|
||||
config++
|
||||
)
|
||||
|
||||
target_link_libraries(lmsutils PUBLIC
|
||||
stdc++fs
|
||||
)
|
||||
|
||||
install(TARGETS lmsutils DESTINATION lib)
|
||||
|
||||
Reference in New Issue
Block a user