mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 11:19:18 +00:00
Fix formatting errors detected by cmakelint
This commit is contained in:
parent
ae26f63140
commit
e638019d93
@ -925,7 +925,7 @@ if(NOT VOLKGNSSSDR_FOUND)
|
|||||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
|
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
|
||||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build
|
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build
|
||||||
CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS}
|
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 ""
|
DOWNLOAD_COMMAND ""
|
||||||
UPDATE_COMMAND ""
|
UPDATE_COMMAND ""
|
||||||
PATCH_COMMAND ""
|
PATCH_COMMAND ""
|
||||||
|
@ -29,7 +29,7 @@ endif()
|
|||||||
if(HAVE_POSIX_MEMALIGN)
|
if(HAVE_POSIX_MEMALIGN)
|
||||||
message(STATUS "Use `posix_memalign` for aligned malloc!")
|
message(STATUS "Use `posix_memalign` for aligned malloc!")
|
||||||
add_definitions(-DHAVE_POSIX_MEMALIGN)
|
add_definitions(-DHAVE_POSIX_MEMALIGN)
|
||||||
endif(HAVE_POSIX_MEMALIGN)
|
endif()
|
||||||
|
|
||||||
# MAKE volk_gnsssdr_profile
|
# MAKE volk_gnsssdr_profile
|
||||||
add_executable(volk_gnsssdr_profile
|
add_executable(volk_gnsssdr_profile
|
||||||
@ -42,7 +42,7 @@ if(MSVC)
|
|||||||
target_include_directories(volk_gnsssdr_profile
|
target_include_directories(volk_gnsssdr_profile
|
||||||
PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/cmake/msvc>
|
PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/cmake/msvc>
|
||||||
)
|
)
|
||||||
endif(MSVC)
|
endif()
|
||||||
|
|
||||||
target_include_directories(volk_gnsssdr_profile
|
target_include_directories(volk_gnsssdr_profile
|
||||||
PRIVATE $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
|
PRIVATE $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
|
||||||
|
@ -309,7 +309,7 @@ if(NOT CROSSCOMPILE_MULTILIB AND CPU_IS_x86)
|
|||||||
if(${SIZEOF_CPU} EQUAL 64 AND MSVC)
|
if(${SIZEOF_CPU} EQUAL 64 AND MSVC)
|
||||||
overrule_arch(mmx "No MMX for Win64")
|
overrule_arch(mmx "No MMX for Win64")
|
||||||
if(MSVC_VERSION GREATER 1700)
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
########################################################################
|
########################################################################
|
||||||
include(VolkPython)
|
include(VolkPython)
|
||||||
|
|
||||||
VOLK_PYTHON_INSTALL(
|
volk_python_install(
|
||||||
FILES
|
FILES
|
||||||
__init__.py
|
__init__.py
|
||||||
cfg.py
|
cfg.py
|
||||||
@ -21,7 +21,7 @@ VOLK_PYTHON_INSTALL(
|
|||||||
COMPONENT "volk_gnsssdr"
|
COMPONENT "volk_gnsssdr"
|
||||||
)
|
)
|
||||||
|
|
||||||
VOLK_PYTHON_INSTALL(
|
volk_python_install(
|
||||||
PROGRAMS
|
PROGRAMS
|
||||||
volk_gnsssdr_modtool
|
volk_gnsssdr_modtool
|
||||||
DESTINATION ${VOLK_RUNTIME_DIR}
|
DESTINATION ${VOLK_RUNTIME_DIR}
|
||||||
|
@ -35,7 +35,7 @@ target_link_libraries(resampler_gr_blocks
|
|||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
Boost::headers # Fix for homebrew
|
Boost::headers # Fix for homebrew
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Volk::volk
|
Volk::volk
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ENABLE_CLANG_TIDY)
|
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
|
set_property(TARGET obsdiff PROPERTY CXX_STANDARD 14) # Required by GPSTk v3.0.0
|
||||||
# Do not show warnings raised by GPSTk v3.0.0
|
# Do not show warnings raised by GPSTk v3.0.0
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
target_compile_options(obsdiff
|
target_compile_options(obsdiff
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-reorder -Wno-deprecated-copy -Wno-extra -Wno-unused-but-set-variable -Wno-unknown-pragmas
|
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-reorder -Wno-deprecated-copy -Wno-extra -Wno-unused-but-set-variable -Wno-unknown-pragmas
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_options(obsdiff
|
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
|
add_custom_command(TARGET obsdiff POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:obsdiff>
|
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:obsdiff>
|
||||||
${CMAKE_SOURCE_DIR}/install/$<TARGET_FILE_NAME:obsdiff>
|
${CMAKE_SOURCE_DIR}/install/$<TARGET_FILE_NAME:obsdiff>
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS obsdiff
|
install(TARGETS obsdiff
|
||||||
|
@ -50,10 +50,10 @@ if(Boost_FOUND)
|
|||||||
set_property(TARGET rinex2assist PROPERTY CXX_STANDARD 14) # Required by GPSTk
|
set_property(TARGET rinex2assist PROPERTY CXX_STANDARD 14) # Required by GPSTk
|
||||||
# Do not show warnings raised by GPSTk v3.0.0
|
# Do not show warnings raised by GPSTk v3.0.0
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
target_compile_options(rinex2assist
|
target_compile_options(rinex2assist
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-type-limits -Wno-unused-but-set-variable -Wno-deprecated-copy -Wno-extra
|
-Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-type-limits -Wno-unused-but-set-variable -Wno-deprecated-copy -Wno-extra
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_options(rinex2assist
|
target_compile_options(rinex2assist
|
||||||
|
Loading…
Reference in New Issue
Block a user