mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Merge remote-tracking branch 'cf/cmakelint' into next
Add CI job using cmakelint for CMake scripts formatting and fix raised errors
This commit is contained in:
commit
ad97144f8f
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -83,6 +83,18 @@ jobs:
|
||||
run: find . -iname "*.md" | xargs prettier --parser markdown --print-width 80 --prose-wrap always --list-different
|
||||
|
||||
|
||||
cmakelint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: install dependencies
|
||||
run: |
|
||||
sudo python -m pip install --upgrade pip
|
||||
sudo pip install cmakelint
|
||||
- name: check CMake scripts
|
||||
run: find . -iname "CMakeLists.txt" -o -iname "*.cmake" | xargs cmakelint --filter=-linelength,-readability/wonkycase
|
||||
|
||||
|
||||
volk-gnsssdr-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
|
@ -925,7 +925,7 @@ if(NOT VOLKGNSSSDR_FOUND)
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
|
||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build
|
||||
CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS}
|
||||
-DCMAKE_BUILD_TYPE=$<$<CONFIG:None>:None>$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>$<$<CONFIG:RelWithDebInfo>:RelWithDebInfo>$<$<CONFIG:MinSizeRel>:MinSizeRel>$<$<CONFIG:NoOptWithASM>:NoOptWithASM>$<$<CONFIG:Coverage>:Coverage>$<$<CONFIG:O2WithASM>:O2WithASM>$<$<CONFIG:O3WithASM>:O3WithASM>$<$<CONFIG:ASAN>:ASAN>
|
||||
-DCMAKE_BUILD_TYPE=$<$<CONFIG:None>:None>$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>$<$<CONFIG:RelWithDebInfo>:RelWithDebInfo>$<$<CONFIG:MinSizeRel>:MinSizeRel>$<$<CONFIG:NoOptWithASM>:NoOptWithASM>$<$<CONFIG:Coverage>:Coverage>$<$<CONFIG:O2WithASM>:O2WithASM>$<$<CONFIG:O3WithASM>:O3WithASM>$<$<CONFIG:ASAN>:ASAN>
|
||||
DOWNLOAD_COMMAND ""
|
||||
UPDATE_COMMAND ""
|
||||
PATCH_COMMAND ""
|
||||
|
@ -255,6 +255,9 @@ cmake_pop_check_state()
|
||||
|
||||
set(FILESYSTEM_FOUND ${_found} CACHE BOOL "TRUE if we can compile and link a program using std::filesystem" FORCE)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(FILESYSTEM DEFAULT_MSG FILESYSTEM_FOUND)
|
||||
|
||||
if(FILESYSTEM_FIND_REQUIRED AND NOT FILESYSTEM_FOUND)
|
||||
message(FATAL_ERROR "Cannot compile a simple program using std::filesystem")
|
||||
endif()
|
||||
|
@ -13,6 +13,7 @@
|
||||
if(NOT COMMAND feature_summary)
|
||||
include(FeatureSummary)
|
||||
endif()
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
# if GR_REQUIRED_COMPONENTS is not defined, it will be set to the following list
|
||||
if(NOT GR_REQUIRED_COMPONENTS)
|
||||
@ -236,10 +237,6 @@ if(NOT PC_GNURADIO_RUNTIME_VERSION)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Trick for feature_summary
|
||||
if(NOT DEFINED GNURADIO_FOUND)
|
||||
set(GNURADIO_FOUND TRUE)
|
||||
endif()
|
||||
set(GNURADIO_VERSION ${PC_GNURADIO_RUNTIME_VERSION})
|
||||
|
||||
if(NOT GNSSSDR_GNURADIO_MIN_VERSION)
|
||||
@ -271,6 +268,7 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
find_package_handle_standard_args(GNURADIO DEFAULT_MSG GNURADIO_RUNTIME_FOUND)
|
||||
|
||||
# Search for IIO component
|
||||
if(GNURADIO_VERSION VERSION_GREATER 3.8.99)
|
||||
@ -328,7 +326,7 @@ if(GNURADIO_VERSION VERSION_GREATER 3.8.99)
|
||||
message(STATUS " * LIBS=${GNURADIO_IIO_LIBRARIES}")
|
||||
endif()
|
||||
if(GNURADIO_IIO_LIBRARIES AND GNURADIO_IIO_INCLUDE_DIRS)
|
||||
set(GNURADIO_IIO_FOUND TRUE)
|
||||
set(GNURADIO_IIO_FOUND TRUE)
|
||||
endif()
|
||||
if(GNURADIO_IIO_FOUND)
|
||||
message(STATUS "GNURADIO_IIO_FOUND = ${GNURADIO_IIO_FOUND}")
|
||||
|
@ -142,14 +142,14 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
if (LOG4CPP_FOUND AND NOT TARGET Log4cpp::log4cpp)
|
||||
add_library(Log4cpp::log4cpp SHARED IMPORTED)
|
||||
set_target_properties(Log4cpp::log4cpp PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
|
||||
IMPORTED_LOCATION "${LOG4CPP_LIBRARIES}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${LOG4CPP_INCLUDE_DIRS}"
|
||||
INTERFACE_LINK_LIBRARIES "${LOG4CPP_LIBRARIES}"
|
||||
)
|
||||
if(LOG4CPP_FOUND AND NOT TARGET Log4cpp::log4cpp)
|
||||
add_library(Log4cpp::log4cpp SHARED IMPORTED)
|
||||
set_target_properties(Log4cpp::log4cpp PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
|
||||
IMPORTED_LOCATION "${LOG4CPP_LIBRARIES}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${LOG4CPP_INCLUDE_DIRS}"
|
||||
INTERFACE_LINK_LIBRARIES "${LOG4CPP_LIBRARIES}"
|
||||
)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(LOG4CPP_LIBRARIES LOG4CPP_INCLUDE_DIRS)
|
||||
|
@ -92,9 +92,9 @@ find_path(_OPENCL_CPP_INCLUDE_DIRS
|
||||
ENV OCL_ROOT
|
||||
/usr/local/cuda/include
|
||||
PATH_SUFFIXES
|
||||
include
|
||||
OpenCL/common/inc
|
||||
"AMD APP/include"
|
||||
include
|
||||
OpenCL/common/inc
|
||||
"AMD APP/include"
|
||||
)
|
||||
|
||||
set(OPENCL_INCLUDE_DIRS ${OPENCL_INCLUDE_DIR})
|
||||
@ -105,7 +105,7 @@ if(_OPENCL_CPP_INCLUDE_DIRS)
|
||||
list(REMOVE_DUPLICATES OPENCL_INCLUDE_DIRS)
|
||||
endif()
|
||||
|
||||
_FIND_OPENCL_VERSION()
|
||||
_find_opencl_version()
|
||||
|
||||
if(WIN32)
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
|
@ -18,17 +18,21 @@ set(CMAKE_SYSROOT /home/carlesfernandez/binary) ### POINT THIS TO YOUR ROOTFS
|
||||
set(CMAKE_C_COMPILER /usr/bin/arm-linux-gnueabihf-gcc)
|
||||
set(CMAKE_CXX_COMPILER /usr/bin/arm-linux-gnueabihf-g++)
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT} )
|
||||
set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT})
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
|
||||
set(ZYNQ_FLAGS "-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7")
|
||||
set(ZYNQ_FLAGS
|
||||
"-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7"
|
||||
)
|
||||
set(CMAKE_ASM_FLAGS ${ZYNQ_FLAGS} CACHE STRING "" FORCE)
|
||||
set(CMAKE_C_FLAGS ${ZYNQ_FLAGS} CACHE STRING "" FORCE)
|
||||
set(CMAKE_CXX_FLAGS ${ZYNQ_FLAGS} CACHE STRING "" FORCE)
|
||||
|
||||
set(CMAKE_LIBRARY_PATH ${CMAKE_SYSROOT}/usr/lib
|
||||
${CMAKE_SYSROOT}/usr/lib/arm-linux-gnueabihf)
|
||||
set(CMAKE_LIBRARY_PATH
|
||||
${CMAKE_SYSROOT}/usr/lib
|
||||
${CMAKE_SYSROOT}/usr/lib/arm-linux-gnueabihf
|
||||
)
|
||||
|
||||
set(CMAKE_INSTALL_PREFIX ${CMAKE_SYSROOT}/usr CACHE STRING "" FORCE)
|
||||
|
@ -104,14 +104,16 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
|
||||
- Updated links in comments along the source code and in CMake scripts.
|
||||
- Update GSL implementation to 0.36.0. See
|
||||
https://github.com/gsl-lite/gsl-lite/releases/tag/v0.36.0
|
||||
- Create a CI job in GitHub to ensure that `clang-tidy` has been applied in most
|
||||
- Create a CI job on GitHub to ensure that `clang-tidy` has been applied in most
|
||||
of the source code (some optional blocks and tests are left apart).
|
||||
- Create a CI job in GitHub to ensure that `clang-format` has been applied.
|
||||
- Create a CI job in GitHub to ensure that `cpplint` filters have been applied.
|
||||
- Create a CI job in GitHub to ensure compliance with REUSE Specification (see
|
||||
- Create a CI job on GitHub to ensure that `clang-format` has been applied.
|
||||
- Create a CI job on GitHub to ensure that `cpplint` filters have been applied.
|
||||
- Create a CI job on GitHub to ensure compliance with REUSE Specification (see
|
||||
https://reuse.software)
|
||||
- Create a CI job in GitHub using `prettier` (https://prettier.io/) to check
|
||||
- Create a CI job on GitHub using `prettier` (https://prettier.io/) to check
|
||||
markdown files formatting.
|
||||
- Create a CI job on GitHub to check the formatting of CMake scripts using
|
||||
`cmakelint` (see https://github.com/richq/cmake-lint).
|
||||
|
||||
### Improvements in Openness:
|
||||
|
||||
@ -192,6 +194,8 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
|
||||
See the definitions of concepts and metrics at
|
||||
https://gnss-sdr.org/design-forces/
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.11](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.11)
|
||||
|
||||
This release has several improvements in different dimensions, addition of new
|
||||
@ -339,6 +343,8 @@ features and bug fixes:
|
||||
See the definitions of concepts and metrics at
|
||||
https://gnss-sdr.org/design-forces/
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.10](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.10)
|
||||
|
||||
This release has several improvements in different dimensions, addition of new
|
||||
@ -569,6 +575,8 @@ features and bug fixes:
|
||||
See the definitions of concepts and metrics at
|
||||
https://gnss-sdr.org/design-forces/
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.9](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.9)
|
||||
|
||||
DOI: https://doi.org/10.5281/zenodo.291371
|
||||
@ -688,6 +696,8 @@ many dimensions:
|
||||
See the definitions of concepts and metrics at
|
||||
https://gnss-sdr.org/design-forces/
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.8](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.8)
|
||||
|
||||
DOI: https://doi.org/10.5281/zenodo.57022
|
||||
@ -712,6 +722,8 @@ respect to v0.0.7. The main changes are:
|
||||
- VOLK_GNSSSDR: Added an option to trigger profiling at building time.
|
||||
- VOLK_GNSSSDR: Fix the CMake-based check for posix_memalign.
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.7](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.7)
|
||||
|
||||
DOI: https://doi.org/10.5281/zenodo.51521
|
||||
@ -802,6 +814,8 @@ This release has several improvements, addition of new features and bug fixes:
|
||||
- Added a CGRAN (https://www.cgran.org/) manifest
|
||||
- Lots of code cleaning and fixes of typos and small bugs.
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.6](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.6)
|
||||
|
||||
This release has several improvements and bug fixes:
|
||||
@ -849,6 +863,8 @@ This release has several improvements and bug fixes:
|
||||
- Enabled cross-compilation for ARM devices.
|
||||
- Lots of code cleaning.
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.5](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.5)
|
||||
|
||||
This release has several improvements and bug fixes:
|
||||
@ -874,6 +890,8 @@ This release has several improvements and bug fixes:
|
||||
- Added support for interleaved I/Q byte-size sample files.
|
||||
- Minor bug fixes, updated documentation and code cleaning.
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.4](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.4)
|
||||
|
||||
This release has several improvements and bug fixes:
|
||||
@ -909,6 +927,8 @@ This release has several improvements and bug fixes:
|
||||
- Some raw pointers have been changed to smart pointers.
|
||||
- Minor bug fixes and code cleaning.
|
||||
|
||||
|
||||
|
||||
## [GNSS-SDR v0.0.3](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.3)
|
||||
|
||||
This release has several improvements and bug fixes, completing the transition
|
||||
|
@ -29,7 +29,7 @@ endif()
|
||||
if(HAVE_POSIX_MEMALIGN)
|
||||
message(STATUS "Use `posix_memalign` for aligned malloc!")
|
||||
add_definitions(-DHAVE_POSIX_MEMALIGN)
|
||||
endif(HAVE_POSIX_MEMALIGN)
|
||||
endif()
|
||||
|
||||
# MAKE volk_gnsssdr_profile
|
||||
add_executable(volk_gnsssdr_profile
|
||||
@ -42,7 +42,7 @@ if(MSVC)
|
||||
target_include_directories(volk_gnsssdr_profile
|
||||
PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/cmake/msvc>
|
||||
)
|
||||
endif(MSVC)
|
||||
endif()
|
||||
|
||||
target_include_directories(volk_gnsssdr_profile
|
||||
PRIVATE $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
|
||||
|
@ -77,12 +77,12 @@ set(__CMAKE_PARSE_ARGUMENTS_INCLUDED TRUE)
|
||||
function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgNames)
|
||||
# first set all result variables to empty/FALSE
|
||||
foreach(arg_name ${_singleArgNames} ${_multiArgNames})
|
||||
set(${prefix}_${arg_name})
|
||||
endforeach(arg_name)
|
||||
set(${prefix}_${arg_name})
|
||||
endforeach()
|
||||
|
||||
foreach(option ${_optionNames})
|
||||
set(${prefix}_${option} FALSE)
|
||||
endforeach(option)
|
||||
set(${prefix}_${option} FALSE)
|
||||
endforeach()
|
||||
|
||||
set(${prefix}_UNPARSED_ARGUMENTS)
|
||||
|
||||
@ -103,9 +103,9 @@ function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgName
|
||||
elseif("${insideValues}" STREQUAL "MULTI")
|
||||
list(APPEND ${prefix}_${currentArgName} ${currentArg})
|
||||
endif()
|
||||
else(insideValues)
|
||||
else()
|
||||
list(APPEND ${prefix}_UNPARSED_ARGUMENTS ${currentArg})
|
||||
endif(insideValues)
|
||||
endif()
|
||||
else()
|
||||
if(NOT ${optionIndex} EQUAL -1)
|
||||
set(${prefix}_${currentArg} TRUE)
|
||||
@ -121,12 +121,12 @@ function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgName
|
||||
endif()
|
||||
endif()
|
||||
|
||||
endforeach(currentArg)
|
||||
endforeach()
|
||||
|
||||
# propagate the result variables to the caller:
|
||||
foreach(arg_name ${_singleArgNames} ${_multiArgNames} ${_optionNames})
|
||||
set(${prefix}_${arg_name} ${${prefix}_${arg_name}} PARENT_SCOPE)
|
||||
endforeach(arg_name)
|
||||
endforeach()
|
||||
set(${prefix}_UNPARSED_ARGUMENTS ${${prefix}_UNPARSED_ARGUMENTS} PARENT_SCOPE)
|
||||
|
||||
endfunction(CMAKE_PARSE_ARGUMENTS _options _singleArgs _multiArgs)
|
||||
endfunction()
|
||||
|
@ -254,6 +254,9 @@ cmake_pop_check_state()
|
||||
|
||||
set(FILESYSTEM_FOUND ${_found} CACHE BOOL "TRUE if we can compile and link a program using std::filesystem" FORCE)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(FILESYSTEM DEFAULT_MSG FILESYSTEM_FOUND)
|
||||
|
||||
if(FILESYSTEM_FIND_REQUIRED AND NOT FILESYSTEM_FOUND)
|
||||
message(FATAL_ERROR "Cannot compile a simple program using std::filesystem")
|
||||
endif()
|
||||
|
@ -34,7 +34,7 @@ macro(VOLK_PYTHON_CHECK_MODULE_RAW desc python_code have)
|
||||
endmacro()
|
||||
|
||||
macro(VOLK_PYTHON_CHECK_MODULE desc mod cmd have)
|
||||
VOLK_PYTHON_CHECK_MODULE_RAW(
|
||||
volk_python_check_module_raw(
|
||||
"${desc}" "
|
||||
#########################################
|
||||
try:
|
||||
|
@ -309,7 +309,7 @@ if(NOT CROSSCOMPILE_MULTILIB AND CPU_IS_x86)
|
||||
if(${SIZEOF_CPU} EQUAL 64 AND MSVC)
|
||||
overrule_arch(mmx "No MMX for Win64")
|
||||
if(MSVC_VERSION GREATER 1700)
|
||||
OVERRULE_ARCH(sse "No SSE for Win64 Visual Studio 2013")
|
||||
overrule_arch(sse "No SSE for Win64 Visual Studio 2013")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
########################################################################
|
||||
include(VolkPython)
|
||||
|
||||
VOLK_PYTHON_INSTALL(
|
||||
volk_python_install(
|
||||
FILES
|
||||
__init__.py
|
||||
cfg.py
|
||||
@ -21,7 +21,7 @@ VOLK_PYTHON_INSTALL(
|
||||
COMPONENT "volk_gnsssdr"
|
||||
)
|
||||
|
||||
VOLK_PYTHON_INSTALL(
|
||||
volk_python_install(
|
||||
PROGRAMS
|
||||
volk_gnsssdr_modtool
|
||||
DESTINATION ${VOLK_RUNTIME_DIR}
|
||||
|
@ -35,7 +35,7 @@ target_link_libraries(resampler_gr_blocks
|
||||
Gnuradio::runtime
|
||||
Boost::headers # Fix for homebrew
|
||||
PRIVATE
|
||||
Volk::volk
|
||||
Volk::volk
|
||||
)
|
||||
|
||||
if(ENABLE_CLANG_TIDY)
|
||||
|
@ -24,10 +24,10 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND
|
||||
set_property(TARGET obsdiff PROPERTY CXX_STANDARD 14) # Required by GPSTk v3.0.0
|
||||
# Do not show warnings raised by GPSTk v3.0.0
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(obsdiff
|
||||
PUBLIC
|
||||
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-reorder -Wno-deprecated-copy -Wno-extra -Wno-unused-but-set-variable -Wno-unknown-pragmas
|
||||
)
|
||||
target_compile_options(obsdiff
|
||||
PUBLIC
|
||||
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-reorder -Wno-deprecated-copy -Wno-extra -Wno-unused-but-set-variable -Wno-unknown-pragmas
|
||||
)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(obsdiff
|
||||
@ -65,8 +65,8 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND
|
||||
)
|
||||
|
||||
add_custom_command(TARGET obsdiff POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:obsdiff>
|
||||
${CMAKE_SOURCE_DIR}/install/$<TARGET_FILE_NAME:obsdiff>
|
||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:obsdiff>
|
||||
${CMAKE_SOURCE_DIR}/install/$<TARGET_FILE_NAME:obsdiff>
|
||||
)
|
||||
|
||||
install(TARGETS obsdiff
|
||||
|
@ -50,10 +50,10 @@ if(Boost_FOUND)
|
||||
set_property(TARGET rinex2assist PROPERTY CXX_STANDARD 14) # Required by GPSTk
|
||||
# Do not show warnings raised by GPSTk v3.0.0
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(rinex2assist
|
||||
PUBLIC
|
||||
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-type-limits -Wno-unused-but-set-variable -Wno-deprecated-copy -Wno-extra
|
||||
)
|
||||
target_compile_options(rinex2assist
|
||||
PUBLIC
|
||||
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-type-limits -Wno-unused-but-set-variable -Wno-deprecated-copy -Wno-extra
|
||||
)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(rinex2assist
|
||||
|
Loading…
Reference in New Issue
Block a user