1 Star 0 Fork 6

guimaoniu / WaveChannel

forked from 李雷 / WaveChannel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
wave_trans.gyp 4.75 KB
一键复制 编辑 原始数据 按行查看 历史
陈发旺(视频) 提交于 2018-04-12 16:01 . format code
#
#
# author: ChenFawang
# main.cc
# 2018-01-26
# mail: cfwang_9984@163.com
#
{
'variables': {
},
'target_defaults': {
'conditions' :[
['OS=="win"', {
'defines': [
'WIN32',
],
'configurations': {
'Debug': {
'msvs_settings':{
'VCCLCompilerTool': {
'RuntimeLibrary': '3',
'Optimization':'0',
'DebugInformationFormat':'4',
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
'GenerateMapFile': 'false',
'SubSystem': '1',
},
},
}, #Debug
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': '2',
'Optimization' : '2',
'EnableIntrinsicFunctions':'true',
'DebugInformationFormat': '3',
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
'GenerateMapFile': 'false,'
},
}, #msvs_settings
}, #Release
}, #configurations
}], #OS=="win"
], #conditions
},
'targets': [
{
'target_name': 'libwavetrans',
'type': 'static_library',
'include_dirs': [
'.',
],
'direct_dependent_settings': {
'include_dirs': [
'.',
],
'ldflags': [
'-lstdc++',
],
},
'sources': [
'buff_utils/queue.c',
'buff_utils/queue.h',
'buff_utils/ring_buff.c',
'buff_utils/ring_buff.h',
'checksum_utils/crc_codec.c',
'checksum_utils/crc_codec.h',
'checksum_utils/rs_code.cc',
'checksum_utils/rs_code.h',
'checksum_utils/parity_codec.c',
'checksum_utils/parity_codec.h',
'kiss_fft/_kiss_fft_guts.h',
'kiss_fft/kiss_fastfir.c',
'kiss_fft/kiss_fastfir.h',
'kiss_fft/kiss_fft.c',
'kiss_fft/kiss_fft.h',
'kiss_fft/kiss_fftr.c',
'kiss_fft/kiss_fftr.h',
'log_utils/wt_log.h',
'log_utils/wt_log.c',
'proto_utils/wt_proto_common.h',
'proto_utils/wt_proto_common.c',
'proto_utils/wt_proto_link_layer.c',
'proto_utils/wt_proto_link_layer.h',
'proto_utils/wt_proto_physical_layer.c',
'proto_utils/wt_proto_physical_layer.h',
'transceiver/recv/wt_recv_link_layer.c',
'transceiver/recv/wt_recv_link_layer.h',
'transceiver/recv/wt_recv_physical_layer.c',
'transceiver/recv/wt_recv_physical_layer.h',
'transceiver/send/wt_send_link_layer.c',
'transceiver/send/wt_send_link_layer.h',
'transceiver/send/wt_send_physical_layer.c',
'transceiver/send/wt_send_physical_layer.h',
'interface/wave_trans_recv.c',
'interface/wave_trans_recv.h',
'interface/wave_trans_send.c',
'interface/wave_trans_send.h',
'audio_codec/pcm_to_wav.c',
'audio_codec/pcm_to_wav.h',
],
}, # target libwavetrans
{
'target_name': 'wave_tran_recv',
'type': 'executable',
'include_dirs': [
'./demo',
'.',
],
'sources': [
'demo/recv_test.c',
],
'dependencies': [
'libwavetrans',
],
}, #target wave_tran_recv
{
'target_name': 'wave_tran_send',
'type': 'executable',
'include_dirs': [
'./demo',
'.',
],
'sources': [
'demo/send_test.c',
],
'dependencies': [
'libwavetrans',
],
}, #target wave_tran_send
{
'target_name': 'phy_test',
'type': 'executable',
'include_dirs': [
'./demo',
'.',
],
'sources': [
'demo/phy_test.c',
],
'dependencies': [
'libwavetrans',
],
}, #target phy_test
{
'target_name': 'test_tools',
'type': 'executable',
'include_dirs': [
'./demo',
'.',
],
'sources': [
'demo/test_tools.c',
],
'dependencies': [
'libwavetrans',
],
}, #target test_tools
{
'target_name': 'rs_test',
'type': 'executable',
'include_dirs': [
'./demo',
'.',
],
'sources': [
'demo/rs_test.c',
],
'dependencies': [
'libwavetrans',
],
}, #target rs_test
],
}
1
https://gitee.com/guimaoniu/WaveChannel.git
git@gitee.com:guimaoniu/WaveChannel.git
guimaoniu
WaveChannel
WaveChannel
master

搜索帮助