mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-04 14:51:50 +00:00
Apply some style rules to CMake scripts
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user