1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-07 18:54:06 +00:00
Files
gnss-sdr/src/algorithms/observables/libs/CMakeLists.txt
Carles Fernandez 7308745f05 Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00

39 lines
956 B
CMake

# GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
# This file is part of GNSS-SDR.
#
# SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(USE_CMAKE_TARGET_SOURCES)
add_library(observables_libs STATIC)
target_sources(observables_libs
PRIVATE
obs_conf.cc
PUBLIC
obs_conf.h
)
else()
source_group(Headers FILES obs_conf.h)
add_library(observables_libs obs_conf.cc obs_conf.h)
endif()
target_link_libraries(observables_libs
PRIVATE
gnss_sdr_flags
)
if(ENABLE_CLANG_TIDY)
if(CLANG_TIDY_EXE)
set_target_properties(observables_libs
PROPERTIES
CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
)
endif()
endif()
set_property(TARGET observables_libs
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)