Skip to content

Commit bae1544

Browse files
committed
add logger submodule
1 parent 693dcbe commit bae1544

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.gitmodules‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "lib/logger"]
2+
path = lib/logger
3+
url = https://github.com/coding-cpp/logger

‎CMakeLists.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1616
option(USE_INSTALL_RESOURCE_PATH "Set resource path to install location" OFF)
1717

1818
file(GLOB SOURCES "src/*.cpp" "src/**/*.cpp")
19+
file(GLOB LIB_SOURCES "lib/**/src/*.cpp" "lib/**/src/**/*.cpp")
1920

2021
add_executable(brewtils
2122
example/main.cpp
2223

2324
${SOURCES}
25+
${LIB_SOURCES}
2426
)
2527

2628
target_include_directories(brewtils
2729
PUBLIC
2830
$<INSTALL_INTERFACE:include>
2931
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
32+
$<INSTALL_INTERFACE:lib/logger/include>
33+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/lib/logger/include>
3034
)

‎lib/logger‎

Submodule logger added at 0b9c104

0 commit comments

Comments
 (0)