Apply some style rules to CMake scripts

This commit is contained in:
Carles Fernandez
2018-11-22 00:35:21 +01:00
parent 19fffc1e5a
commit b0ba246934
39 changed files with 1321 additions and 1075 deletions
+11 -6
View File
@@ -18,16 +18,15 @@
set(CORE_MONITOR_LIBS_SOURCES
gnss_synchro_monitor.cc
gnss_synchro_udp_sink.cc
gnss_synchro_monitor.cc
gnss_synchro_udp_sink.cc
)
set(CORE_MONITOR_LIBS_HEADERS
gnss_synchro_monitor.h
gnss_synchro_udp_sink.h
gnss_synchro_monitor.h
gnss_synchro_udp_sink.h
)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/src/core/system_parameters
@@ -40,7 +39,13 @@ include_directories(
list(SORT CORE_MONITOR_LIBS_HEADERS)
list(SORT CORE_MONITOR_LIBS_SOURCES)
add_library(core_monitor_lib ${CORE_MONITOR_LIBS_SOURCES} ${CORE_MONITOR_LIBS_HEADERS})
add_library(core_monitor_lib
${CORE_MONITOR_LIBS_SOURCES}
${CORE_MONITOR_LIBS_HEADERS}
)
source_group(Headers FILES ${CORE_MONITOR_LIBS_HEADERS})
target_link_libraries(core_monitor_lib ${Boost_LIBRARIES})
add_dependencies(core_monitor_lib glog-${glog_RELEASE})