Skip to content

Commit 3777116

Browse files
committed
Issue #21: Adding glog submodule, update CMakeLists.txt files
1 parent c84214a commit 3777116

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "external/librobotcontrol"]
22
path = external/librobotcontrol
33
url = [email protected]:KPI-Rover/external_librobotcontrol.git
4+
[submodule "external/glog"]
5+
path = external/glog
6+
url = https://github.com/google/glog.git

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project(kpi_rover_ecu)
44
if(BUILD_VARIANT STREQUAL "Target")
55
option(BUILD_LIBROBOT_CONTROL "Build librobotcontrol using original Makefile" ON)
66
add_subdirectory(external/librobotcontrol)
7+
add_subdirectory(external/glog)
78
add_subdirectory(src/kpi_rover_ecu)
89
endif()
910

external/glog

Submodule glog added at 8f9ccfe

src/kpi_rover_ecu/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
2020
kpi_rover_ecu_core
2121
Threads::Threads
2222
robotcontrol
23+
glog
2324
)
2425

2526
target_include_directories(${PROJECT_NAME} PRIVATE

src/kpi_rover_ecu/src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ add_library(kpi_rover_ecu_core STATIC
1515
target_include_directories(kpi_rover_ecu_core PUBLIC
1616
${CMAKE_SOURCE_DIR}/src/kpi_rover_ecu/include
1717
${CMAKE_SOURCE_DIR}/external/librobotcontrol/library/include
18+
${CMAKE_SOURCE_DIR}/external/glog/
1819
)
20+
21+
target_link_libraries(kpi_rover_ecu_core PUBLIC glog)

0 commit comments

Comments
 (0)