mirror of https://github.com/gnss-sdr/gnss-sdr
Remove blanks
This commit is contained in:
parent
1d51f7aae3
commit
16a5f100cb
|
@ -1450,7 +1450,7 @@ find_package(MATIO)
|
||||||
if(NOT MATIO_FOUND)
|
if(NOT MATIO_FOUND)
|
||||||
find_package(ZLIB)
|
find_package(ZLIB)
|
||||||
if(ZLIB_FOUND)
|
if(ZLIB_FOUND)
|
||||||
get_filename_component(ZLIB_BASE_DIR ${ZLIB_INCLUDE_DIRS} DIRECTORY)
|
get_filename_component(ZLIB_BASE_DIR ${ZLIB_INCLUDE_DIRS} DIRECTORY)
|
||||||
find_package(HDF5)
|
find_package(HDF5)
|
||||||
if(HDF5_FOUND)
|
if(HDF5_FOUND)
|
||||||
list(GET HDF5_LIBRARIES 0 HDF5_FIRST_DIR)
|
list(GET HDF5_LIBRARIES 0 HDF5_FIRST_DIR)
|
||||||
|
|
|
@ -416,19 +416,19 @@ if(ENABLE_SYSTEM_TESTING)
|
||||||
endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
add_definitions(-DHOST_SYSTEM="${HOST_SYSTEM}")
|
add_definitions(-DHOST_SYSTEM="${HOST_SYSTEM}")
|
||||||
set(TTFF_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/ttff_gps_l1.cc)
|
set(TTFF_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/ttff_gps_l1.cc)
|
||||||
|
|
||||||
# Ensure that ttff is rebuilt if it was previously built and then removed
|
# Ensure that ttff is rebuilt if it was previously built and then removed
|
||||||
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${TTFF_SOURCES})
|
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${TTFF_SOURCES})
|
||||||
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
||||||
|
|
||||||
add_executable(ttff ${TTFF_SOURCES} )
|
add_executable(ttff ${TTFF_SOURCES} )
|
||||||
if(NOT ${GTEST_DIR_LOCAL})
|
if(NOT ${GTEST_DIR_LOCAL})
|
||||||
add_dependencies(ttff gtest-${GNSSSDR_GTEST_LOCAL_VERSION})
|
add_dependencies(ttff gtest-${GNSSSDR_GTEST_LOCAL_VERSION})
|
||||||
else(NOT ${GTEST_DIR_LOCAL})
|
else(NOT ${GTEST_DIR_LOCAL})
|
||||||
add_dependencies(ttff gtest)
|
add_dependencies(ttff gtest)
|
||||||
endif(NOT ${GTEST_DIR_LOCAL})
|
endif(NOT ${GTEST_DIR_LOCAL})
|
||||||
|
|
||||||
target_link_libraries(ttff
|
target_link_libraries(ttff
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
${GFlags_LIBS}
|
${GFlags_LIBS}
|
||||||
|
@ -459,7 +459,7 @@ if(ENABLE_SYSTEM_TESTING)
|
||||||
set(POSITION_TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/position_test.cc)
|
set(POSITION_TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/position_test.cc)
|
||||||
# Ensure that position_test is rebuilt if it was previously built and then removed
|
# Ensure that position_test is rebuilt if it was previously built and then removed
|
||||||
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${POSITION_TEST_SOURCES})
|
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${POSITION_TEST_SOURCES})
|
||||||
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
||||||
add_executable(position_test ${POSITION_TEST_SOURCES})
|
add_executable(position_test ${POSITION_TEST_SOURCES})
|
||||||
if(NOT ${GTEST_DIR_LOCAL})
|
if(NOT ${GTEST_DIR_LOCAL})
|
||||||
|
@ -497,17 +497,17 @@ if(ENABLE_SYSTEM_TESTING)
|
||||||
set(OBS_GPS_L1_TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/obs_gps_l1_system_test.cc)
|
set(OBS_GPS_L1_TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/obs_gps_l1_system_test.cc)
|
||||||
# Ensure that obs_gps_l1_system_test is rebuilt if it was previously built and then removed
|
# Ensure that obs_gps_l1_system_test is rebuilt if it was previously built and then removed
|
||||||
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${OBS_GPS_L1_TEST_SOURCES})
|
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${OBS_GPS_L1_TEST_SOURCES})
|
||||||
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
||||||
add_executable(obs_gps_l1_system_test ${OBS_GPS_L1_TEST_SOURCES})
|
add_executable(obs_gps_l1_system_test ${OBS_GPS_L1_TEST_SOURCES})
|
||||||
|
|
||||||
set(OBS_SYSTEM_TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/obs_system_test.cc)
|
set(OBS_SYSTEM_TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/system-tests/obs_system_test.cc)
|
||||||
# Ensure that obs_system_test is rebuilt if it was previously built and then removed
|
# Ensure that obs_system_test is rebuilt if it was previously built and then removed
|
||||||
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${OBS_SYSTEM_TEST_SOURCES})
|
execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${OBS_SYSTEM_TEST_SOURCES})
|
||||||
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
add_executable(obs_system_test ${OBS_SYSTEM_TEST_SOURCES})
|
add_executable(obs_system_test ${OBS_SYSTEM_TEST_SOURCES})
|
||||||
|
|
||||||
if(NOT ${GTEST_DIR_LOCAL})
|
if(NOT ${GTEST_DIR_LOCAL})
|
||||||
add_dependencies(obs_gps_l1_system_test gtest-${GNSSSDR_GTEST_LOCAL_VERSION} )
|
add_dependencies(obs_gps_l1_system_test gtest-${GNSSSDR_GTEST_LOCAL_VERSION} )
|
||||||
add_dependencies(obs_system_test gtest-${GNSSSDR_GTEST_LOCAL_VERSION} )
|
add_dependencies(obs_system_test gtest-${GNSSSDR_GTEST_LOCAL_VERSION} )
|
||||||
|
@ -522,7 +522,7 @@ if(ENABLE_SYSTEM_TESTING)
|
||||||
gnss_sp_libs
|
gnss_sp_libs
|
||||||
gnss_rx
|
gnss_rx
|
||||||
${gpstk_libs})
|
${gpstk_libs})
|
||||||
|
|
||||||
target_link_libraries(obs_system_test ${GFlags_LIBS}
|
target_link_libraries(obs_system_test ${GFlags_LIBS}
|
||||||
${GLOG_LIBRARIES}
|
${GLOG_LIBRARIES}
|
||||||
${GTEST_LIBRARIES}
|
${GTEST_LIBRARIES}
|
||||||
|
@ -535,7 +535,7 @@ if(ENABLE_SYSTEM_TESTING)
|
||||||
file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
||||||
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
||||||
install(TARGETS obs_gps_l1_system_test RUNTIME DESTINATION bin COMPONENT "obs_gps_l1_system_test")
|
install(TARGETS obs_gps_l1_system_test RUNTIME DESTINATION bin COMPONENT "obs_gps_l1_system_test")
|
||||||
|
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
if(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
|
@ -566,7 +566,7 @@ else(ENABLE_SYSTEM_TESTING)
|
||||||
# Avoid working with old executables if they were switched ON and then OFF
|
# Avoid working with old executables if they were switched ON and then OFF
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
if(EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
||||||
file(REMOVE ${CMAKE_SOURCE_DIR}/install/ttff)
|
file(REMOVE ${CMAKE_SOURCE_DIR}/install/ttff)
|
||||||
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/ttff)
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
if(EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
||||||
file(REMOVE ${CMAKE_SOURCE_DIR}/install/position_test)
|
file(REMOVE ${CMAKE_SOURCE_DIR}/install/position_test)
|
||||||
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/position_test)
|
||||||
|
@ -575,7 +575,7 @@ else(ENABLE_SYSTEM_TESTING)
|
||||||
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test)
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
if(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test)
|
||||||
endif(ENABLE_SYSTEM_TESTING)
|
endif(ENABLE_SYSTEM_TESTING)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue