# Copyright 2011,2012,2014,2016,2018 Free Software Foundation, Inc.
#
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-ais
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
########################################################################
# Project setup
########################################################################
cmake_minimum_required(VERSION 3.8)
project(gr-ais CXX C)
enable_testing()
# Install to PyBOMBS target prefix if defined
if(DEFINED ENV{PYBOMBS_PREFIX})
set(CMAKE_INSTALL_PREFIX $ENV{PYBOMBS_PREFIX})
message(STATUS "PyBOMBS installed GNU Radio. Setting CMAKE_INSTALL_PREFIX to $ENV{PYBOMBS_PREFIX}")
endif()
# Select the release build type by default to get optimization flags
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
message(STATUS "Build type not specified: defaulting to release.")
endif(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
# Make sure our local CMake Modules path comes first
list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
# Set the version information here
set(VERSION_MAJOR 1)
set(VERSION_API 0)
set(VERSION_ABI 0)
set(VERSION_PATCH git)
cmake_policy(SET CMP0011 NEW)
# Enable generation of compile_commands.json for code completion engines
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
########################################################################
# Compiler specific setup
########################################################################
if((CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
AND NOT WIN32)
#http://gcc.gnu.org/wiki/Visibility
add_definitions(-fvisibility=hidden)
endif()
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_STANDARD 11)
ELSEIF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
SET(CMAKE_CXX_STANDARD 11)
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
SET(CMAKE_CXX_STANDARD 11)
ELSE()
message(WARNING "C++ standard could not be set because compiler is not GNU, Clang or MSVC.")
ENDIF()
IF(CMAKE_C_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_C_STANDARD 11)
ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Clang")
SET(CMAKE_C_STANDARD 11)
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
SET(CMAKE_C_STANDARD 11)
ELSE()
message(WARNING "C standard could not be set because compiler is not GNU, Clang or MSVC.")
ENDIF()
########################################################################
# Install directories
########################################################################
include(FindPkgConfig)
find_package(Gnuradio "3.8" COMPONENTS fft filter blocks REQUIRED)
include(GrVersion)
include(GrPlatform) #define LIB_SUFFIX
if(NOT CMAKE_MODULES_DIR)
set(CMAKE_MODULES_DIR lib${LIB_SUFFIX}/cmake)
endif(NOT CMAKE_MODULES_DIR)
set(GR_INCLUDE_DIR include/ais)
set(GR_CMAKE_DIR ${CMAKE_MODULES_DIR}/ais)
set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME})
set(GR_PKG_DOC_DIR ${GR_DOC_DIR}/${CMAKE_PROJECT_NAME})
set(GR_PKG_CONF_DIR ${GR_CONF_DIR}/${CMAKE_PROJECT_NAME}/conf.d)
set(GR_PKG_LIBEXEC_DIR ${GR_LIBEXEC_DIR}/${CMAKE_PROJECT_NAME})
########################################################################
# On Apple only, set install name and use rpath correctly, if not already set
########################################################################
if(APPLE)
if(NOT CMAKE_INSTALL_NAME_DIR)
set(CMAKE_INSTALL_NAME_DIR
${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE
PATH "Library Install Name Destination Directory" FORCE)
endif(NOT CMAKE_INSTALL_NAME_DIR)
if(NOT CMAKE_INSTALL_RPATH)
set(CMAKE_INSTALL_RPATH
${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE
PATH "Library Install RPath" FORCE)
endif(NOT CMAKE_INSTALL_RPATH)
if(NOT CMAKE_BUILD_WITH_INSTALL_RPATH)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON CACHE
BOOL "Do Build Using Library Install RPath" FORCE)
endif(NOT CMAKE_BUILD_WITH_INSTALL_RPATH)
endif(APPLE)
########################################################################
# Find gnuradio build dependencies
########################################################################
find_package(Doxygen)
########################################################################
# Setup doxygen option
########################################################################
if(DOXYGEN_FOUND)
option(ENABLE_DOXYGEN "Build docs using Doxygen" ON)
else(DOXYGEN_FOUND)
option(ENABLE_DOXYGEN "Build docs using Doxygen" OFF)
endif(DOXYGEN_FOUND)
########################################################################
# Create uninstall target
########################################################################
configure_file(
${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
@ONLY)
add_custom_target(uninstall
${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
)
########################################################################
# Add subdirectories
########################################################################
add_subdirectory(include/ais)
add_subdirectory(lib)
add_subdirectory(apps)
add_subdirectory(docs)
add_subdirectory(swig)
add_subdirectory(python)
add_subdirectory(grc)
########################################################################
# Install cmake search helper for this library
########################################################################
install(FILES cmake/Modules/aisConfig.cmake
DESTINATION ${CMAKE_MODULES_DIR}/ais
)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于RTL-SDR或HackRF等设备接收并解调AIS信号的Python和c仿真实现源码+数据(课程设计).zip 已获导师指导并通过的97分的高分课程设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 基于RTL-SDR或HackRF等设备接收并解调AIS信号的Python和c仿真实现源码+数据(课程设计).zip 已获导师指导并通过的97分的高分课程设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。基于RTL-SDR或HackRF等设备接收并解调AIS信号的Python和c仿真实现源码+数据(课程设计).zip 已获导师指导并通过的97分的高分课程设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。基于RTL-SDR或HackRF等设备接收并解调AIS信号的Python和c仿真实现源码+数据(课程设计).zip 已获导师指导并通过的97分的高分课程设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。基于RTL-SDR或HackRF等设备接收并解调AIS信号的Python和
资源推荐
资源详情
资源评论
收起资源包目录
基于RTL-SDR或HackRF等设备接收并解调AIS信号的Python和c仿真实现.zip (88个子文件)
RTL-SDR或HackRF等设备接收并解调AIS信号的Python和c仿真
include
ais
CMakeLists.txt 1KB
corr_est_cc.h 13KB
msk_timing_recovery_cc.h 13KB
freqest.h 12KB
invert.h 12KB
pdu_to_nmea.h 13KB
modulate_vector.h 13KB
api.h 1KB
CMakeLists.txt 6KB
lib
pdu_to_nmea_impl.h 12KB
CMakeLists.txt 3KB
invert_impl.h 12KB
modulate_vector.cc 13KB
pdu_to_nmea_impl.cc 16KB
qa_ais.h 1KB
corr_est_cc_impl.cc 22KB
freqest_impl.h 12KB
invert_impl.cc 13KB
test_ais.cc 1KB
msk_timing_recovery_cc_impl.h 13KB
freqest_impl.cc 14KB
corr_est_cc_impl.h 13KB
msk_timing_recovery_cc_impl.cc 18KB
qa_ais.cc 1KB
.gitattributes 42B
data
test_250k.raw 134B
test.raw 134B
cmake
cmake_uninstall.cmake.in 1KB
Modules
targetConfig.cmake.in 989B
CMakeParseArgumentsCopy.cmake 6KB
aisConfig.cmake 779B
examples
README 168B
docs
CMakeLists.txt 1KB
README.howto 377B
doxygen
other
main_page.dox 271B
group_defs.dox 207B
doxyxml
__init__.py 3KB
text.py 2KB
doxyindex.py 9KB
generated
__init__.py 275B
index.py 2KB
compoundsuper.py 352KB
compound.py 20KB
__pycache__
indexsuper.cpython-36.pyc 19KB
index.cpython-36.pyc 2KB
compoundsuper.cpython-36.pyc 334KB
__init__.cpython-36.pyc 469B
compound.cpython-36.pyc 23KB
indexsuper.py 19KB
__pycache__
base.cpython-36.pyc 6KB
text.cpython-36.pyc 1KB
__init__.cpython-36.pyc 2KB
doxyindex.cpython-36.pyc 9KB
base.py 7KB
CMakeLists.txt 2KB
Doxyfile.in 80KB
swig_doc.py 12KB
__pycache__
swig_doc.cpython-36.pyc 8KB
Doxyfile.swig_doc.in 78KB
grc
CMakeLists.txt 1KB
ais_freqest.block.yml 474B
ais_modulate_vector.block.yml 1KB
ais_corr_est_cc.block.yml 531B
ais_invert.block.yml 220B
ais_msk_timing_recovery_cc.block.yml 1KB
ais_pdu_to_nmea.block.yml 1KB
swig
CMakeLists.txt 2KB
ais_swig.i 721B
python
__init__.py 1KB
CMakeLists.txt 2KB
ais.grc 60KB
radio.py 10KB
gmsk_sync.py 2KB
build_utils.py 7KB
fsm_utils.py 7KB
qa_corr_est_cc.py 12KB
ais_demod2.grc 20KB
ais_demod_grc.py 4KB
qa_freqest.py 12KB
qa_pdu_to_nmea.py 12KB
__pycache__
__init__.cpython-36.pyc 396B
build_utils_codes.py 1KB
ais_demod.py 3KB
qa_msk_timing_recovery_cc.py 12KB
qa_invert.py 12KB
.gitignore 285B
apps
ais_rx 494B
CMakeLists.txt 941B
共 88 条
- 1
资源评论
- weixin_446193592024-04-11资源很受用,资源主总结的很全面,内容与描述一致,解决了我当下的问题。
不安分的小女孩
- 粉丝: 9190
- 资源: 1976
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Android的学生信息管理2.rar
- 3e9ef566-ba13-47b0-a252-77aa9e4b040f8412130.apk
- 毕业设计基于SSM的房屋租赁系统源【源码+lw+部署+讲解】
- 基于Android男装出口管理系统的app.rar
- 工资表生成工资条Excel模版
- 位运算、状态压缩、枚举子集汇总.html
- C++毕业设计快递分拣机器人系统源码+论文文件+资料.zip
- 锐龙处理器 体质分析工具,体质越好越稳定,越容易超频 tool1007/Win V/F
- IOS Swift3 四种单例模式详解及实例《PPT文档》
- Swin-Unet网络预训练模型,swin-tiny-patch-window7-224.pth
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功