kopia lustrzana https://github.com/sh123/codec2_talkie
Integrate libcodec2-android into the repo
rodzic
249855f3a8
commit
bffe5c30f1
14
build.gradle
14
build.gradle
|
@ -5,13 +5,25 @@ buildscript {
|
|||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.android.tools.build:gradle:4.1.1"
|
||||
//classpath "com.android.tools.build:gradle:4.1.1"
|
||||
classpath 'com.android.tools.build:gradle:3.5.0'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
ext.buildConfigProperties = new Properties()
|
||||
ext.buildConfigProperties.load(new FileInputStream(project.file("buildconfig.default.properties")))
|
||||
if(project.file("buildconfig.local.properties").exists()) {
|
||||
ext.buildConfigProperties.load(new FileInputStream(project.file("buildconfig.local.properties")))
|
||||
}
|
||||
|
||||
ext.ABI_FILTERS = ext.buildConfigProperties["abi.filters"]
|
||||
|
||||
group = "com.radio.codec2"
|
||||
version = "1.0"
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#When publishing with maven, this sets the directory to publish to
|
||||
repo.dir=../codec2-repo
|
||||
|
||||
#Native versions to build (ABI filters)
|
||||
abi.filters=x86;x86_64;armeabi-v7a;arm64-v8a
|
|
@ -29,11 +29,13 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation project(":libcodec2-android")
|
||||
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
implementation files('libs/codec2.jar')
|
||||
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,3 @@
|
|||
/build
|
||||
**/.cxx
|
||||
|
|
@ -0,0 +1,136 @@
|
|||
apply plugin: 'digital.wup.android-maven-publish'
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath "digital.wup:android-maven-publish:3.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
cppFlags ""
|
||||
}
|
||||
}
|
||||
ndk {
|
||||
abiFilters = []
|
||||
abiFilters.addAll(rootProject.ext.ABI_FILTERS.split(';').collect{it as String})
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path "src/main/cpp/CMakeLists.txt"
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['build/imported-lib']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// As per: https://github.com/googlesamples/android-ndk/blob/master/hello-libs/app/build.gradle
|
||||
tasks.whenTaskAdded { task ->
|
||||
if (task.name == 'externalNativeBuildRelease') {
|
||||
task.dependsOn compileCodec2
|
||||
} else if (task.name == 'externalNativeBuildDebug') {
|
||||
task.dependsOn compileCodec2
|
||||
}
|
||||
}
|
||||
|
||||
task compileCodec2 {
|
||||
doFirst {
|
||||
project.file("build/codec2_build_linux").mkdirs()
|
||||
for(String abi : rootProject.ext.ABI_FILTERS.split(";")) {
|
||||
project.file("build/codec2_build_android_" + abi).mkdirs()
|
||||
project.file("build/imported-lib/"+abi).mkdirs()
|
||||
}
|
||||
}
|
||||
|
||||
doLast {
|
||||
exec {
|
||||
workingDir "$projectDir/build/codec2_build_linux"
|
||||
commandLine "/usr/bin/cmake", "$projectDir/src/codec2"
|
||||
}
|
||||
|
||||
exec {
|
||||
workingDir "$projectDir/build/codec2_build_linux"
|
||||
commandLine "/usr/bin/make"
|
||||
}
|
||||
|
||||
|
||||
for(String abi : rootProject.ext.ABI_FILTERS.split(";")) {
|
||||
System.out.println("Handle abi " + abi)
|
||||
exec {
|
||||
workingDir "$projectDir/build/codec2_build_android_" + abi
|
||||
commandLine "/usr/bin/cmake", "$projectDir/src/codec2",
|
||||
"-DCMAKE_TOOLCHAIN_FILE=" + android.ndkDirectory + "/build/cmake/android.toolchain.cmake",
|
||||
"-DUNITTEST=FALSE",
|
||||
"-DGENERATE_CODEBOOK=$projectDir/build/codec2_build_linux/src/generate_codebook",
|
||||
"-DANDROID_NATIVE_API_LEVEL=23", "-DANDROID_ABI="+abi,
|
||||
"-DANDROID_STL=c++_shared"
|
||||
}
|
||||
|
||||
exec {
|
||||
workingDir "$projectDir/build/codec2_build_android_" + abi
|
||||
commandLine "/usr/bin/cmake", "--build", "."
|
||||
}
|
||||
|
||||
copy {
|
||||
from "$projectDir/build/codec2_build_android_" + abi +"/src/libcodec2.so"
|
||||
into "$projectDir/build/imported-lib/"+abi
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'com.android.support:support-annotations:28.0.0'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenAar(MavenPublication) {
|
||||
from components.android
|
||||
|
||||
groupId rootProject.group
|
||||
artifactId project.name
|
||||
version "${rootProject.version}"
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
//Set this in projectdir/extrasettings.gradle
|
||||
maven {
|
||||
url rootProject.file(rootProject.ext.buildConfigProperties['repo.dir']).getAbsolutePath()
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
|
@ -0,0 +1,26 @@
|
|||
package com.ustadmobile.codec2;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.test.InstrumentationRegistry;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getTargetContext();
|
||||
|
||||
assertEquals("com.ustadmobile.codec2", appContext.getPackageName());
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.ustadmobile.codec2;
|
||||
|
||||
public class TestCodec2Decode {
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,868 @@
|
|||
#
|
||||
# Codec2 - Next-Generation Digital Voice for Two-Way Radio
|
||||
#
|
||||
# CMake configuration contributed by Richard Shaw (KF5OIM)
|
||||
# Please report questions, comments, problems, or patches to the freetel
|
||||
# mailing list: https://lists.sourceforge.net/lists/listinfo/freetel-codec2
|
||||
#
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
|
||||
|
||||
project(codec2 C)
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
# Set policies here, probably should move to cmake dir.
|
||||
if(POLICY CMP0075)
|
||||
cmake_policy(SET CMP0075 NEW)
|
||||
endif()
|
||||
if(POLICY CMP0079)
|
||||
cmake_policy(SET CMP0079 NEW)
|
||||
endif()
|
||||
|
||||
include(GNUInstallDirs)
|
||||
mark_as_advanced(CLEAR
|
||||
CMAKE_INSTALL_BINDIR
|
||||
CMAKE_INSTALL_INCLUDEDIR
|
||||
CMAKE_INSTALL_LIBDIR
|
||||
)
|
||||
|
||||
#
|
||||
# Prevent in-source builds
|
||||
# If an in-source build is attempted, you will still need to clean up a few
|
||||
# files manually.
|
||||
#
|
||||
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
|
||||
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
|
||||
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||
message(FATAL_ERROR "In-source builds in ${CMAKE_BINARY_DIR} are not "
|
||||
"allowed, please remove ./CMakeCache.txt and ./CMakeFiles/, create a "
|
||||
"separate build directory and run cmake from there.")
|
||||
endif("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||
|
||||
#
|
||||
# Set project version information. This should probably be done via external
|
||||
# file at some point.
|
||||
#
|
||||
set(CODEC2_VERSION_MAJOR 0)
|
||||
set(CODEC2_VERSION_MINOR 9)
|
||||
# Set to patch level if needed, otherwise leave FALSE.
|
||||
# Must be positive (non-zero) if set, since 0 == FALSE in CMake.
|
||||
set(CODEC2_VERSION_PATCH 2)
|
||||
set(CODEC2_VERSION "${CODEC2_VERSION_MAJOR}.${CODEC2_VERSION_MINOR}")
|
||||
# Patch level version bumps should not change API/ABI.
|
||||
set(SOVERSION "${CODEC2_VERSION_MAJOR}.${CODEC2_VERSION_MINOR}")
|
||||
if(CODEC2_VERSION_PATCH)
|
||||
set(CODEC2_VERSION "${CODEC2_VERSION}.${CODEC2_VERSION_PATCH}")
|
||||
endif()
|
||||
message(STATUS "codec2 version: ${CODEC2_VERSION}")
|
||||
|
||||
# Set default build type
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Debug")
|
||||
endif()
|
||||
|
||||
# Build universal ARM64 and x86_64 binaries on Mac.
|
||||
if(BUILD_OSX_UNIVERSAL)
|
||||
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
|
||||
endif(BUILD_OSX_UNIVERSAL)
|
||||
|
||||
#
|
||||
# Find the git hash if this is a working copy.
|
||||
#
|
||||
if(EXISTS ${CMAKE_SOURCE_DIR}/.git)
|
||||
find_package(Git QUIET)
|
||||
if(Git_FOUND)
|
||||
execute_process(
|
||||
COMMAND "${GIT_EXECUTABLE}" describe --always HEAD
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
RESULT_VARIABLE res
|
||||
OUTPUT_VARIABLE FREEDV_HASH
|
||||
ERROR_QUIET
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
message(STATUS "freedv-gui current git hash: ${FREEDV_HASH}")
|
||||
add_definitions(-DGIT_HASH="${FREEDV_HASH}")
|
||||
else()
|
||||
message(WARNING "Git not found. Can not determine current commit hash.")
|
||||
add_definitions(-DGIT_HASH="Unknown")
|
||||
endif()
|
||||
else()
|
||||
add_definitions(-DGIT_HASH="None")
|
||||
endif()
|
||||
|
||||
# Set default C flags.
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-strict-overflow")
|
||||
|
||||
# Check for what C standard is supported.
|
||||
include(CheckCCompilerFlag)
|
||||
CHECK_C_COMPILER_FLAG("-std=gnu11" COMPILER_SUPPORTS_GNU11)
|
||||
CHECK_C_COMPILER_FLAG("-std=gnu99" COMPILER_SUPPORTS_GNU99)
|
||||
|
||||
if(COMPILER_SUPPORTS_GNU11)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11")
|
||||
elseif(COMPILER_SUPPORTS_GNU99)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
|
||||
else()
|
||||
message(SEND_ERROR "Compiler doesn't seem to support at least gnu99, might cause problems" )
|
||||
endif()
|
||||
|
||||
# -fPIC is implied on MinGW...
|
||||
if(NOT WIN32)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUG "-g -O2 -DDUMP")
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O3")
|
||||
|
||||
#
|
||||
# Setup Windows/MinGW specifics here.
|
||||
#
|
||||
if(MINGW)
|
||||
message(STATUS "System is MinGW.")
|
||||
endif(MINGW)
|
||||
|
||||
|
||||
#
|
||||
# Find the git hash if this is a working copy.
|
||||
#
|
||||
if(EXISTS ${CMAKE_SOURCE_DIR}/.git)
|
||||
find_package(Git)
|
||||
if(Git_FOUND)
|
||||
execute_process(
|
||||
COMMAND "${GIT_EXECUTABLE}" describe --always HEAD
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
RESULT_VARIABLE res
|
||||
OUTPUT_VARIABLE CODEC2_HASH
|
||||
ERROR_QUIET
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
message(STATUS "Codec2 current git hash: ${CODEC2_HASH}")
|
||||
else()
|
||||
message(WARNING "Git not found. Can not determine current commit hash.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# Default options
|
||||
#
|
||||
option(BUILD_SHARED_LIBS
|
||||
"Build shared library. Set to OFF for static library." ON)
|
||||
# Unittest should be on for dev builds and off for releases.
|
||||
if(CMAKE_BUILD_TYPE MATCHES "Release")
|
||||
option(UNITTEST "Build unittest binaries." OFF)
|
||||
else()
|
||||
option(UNITTEST "Build unittest binaries." ON)
|
||||
endif()
|
||||
option(INSTALL_EXAMPLES "Install example code." OFF)
|
||||
if(INSTALL_EXAMPLES)
|
||||
install(DIRECTORY octave raw script wav
|
||||
USE_SOURCE_PERMISSIONS
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/codec2)
|
||||
endif()
|
||||
|
||||
# LPCNet needs to be bootstraped because codec2 and freedvlpcnet are
|
||||
# cross dependent.
|
||||
option(LPCNET "Build codec2 with LPCNet support." OFF)
|
||||
set(LPCNET_BUILD_DIR FALSE CACHE PATH "Location of lpcnet build tree.")
|
||||
# Setting LPCNET_BUILD_DIR implies LPCNET=ON
|
||||
if(LPCNET_BUILD_DIR)
|
||||
set(LPCNET ON)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
include(CheckIncludeFiles)
|
||||
check_include_files("stdlib.h" HAVE_STDLIB_H)
|
||||
check_include_files("string.h" HAVE_STRING_H)
|
||||
|
||||
include(CheckSymbolExists)
|
||||
# Check if _GNU_SOURCE is available.
|
||||
if (NOT DEFINED _GNU_SOURCE)
|
||||
check_symbol_exists(__GNU_LIBRARY__ "features.h" _GNU_SOURCE)
|
||||
|
||||
if (NOT _GNU_SOURCE)
|
||||
unset(_GNU_SOURCE CACHE)
|
||||
check_symbol_exists(_GNU_SOURCE "features.h" _GNU_SOURCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (_GNU_SOURCE)
|
||||
add_definitions(-D_GNU_SOURCE=1)
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
set(CMAKE_REQUIRED_LIBRARIES m)
|
||||
endif()
|
||||
|
||||
check_symbol_exists(floor math.h HAVE_FLOOR)
|
||||
check_symbol_exists(ceil math.h HAVE_CEIL)
|
||||
check_symbol_exists(pow math.h HAVE_POW)
|
||||
check_symbol_exists(sqrt math.h HAVE_SQRT)
|
||||
check_symbol_exists(sin math.h HAVE_SIN)
|
||||
check_symbol_exists(cos math.h HAVE_COS)
|
||||
check_symbol_exists(atan2 math.h HAVE_ATAN2)
|
||||
check_symbol_exists(log10 math.h HAVE_LOG10)
|
||||
check_symbol_exists(round math.h HAVE_ROUND)
|
||||
check_symbol_exists(getopt getopt.h HAVE_GETOPT)
|
||||
|
||||
configure_file ("${PROJECT_SOURCE_DIR}/cmake/config.h.in"
|
||||
"${PROJECT_BINARY_DIR}/config.h" )
|
||||
# Output path is such that #include <codec2/version.h> in codec2.h works
|
||||
set(CODEC2_VERSION_PATH "${PROJECT_BINARY_DIR}/codec2")
|
||||
configure_file ("${PROJECT_SOURCE_DIR}/cmake/version.h.in"
|
||||
"${CODEC2_VERSION_PATH}/version.h" )
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
# CMake Package setup
|
||||
#include(CMakePackageConfigHelpers)
|
||||
#configure_package_config_file(cmake/codec2-config.cmake.in
|
||||
# ${CMAKE_CURRENT_BINARY_DIR}/codec2-config.cmake
|
||||
# INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/codec2
|
||||
# PATH_VARS CMAKE_INSTALL_INCLUDEDIR
|
||||
#)
|
||||
|
||||
|
||||
#
|
||||
# Find lpcnet library
|
||||
#
|
||||
if(LPCNET)
|
||||
if(LPCNET_BUILD_DIR)
|
||||
find_package(lpcnetfreedv REQUIRED
|
||||
PATHS ${LPCNET_BUILD_DIR}
|
||||
NO_DEFAULT_PATH
|
||||
CONFIGS lpcnetfreedv.cmake
|
||||
)
|
||||
if(lpcnetfreedv_FOUND)
|
||||
message(STATUS "liblpcnetfreedv found in build tree.")
|
||||
add_definitions("-D__LPCNET__")
|
||||
else()
|
||||
message(FATAL_ERROR "LPCNet include/library not found in build tree.")
|
||||
endif()
|
||||
else()
|
||||
find_package(lpcnetfreedv REQUIRED)
|
||||
if(lpcnetfreedv_FOUND)
|
||||
add_definitions("-D__LPCNET__")
|
||||
message(STATUS "liblpcnetfreedv found.")
|
||||
else()
|
||||
message(FATAL_ERROR "lpcnetfreedv library not found.")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# codec2 library
|
||||
#
|
||||
add_subdirectory(src)
|
||||
|
||||
|
||||
if(UNITTEST)
|
||||
# Pthread Library
|
||||
find_package(Threads REQUIRED)
|
||||
message(STATUS "Threads library flags: ${CMAKE_THREAD_LIBS_INIT}")
|
||||
|
||||
add_subdirectory(unittest)
|
||||
add_subdirectory(misc)
|
||||
endif(UNITTEST)
|
||||
|
||||
message(STATUS "Build type is: " ${CMAKE_BUILD_TYPE})
|
||||
string(TOUPPER ${CMAKE_BUILD_TYPE} _FLAGS)
|
||||
if(_FLAGS STREQUAL "NONE")
|
||||
message(STATUS "Compiler Flags: " ${CMAKE_C_FLAGS})
|
||||
else()
|
||||
message(STATUS "Compiler Flags: " ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${_FLAGS}})
|
||||
endif()
|
||||
message(STATUS "Libraries linked: " ${CMAKE_REQUIRED_LIBRARIES})
|
||||
|
||||
#
|
||||
# Cpack NSIS installer configuration for Windows.
|
||||
# See: http://nsis.sourceforge.net/Download
|
||||
#
|
||||
# *nix systems should use "make install" and/or appropriate
|
||||
# distribution packaging tools.
|
||||
#
|
||||
if(WIN32)
|
||||
# Detect if we're doing a 32-bit or 64-bit windows build.
|
||||
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
|
||||
set(CMAKE_CL_64 TRUE)
|
||||
endif()
|
||||
configure_file(cmake/GetDependencies.cmake.in cmake/GetDependencies.cmake
|
||||
@ONLY
|
||||
)
|
||||
install(SCRIPT ${CMAKE_BINARY_DIR}/cmake/GetDependencies.cmake)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Next-Generation Digital Voice for Two-Way Radio")
|
||||
set(CPACK_PACKAGE_VENDOR "CMake")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${CODEC2_VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${CODEC2_VERSION_MINOR})
|
||||
if(CODEC2_VERSION_PATCH)
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${CODEC2_VERSION_PATCH})
|
||||
else()
|
||||
set(CPACK_PACKAGE_VERSION_PATCH 0)
|
||||
endif()
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Codec2")
|
||||
set(CPACK_CREATE_DESKTOP_LINKS "")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
|
||||
set(CPACK_NSIS_URL_INFO_ABOUT "http://rowetel.com/codec2.html")
|
||||
set(CPACK_NSIS_MODIFY_PATH ON)
|
||||
include(CPack)
|
||||
endif(WIN32)
|
||||
|
||||
########################################################################
|
||||
# Create Pkg Config File
|
||||
########################################################################
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/codec2.pc.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/codec2.pc
|
||||
@ONLY
|
||||
)
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/codec2.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
||||
COMPONENT "codec2_devel"
|
||||
)
|
||||
|
||||
##################################################################
|
||||
# Tests
|
||||
##################################################################
|
||||
|
||||
if(UNITTEST)
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
|
||||
add_test(NAME test_freedv_get_hash
|
||||
COMMAND sh -c "${CMAKE_CURRENT_BINARY_DIR}/unittest/thash")
|
||||
|
||||
add_test(NAME test_CML_ldpcut
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/octave; SHORT_VERSION_FOR_CTEST=1 octave --no-gui -qf ldpcut.m")
|
||||
set_tests_properties(test_CML_ldpcut PROPERTIES PASS_REGULAR_EXPRESSION "Nerr: 0")
|
||||
|
||||
add_test(NAME test_codec2_700c_octave_port
|
||||
COMMAND sh -c "
|
||||
cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./c2sim ${CMAKE_CURRENT_SOURCE_DIR}/raw/cq_ref.raw --phase0 --postfilter --dump cq_ref --lpc 10 --dump_pitch_e cq_ref_pitche.txt;
|
||||
cd ${CMAKE_CURRENT_BINARY_DIR}/unittest; ./tnewamp1 ${CMAKE_CURRENT_SOURCE_DIR}/raw/cq_ref.raw;
|
||||
cd ${CMAKE_CURRENT_SOURCE_DIR}/octave;
|
||||
DISPLAY=\"\" octave-cli -qf --eval 'tnewamp1(\"${CMAKE_CURRENT_BINARY_DIR}/src/cq_ref\", \"${CMAKE_CURRENT_BINARY_DIR}/unittest\")'")
|
||||
set_tests_properties(test_codec2_700c_octave_port PROPERTIES PASS_REGULAR_EXPRESSION "fails: 0")
|
||||
|
||||
add_test(NAME test_FDMDV_modem_octave_port
|
||||
COMMAND sh -c "$<TARGET_FILE:tfdmdv> && DISPLAY=\"\" octave-cli --no-gui -qf ${CMAKE_CURRENT_SOURCE_DIR}/octave/tfdmdv.m"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/octave)
|
||||
set_tests_properties(test_FDMDV_modem_octave_port PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "fails: 0")
|
||||
|
||||
add_test(NAME test_COHPSK_modem_octave_port
|
||||
COMMAND sh -c "$<TARGET_FILE:tcohpsk> && DISPLAY=\"\" octave-cli --no-gui -qf ${CMAKE_CURRENT_SOURCE_DIR}/octave/tcohpsk.m"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/octave)
|
||||
set_tests_properties(test_COHPSK_modem_octave_port PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "fails: 0")
|
||||
|
||||
add_test(NAME test_COHPSK_modem_AWGN_BER
|
||||
COMMAND sh -c "$<TARGET_FILE:cohpsk_get_test_bits> - 5600 | $<TARGET_FILE:cohpsk_mod> - - | $<TARGET_FILE:cohpsk_ch> - - -30 | $<TARGET_FILE:cohpsk_demod> - - | $<TARGET_FILE:cohpsk_put_test_bits> -"
|
||||
)
|
||||
|
||||
add_test(NAME test_COHPSK_modem_freq_offset
|
||||
COMMAND sh -c "set -x; $<TARGET_FILE:cohpsk_get_test_bits> - 5600 | $<TARGET_FILE:cohpsk_mod> - - | $<TARGET_FILE:cohpsk_ch> - - -40 -f -20 | $<TARGET_FILE:cohpsk_demod> -v - - 2>log.txt | $<TARGET_FILE:cohpsk_put_test_bits> - ; ! grep 'lost sync' log.txt"
|
||||
)
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# OFDM Modem
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
add_test(NAME test_OFDM_qam16
|
||||
COMMAND sh -c "${CMAKE_CURRENT_BINARY_DIR}/unittest/tqam16")
|
||||
|
||||
add_test(NAME test_OFDM_modem_octave_port
|
||||
COMMAND sh -c "PATH_TO_TOFDM=${CMAKE_CURRENT_BINARY_DIR}/unittest/tofdm DISPLAY=\"\" octave-cli --no-gui -qf ${CMAKE_CURRENT_SOURCE_DIR}/octave/tofdm.m"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/octave)
|
||||
set_tests_properties(test_OFDM_modem_octave_port PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "fails: 0")
|
||||
|
||||
add_test(NAME test_OFDM_modem_octave_port_Nc_31
|
||||
COMMAND sh -c "NC=31 PATH_TO_TOFDM=${CMAKE_CURRENT_BINARY_DIR}/unittest/tofdm DISPLAY=\"\" octave-cli --no-gui -qf ${CMAKE_CURRENT_SOURCE_DIR}/octave/tofdm.m"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/octave)
|
||||
set_tests_properties(test_OFDM_modem_octave_port_Nc_31 PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "fails: 0")
|
||||
|
||||
# noise free uncoded 700D test, including reading and writing payload bits
|
||||
add_test(NAME test_OFDM_modem_700D
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ofdm_get_test_bits - |
|
||||
./ofdm_mod |
|
||||
./ofdm_demod --testframes > /dev/null")
|
||||
|
||||
# noise free coded 700D test, including reading and writing payload bits
|
||||
add_test(NAME test_OFDM_modem_700D_ldpc
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ofdm_get_test_bits - --ldpc |
|
||||
./ofdm_mod --ldpc |
|
||||
./ofdm_demod --ldpc --testframes > /dev/null")
|
||||
|
||||
# noise free 2020 test, including reading and writing payload bits. fsk_*_test_bits used as it does it's own frame sync
|
||||
add_test(NAME test_OFDM_modem_2020_ldpc
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./fsk_get_test_bits - 5000 |
|
||||
./ofdm_mod --ldpc --mode 2020 -p 312 |
|
||||
./ofdm_demod --ldpc --mode 2020 -p 312 |
|
||||
./fsk_put_test_bits - -q")
|
||||
|
||||
add_test(NAME test_OFDM_modem_AWGN_BER
|
||||
COMMAND sh -c "$<TARGET_FILE:ofdm_mod> --in /dev/zero --ldpc --testframes 60 --txbpf | $<TARGET_FILE:cohpsk_ch> - - -20 --Fs 8000 -f -50 | $<TARGET_FILE:ofdm_demod> --out /dev/null --testframes --ldpc --verbose 1"
|
||||
)
|
||||
|
||||
configure_file(unittest/ofdm_fade.sh.in unittest/ofdm_fade.sh)
|
||||
add_test(NAME test_OFDM_modem_fading_BER
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/unittest/ofdm_fade.sh
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/unittest
|
||||
)
|
||||
|
||||
add_test(NAME test_OFDM_modem_phase_est_bw
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/unittest;
|
||||
PATH=$PATH:${CMAKE_CURRENT_BINARY_DIR}/src ./ofdm_phase_est_bw.sh")
|
||||
|
||||
add_test(NAME test_OFDM_modem_fading_DPSK_BER
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/unittest;
|
||||
PATH=$PATH:${CMAKE_CURRENT_BINARY_DIR}/src ./ofdm_fade_dpsk.sh")
|
||||
|
||||
add_test(NAME test_OFDM_modem_time_sync_700D
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/unittest;
|
||||
PATH=$PATH:${CMAKE_CURRENT_BINARY_DIR}/src ./ofdm_time_sync.sh 700D")
|
||||
|
||||
if(LPCNET)
|
||||
add_test(NAME test_OFDM_modem_time_sync_2020
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/unittest;
|
||||
PATH=$PATH:${CMAKE_CURRENT_BINARY_DIR}/src ./ofdm_time_sync.sh 2020")
|
||||
endif()
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# OFDM Data modes
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
# C Tx, Octave Rx
|
||||
add_test(NAME test_OFDM_modem_datac1_octave
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR};
|
||||
./src/ofdm_mod --mode datac1 --in /dev/zero --testframes 5 --verbose 1 > test.raw;
|
||||
cd ${CMAKE_CURRENT_SOURCE_DIR}/octave;
|
||||
DISPLAY=\"\" octave-cli -qf --eval 'ofdm_rx(\"${CMAKE_CURRENT_BINARY_DIR}/test.raw\",\"datac1\")'")
|
||||
set_tests_properties(test_OFDM_modem_datac1_octave PROPERTIES PASS_REGULAR_EXPRESSION "BER..: 0.0000")
|
||||
# C Tx, C Rx, uncoded
|
||||
add_test(NAME test_OFDM_modem_datac1
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ofdm_mod --mode datac1 --in /dev/zero --testframes 10 --verbose 1 |
|
||||
./ofdm_demod --mode datac1 --out /dev/null --testframes --verbose 1")
|
||||
# C Tx, C Rx, coded
|
||||
add_test(NAME test_OFDM_modem_datac1_ldpc
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ofdm_mod --mode datac1 --in /dev/zero --testframes 10 --ldpc --verbose 1 |
|
||||
./ofdm_demod --mode datac1 --out /dev/null --testframes --ldpc --verbose 1")
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# LDPC
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
# tests ldpc_enc/ldpc_noise/ldpc_dec
|
||||
add_test(NAME test_ldpc_enc_dec
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --sd --code HRA_112_112 --testframes 200 |
|
||||
./ldpc_noise - - 0.5 |
|
||||
./ldpc_dec - /dev/null --code HRA_112_112 --sd --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_ldpc_enc_dec_HRAb_396_504
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --sd --code HRAb_396_504 --testframes 200 |
|
||||
./ldpc_noise - - -2.0 |
|
||||
./ldpc_dec - /dev/null --code HRAb_396_504 --sd --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_ldpc_enc_dec_H_256_768_22
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --sd --code H_256_768_22 --testframes 200 |
|
||||
./ldpc_noise - - 3.0 |
|
||||
./ldpc_dec - /dev/null --code H_256_768_22 --sd --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_ldpc_enc_dec_H_256_512_4
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --sd --code H_256_512_4 --testframes 200 |
|
||||
./ldpc_noise - - 0.5 |
|
||||
./ldpc_dec - /dev/null --code H_256_512_4 --sd --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_ldpc_enc_dec_HRAa_1536_512
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --sd --code HRAa_1536_512 --testframes 200 |
|
||||
./ldpc_noise - - -2 |
|
||||
./ldpc_dec - /dev/null --code HRAa_1536_512 --sd --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_ldpc_enc_dec_H_128_256_5
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --sd --code H_128_256_5 --testframes 200 |
|
||||
./ldpc_noise - - 0.5 |
|
||||
./ldpc_dec - /dev/null --code H_128_256_5 --sd --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_freedv_api_1600
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 1600 ../../raw/ve9qrp_10s.raw - | ./freedv_rx 1600 - /dev/null")
|
||||
set_tests_properties(test_freedv_api_1600 PROPERTIES PASS_REGULAR_EXPRESSION "frames decoded: 503")
|
||||
|
||||
add_test(NAME test_freedv_api_700C
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 700C ../../raw/ve9qrp_10s.raw - | ./freedv_rx 700C - /dev/null")
|
||||
set_tests_properties(test_freedv_api_700C PROPERTIES PASS_REGULAR_EXPRESSION "frames decoded: 125")
|
||||
|
||||
add_test(NAME test_freedv_api_700D_backwards_compatability
|
||||
COMMAND sh -c "$<TARGET_FILE:freedv_rx> 700D ${CMAKE_CURRENT_SOURCE_DIR}/raw/testframes_700d.raw /dev/null --testframes --discard"
|
||||
)
|
||||
|
||||
# no random speech output due to trial sync when listening to noise
|
||||
add_test(NAME test_freedv_api_700D_burble
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 700D ../../raw/ve9qrp.raw - |
|
||||
./cohpsk_ch - - -10 --Fs 8000 |
|
||||
./freedv_rx 700D - /dev/null --squelch -2")
|
||||
set_tests_properties(test_freedv_api_700D_burble PROPERTIES PASS_REGULAR_EXPRESSION "frames decoded: 746 output speech samples: 0")
|
||||
|
||||
add_test(NAME test_freedv_api_700D_AWGN_BER
|
||||
COMMAND sh -c "dd bs=2560 count=120 if=/dev/zero | $<TARGET_FILE:freedv_tx> 700D - - --testframes | $<TARGET_FILE:cohpsk_ch> - - -20 --Fs 8000 -f -10 | $<TARGET_FILE:freedv_rx> 700D - /dev/null --testframes --discard"
|
||||
)
|
||||
|
||||
add_test(NAME test_freedv_api_700D_AWGN_BER_USECOMPLEX
|
||||
COMMAND sh -c "dd bs=2560 count=120 if=/dev/zero | $<TARGET_FILE:freedv_tx> 700D - - --testframes | $<TARGET_FILE:cohpsk_ch> - - -20 --Fs 8000 -f -10 | $<TARGET_FILE:freedv_rx> 700D - /dev/null --testframes --discard --usecomplex"
|
||||
)
|
||||
|
||||
if(LPCNET)
|
||||
|
||||
add_test(NAME test_freedv_api_2020_to_ofdm_demod
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 2020 ../../wav/wia_16kHz.wav - --testframes |
|
||||
./ofdm_demod --mode 2020 --verbose 1 --ldpc -p 312 --testframes > /dev/null"
|
||||
)
|
||||
|
||||
add_test(NAME test_freedv_api_2020_from_ofdm_mod
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ofdm_mod --in /dev/zero --mode 2020 --verbose 1 --ldpc -p 312 --testframes 10 |
|
||||
./freedv_rx 2020 - /dev/null --testframes"
|
||||
)
|
||||
|
||||
add_test(NAME test_freedv_api_2020_awgn
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
dd bs=32000 count=10 if=/dev/zero |
|
||||
./freedv_tx 2020 - - --testframes |
|
||||
./cohpsk_ch - - -24 --Fs 8000 |
|
||||
./freedv_rx 2020 - /dev/null --testframes"
|
||||
)
|
||||
endif()
|
||||
|
||||
add_test(NAME test_freedv_api_2400A
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 2400A ../../raw/ve9qrp_10s.raw - | ./freedv_rx 2400A - /dev/null")
|
||||
set_tests_properties(test_freedv_api_2400A PROPERTIES PASS_REGULAR_EXPRESSION "frames decoded: 250")
|
||||
add_test(NAME test_freedv_api_2400B
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 2400B ../../raw/ve9qrp_10s.raw - | ./freedv_rx 2400B - /dev/null")
|
||||
set_tests_properties(test_freedv_api_2400B PROPERTIES PASS_REGULAR_EXPRESSION "frames decoded: 250")
|
||||
add_test(NAME test_freedv_api_800XA
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 800XA ../../raw/ve9qrp_10s.raw - | ./freedv_rx 800XA - /dev/null")
|
||||
set_tests_properties(test_freedv_api_800XA PROPERTIES PASS_REGULAR_EXPRESSION "frames decoded: 125")
|
||||
|
||||
add_test(NAME test_freedv_api_rawdata_800XA
|
||||
COMMAND sh -c "./tfreedv_800XA_rawdata"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/unittest
|
||||
)
|
||||
|
||||
add_test(NAME test_freedv_api_rawdata_2400A
|
||||
COMMAND sh -c "./tfreedv_2400A_rawdata"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/unittest
|
||||
)
|
||||
|
||||
add_test(NAME test_freedv_api_rawdata_2400B
|
||||
COMMAND sh -c "./tfreedv_2400B_rawdata"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/unittest
|
||||
)
|
||||
|
||||
if(UNIX) # Uses pthreads
|
||||
add_test(NAME test_fifo
|
||||
COMMAND $<TARGET_FILE:tfifo>
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT APPLE)
|
||||
add_test(NAME test_memory_leak_FreeDV_1600_tx
|
||||
COMMAND sh -c " valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_tx 1600 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw /dev/null"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_1600_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_1600_rx
|
||||
COMMAND sh -c "./freedv_tx 1600 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw t.raw; \
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_rx 1600 t.raw /dev/null"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_1600_rx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_700D_tx
|
||||
COMMAND sh -c " valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_tx 700D ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw /dev/null"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_700D_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_700D_rx
|
||||
COMMAND sh -c "./freedv_tx 700D ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw t.raw; \
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_rx 700D t.raw /dev/null"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_700D_rx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_700C_tx
|
||||
COMMAND sh -c " valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_tx 700C ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw /dev/null"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_700C_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_700C_rx
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 700C ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw t.raw; \
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_rx 700C t.raw /dev/null"
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_700C_rx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_FSK_LDPC_tx
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes \
|
||||
./freedv_data_raw_tx --testframes 10 FSK_LDPC /dev/zero /dev/null")
|
||||
set_tests_properties(test_memory_leak_FreeDV_FSK_LDPC_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
if(LPCNET)
|
||||
add_test(NAME test_memory_leak_FreeDV_2020_tx
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_tx 2020 ../../wav/wia_16kHz.wav /dev/null"
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_2020_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
|
||||
add_test(NAME test_memory_leak_FreeDV_2020_rx
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_tx 2020 ../../wav/wia_16kHz.wav t.raw; \
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./freedv_rx 2020 t.raw /dev/null"
|
||||
)
|
||||
set_tests_properties(test_memory_leak_FreeDV_2020_rx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
|
||||
endif(LPCNET)
|
||||
endif(NOT APPLE)
|
||||
|
||||
add_test(NAME test_codec2_mode_dot_c2
|
||||
COMMAND sh -c "./c2enc 700C ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw hts1a.c2 && ./c2dec 1600 hts1a.c2 /dev/null"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
set_tests_properties(test_codec2_mode_dot_c2 PROPERTIES PASS_REGULAR_EXPRESSION "mode 8")
|
||||
|
||||
add_test(NAME test_codec2_mode_3200
|
||||
COMMAND sh -c "./c2enc 3200 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 3200 - - | sox -t .s16 -r 8000 - hts1a_3200.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_2400
|
||||
COMMAND sh -c "./c2enc 2400 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 2400 - - | sox -t .s16 -r 8000 - hts1a_2400.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_1400
|
||||
COMMAND sh -c "./c2enc 1400 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 1400 - - | sox -t .s16 -r 8000 - hts1a_1400.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_1300
|
||||
COMMAND sh -c "./c2enc 1300 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 1300 - - | sox -t .s16 -r 8000 - hts1a_1300.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_1200
|
||||
COMMAND sh -c "./c2enc 1200 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 1200 - - | sox -t .s16 -r 8000 - hts1a_1200.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_700C
|
||||
COMMAND sh -c "./c2enc 700C ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 700C - - | sox -t .s16 -r 8000 - hts1a_700C.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_450
|
||||
COMMAND sh -c "./c2enc 450 ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 450 - - | sox -t .s16 -r 8000 - hts1a_450.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
add_test(NAME test_codec2_mode_450PWB
|
||||
COMMAND sh -c "./c2enc 450PWB ${CMAKE_CURRENT_SOURCE_DIR}/raw/hts1a.raw - | ./c2dec 450PWB - - | sox -t .s16 -r 16000 - hts1a_450PWB.wav"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
|
||||
configure_file(unittest/est_n0.sh.in unittest/est_n0.sh)
|
||||
add_test(NAME test_est_n0
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/unittest/est_n0.sh
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/unittest
|
||||
)
|
||||
add_test(NAME test_vq_mbest
|
||||
COMMAND sh -c "./tvq_mbest; \
|
||||
cat target.f32 | ../misc/vq_mbest -k 2 -q vq1.f32,vq2.f32 --mbest 2 -v > out.f32; \
|
||||
diff target.f32 out.f32"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/unittest
|
||||
)
|
||||
configure_file(unittest/test_700c_eq.sh.in unittest/test_700c_eq.sh)
|
||||
add_test(NAME test_700c_eq
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/unittest/test_700c_eq.sh
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/unittest
|
||||
)
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# FSK Modem
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
# Octave FSK Modem, to make sure we don't break reference simulation
|
||||
add_test(NAME test_fsk_lib
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/octave; DISPLAY=\"\" octave --no-gui -qf fsk_lib_demo.m")
|
||||
set_tests_properties(test_fsk_lib PROPERTIES PASS_REGULAR_EXPRESSION "PASS")
|
||||
|
||||
add_test(NAME test_fsk_modem_octave_port
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/octave;
|
||||
PATH_TO_TFSK=${CMAKE_CURRENT_BINARY_DIR}/unittest/tfsk octave --no-gui -qf tfsk.m")
|
||||
set_tests_properties(test_fsk_modem_octave_port PROPERTIES PASS_REGULAR_EXPRESSION "PASS")
|
||||
|
||||
add_test(NAME test_fsk_modem_mod_demod
|
||||
COMMAND sh -c "$<TARGET_FILE:fsk_get_test_bits> - 10000 |
|
||||
$<TARGET_FILE:fsk_mod> 2 8000 100 1200 100 - - |
|
||||
$<TARGET_FILE:fsk_demod> -l 2 8000 100 - - |
|
||||
$<TARGET_FILE:fsk_put_test_bits> -p 99 -q -"
|
||||
)
|
||||
|
||||
# 2FSK modem at Eb/No = 9dB, SNR = Eb/No+10log10(Rb/B) = 9 + 10*log10(100/3000) = -5.7dB
|
||||
# Ideal BER = 0.0094, set thresh 50% higher
|
||||
add_test(NAME test_fsk_2fsk_ber
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./fsk_get_test_bits - 10000 | ./fsk_mod 2 8000 100 1000 100 - - |
|
||||
./cohpsk_ch - - -26 --Fs 8000 |
|
||||
./fsk_demod 2 8000 100 - - | ./fsk_put_test_bits -b 0.015 -q - ")
|
||||
# 4FSK modem at Eb/No = 6dB, SNR = Eb/No+10log10(Rb/B) = 6 + 10*log10(2*100/3000) = -5.7dB
|
||||
# Ideal BER = 0.016, set thresh 50% higher
|
||||
add_test(NAME test_fsk_4fsk_ber
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./fsk_get_test_bits - 10000 | ./fsk_mod 4 8000 100 1000 100 - - |
|
||||
./cohpsk_ch - - -26 --Fs 8000 |
|
||||
./fsk_demod 4 8000 100 - - | ./fsk_put_test_bits -b 0.025 - ")
|
||||
# shift FSK signal to -ve frequencies, note No 3dB higher as noise is single sided
|
||||
add_test(NAME test_fsk_4fsk_ber_negative_freq
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./fsk_get_test_bits - 10000 | ./fsk_mod 4 8000 100 1000 200 - - |
|
||||
./cohpsk_ch - - -23 --Fs 8000 --ssbfilt 0 --complexout -f -4000 |
|
||||
./fsk_demod -c -p 8 4 8000 100 - - |
|
||||
./fsk_put_test_bits -b 0.025 -q - ")
|
||||
# Low SNR 4FSK uncoded PER/BER test:
|
||||
# 4FSK modem at Eb/No = 2dB, SNR = Eb/No+10log10(Rb/B) = 6 + 10*log10(2*100/3000) = -15.7dB
|
||||
# Theoretical BER is 0.14. As it's single sided noise cohpsk_ch reports 3dB less (-18.7dB)
|
||||
# Pass condition is 10% PER
|
||||
add_test(NAME test_fsk_4fsk_lockdown
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
bits=512; tx_packets=20; rx_packets=18; tx_tone_sep=270; Rs=25;
|
||||
./fsk_get_test_bits - $(($bits*$tx_packets)) $bits |
|
||||
./fsk_mod 4 8000 $Rs 1000 $tx_tone_sep - - |
|
||||
./cohpsk_ch - - -13 --Fs 8000 --ssbfilt 0 -f -3000 --complexout |
|
||||
./fsk_demod -c -p 8 --mask $tx_tone_sep -t1 --nsym 100 4 8000 $Rs - - 2>stats.txt |
|
||||
./fsk_put_test_bits -t 0.25 -b 0.20 -p $rx_packets -f $bits -q -")
|
||||
|
||||
# Octave 4FSK LLR reference simulation - make sure this keeps working
|
||||
add_test(NAME test_fsk_lib_4fsk_ldpc
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_SOURCE_DIR}/octave; DISPLAY=\"\" octave --no-gui -qf fsk_lib_ldpc_demo.m")
|
||||
set_tests_properties(test_fsk_lib_4fsk_ldpc PROPERTIES PASS_REGULAR_EXPRESSION "PASS")
|
||||
|
||||
# Command line Unique Word (UW) framer in hard decision mode
|
||||
add_test(NAME test_fsk_framer
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./fsk_get_test_bits - 300 |
|
||||
./framer - - 100 51 |
|
||||
./deframer - - 100 51 --hard |
|
||||
./fsk_put_test_bits -")
|
||||
set_tests_properties(test_fsk_framer PROPERTIES PASS_REGULAR_EXPRESSION "PASS")
|
||||
|
||||
# Command line Unique Word (UW) framer with LLRs and LDPC (no noise)
|
||||
add_test(NAME test_fsk_framer_ldpc
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --code HRA_112_112 --testframes 10 | ./framer - - 224 51 |
|
||||
./tollr | ./deframer - - 224 51 | ./ldpc_dec - /dev/null --code HRA_112_112 --testframes")
|
||||
|
||||
# mFSK soft decision rx_filter to LLR mapping
|
||||
add_test(NAME test_fsk_llr
|
||||
COMMAND sh -c "${CMAKE_CURRENT_BINARY_DIR}/unittest/tfsk_llr")
|
||||
|
||||
# 4FSK LDPC modem with framer at Rs=100 (uncoded Rb=200), rate 0.8 code
|
||||
# SNR = Eb/No + 10*log10(Rb/B) = 5 + 10*log10(200/3000) = -6.7dB
|
||||
# Coded Ebc/No = Eb/No - 10*log1010(0.8) = 5 - 10*log10(0.8) = 6.0dB
|
||||
# (calculation ignores small UW overhead). See also test_freedv_fsk_ldpc below
|
||||
# which is the same thing bundled up into a FreeDV "mode"
|
||||
add_test(NAME test_fsk_4fsk_ldpc
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./ldpc_enc /dev/zero - --code HRAb_396_504 --testframes 200 |
|
||||
./framer - - 504 5186 |
|
||||
./fsk_mod 4 8000 100 1000 100 - - |
|
||||
./cohpsk_ch - - -25 --Fs 8000 |
|
||||
./fsk_demod -s 4 8000 100 - - |
|
||||
./deframer - - 504 5186 |
|
||||
./ldpc_dec - /dev/null --code HRAb_396_504 --testframes")
|
||||
|
||||
# 800XA framer test
|
||||
add_test(NAME test_fsk_vhf_framer
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./c2enc 700C ../../raw/ve9qrp_10s.raw - |
|
||||
./vhf_frame_c2 B - - |
|
||||
./fsk_mod -p 10 4 8000 400 400 400 - - |
|
||||
./fsk_demod -p 10 4 8000 400 - - |
|
||||
./vhf_deframe_c2 B - /dev/null")
|
||||
set_tests_properties(test_fsk_vhf_framer PROPERTIES PASS_REGULAR_EXPRESSION "total_uw_err: 0")
|
||||
|
||||
# VHF Ethernet-style packet system
|
||||
add_test(NAME test_freedv_data_channel
|
||||
COMMAND sh -c "./tfreedv_data_channel"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/unittest
|
||||
)
|
||||
|
||||
# ---------------------------------------------------------
|
||||
# FreeDV API raw data
|
||||
# ---------------------------------------------------------
|
||||
|
||||
# OFDM LDPC
|
||||
add_test(NAME test_freedv_data_raw_ofdm
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
head -c 140 </dev/urandom > binaryIn.bin;
|
||||
./freedv_data_raw_tx 700D binaryIn.bin - |
|
||||
./freedv_data_raw_rx 700D - - -v |
|
||||
diff /dev/stdin binaryIn.bin")
|
||||
|
||||
# FSK LDPC default 100 bit/s 2FSK, enough noise for several % raw BER to give
|
||||
# FEC/acquisition a work out, bursts of 1 frame as that stresses acquisition
|
||||
add_test(NAME test_freedv_data_raw_fsk_ldpc_100
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_data_raw_tx --testframes 1 --bursts 10 FSK_LDPC /dev/zero - |
|
||||
./cohpsk_ch - - -5 --Fs 8000 --ssbfilt 0 |
|
||||
./freedv_data_raw_rx --testframes -v FSK_LDPC - /dev/null")
|
||||
set_tests_properties(test_freedv_data_raw_fsk_ldpc_100 PROPERTIES PASS_REGULAR_EXPRESSION "output_packets: 10")
|
||||
|
||||
# FSK LDPC 1000 bit/s 2FSK, Fs=40kHz, as different configs can upset acquisition
|
||||
add_test(NAME test_freedv_data_raw_fsk_ldpc_1k
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_data_raw_tx --Fs 40000 --Rs 1000 --tone1 1000 --shift 1000 --testframes 1 --bursts 10 FSK_LDPC /dev/zero - |
|
||||
./cohpsk_ch - - -10 --Fs 8000 --ssbfilt 0 |
|
||||
./freedv_data_raw_rx --testframes -v --Fs 40000 --Rs 1000 FSK_LDPC - /dev/null")
|
||||
set_tests_properties(test_freedv_data_raw_fsk_ldpc_1k PROPERTIES PASS_REGULAR_EXPRESSION "output_packets: 10")
|
||||
|
||||
# FSK LDPC 10000 bit/s 2FSK, Fs=100kHz, each of the 10 bursts has 100 frames
|
||||
add_test(NAME test_freedv_data_raw_fsk_ldpc_10k
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_data_raw_tx --Fs 100000 --Rs 10000 --tone1 10000 --shift 10000 --testframes 100 --bursts 10 FSK_LDPC /dev/zero - |
|
||||
./cohpsk_ch - - -15 --Fs 8000 --ssbfilt 0 |
|
||||
./freedv_data_raw_rx --testframes -v --Fs 100000 --Rs 10000 FSK_LDPC - /dev/null")
|
||||
set_tests_properties(test_freedv_data_raw_fsk_ldpc_10k PROPERTIES PASS_REGULAR_EXPRESSION "output_packets: 1000")
|
||||
|
||||
# FSK LDPC Rs=1000 bit/s (Rb=2000) 4FSK, Fs=40kHz, this needs --mask and longer preamble to work, due to lower Es/No, about 2dB over 2FSK
|
||||
add_test(NAME test_freedv_data_raw_fsk_ldpc_2k
|
||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||
./freedv_data_raw_tx -a 8192 -m 4 --Fs 40000 --Rs 1000 --tone1 1000 --shift 1000 --testframes 1 --bursts 10 FSK_LDPC /dev/zero - |
|
||||
./cohpsk_ch - - -22 --Fs 8000 --ssbfilt 0 |
|
||||
./freedv_data_raw_rx -m 4 --testframes -v --Fs 40000 --Rs 1000 FSK_LDPC --mask 1000 - /dev/null")
|
||||
set_tests_properties(test_freedv_data_raw_fsk_ldpc_2k PROPERTIES PASS_REGULAR_EXPRESSION "output_packets: 10")
|
||||
|
||||
endif(UNITTEST)
|
|
@ -0,0 +1,502 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
|
@ -0,0 +1,201 @@
|
|||
# Codec 2 README
|
||||
|
||||
Codec 2 is an open source (LGPL 2.1) low bit rate speech codec: http://rowetel.com/codec2.html
|
||||
|
||||
Also included:
|
||||
|
||||
+ The FreeDV API for digital voice over radio. FreeDV is an open source digital voice protocol that integrates modems, codecs, and FEC [README_freedv](README_freedv.md)
|
||||
+ APIs for raw and Ethernet packet data over radio [README_data](README_data.md)
|
||||
+ High performance coherent OFDM modem for HF channels [README_ofdm](README_ofdm.md)
|
||||
+ High performance non-coherent FSK modem [README_fsk](README_fsk.md)
|
||||
+ An STM32 embedded version of FreeDV 1600/700D for the [SM1000](stm32/README.md)
|
||||
+ Coherent PSK modem [README_cohpsk](README_cohpsk.md) for HF channels
|
||||
+ FDMDV DPSK modem [README_fdmdv](README_fdmdv.md) for HF channels
|
||||
|
||||
## Quickstart
|
||||
|
||||
1. Install packages (Debian/Ubuntu):
|
||||
```
|
||||
$ sudo apt install git build-essential cmake
|
||||
```
|
||||
Fedora/RH distros:
|
||||
```
|
||||
$ sudo dnf groupinstall "Development Tools" "C Development Tools and Libraries"
|
||||
$ sudo dnf install cmake
|
||||
```
|
||||
|
||||
1. Build Codec 2:
|
||||
```
|
||||
$ git clone git@github.com:drowe67/codec2.git
|
||||
$ cd codec2
|
||||
$ mkdir build_linux
|
||||
$ cd build_linux
|
||||
$ cmake ..
|
||||
$ make
|
||||
```
|
||||
|
||||
1. Listen to Codec 2 (run from ```codec2/build_linux```):
|
||||
```
|
||||
$ ./src/c2demo ../raw/hts1a.raw hts1a_c2.raw
|
||||
$ aplay -f S16_LE ../raw/hts1a.raw
|
||||
$ aplay -f S16_LE hts1a_c2.raw
|
||||
```
|
||||
1. Compress, decompress and then play a file using Codec 2 at 2400 bit/s:
|
||||
```
|
||||
$ ./src/c2enc 2400 ../raw/hts1a.raw hts1a_c2.bit
|
||||
$ ./src/c2dec 2400 hts1a_c2.bit hts1a_c2_2400.raw
|
||||
```
|
||||
which can be played with:
|
||||
```
|
||||
$ aplay -f S16_LE hts1a_c2_2400.raw
|
||||
```
|
||||
Or using Codec 2 using 700C (700 bits/s):
|
||||
```
|
||||
$ ./src/c2enc 700C ../raw/hts1a.raw hts1a_c2.bit
|
||||
$ ./src/c2dec 700C hts1a_c2.bit hts1a_c2_700.raw
|
||||
$ aplay -f S16_LE hts1a_c2_700.raw
|
||||
```
|
||||
1. If you prefer a one-liner without saving to files:
|
||||
```
|
||||
$ ./src/c2enc 1300 ../raw/hts1a.raw - | ./src/c2dec 1300 - - | aplay -f S16_LE
|
||||
```
|
||||
|
||||
## FreeDV 2020 support (building with LPCNet)
|
||||
|
||||
1. Build codec2 initially without LPCNet
|
||||
```
|
||||
$ cd ~
|
||||
$ git clone https://github.com/drowe67/codec2.git
|
||||
$ cd codec2 && mkdir build_linux && cd build_linux
|
||||
$ cmake ../
|
||||
$ make
|
||||
```
|
||||
|
||||
1. Build LPCNet:
|
||||
```
|
||||
$ cd ~
|
||||
$ git clone https://github.com/drowe67/LPCNet
|
||||
$ cd LPCNet && mkdir build_linux && cd build_linux
|
||||
$ cmake -DCODEC2_BUILD_DIR=~/codec2/build_linux ../
|
||||
$ make
|
||||
```
|
||||
|
||||
1. (Re)build Codec 2 with LPCNet support:
|
||||
```
|
||||
$ cd ~/codec2/build_linux && rm -Rf *
|
||||
$ cmake -DLPCNET_BUILD_DIR=~/LPCNet/build_linux ..
|
||||
$ make
|
||||
```
|
||||
|
||||
## Programs
|
||||
|
||||
+ ```c2demo``` encodes a file of speech samples, then decodes them and saves the result.
|
||||
|
||||
+ ```c2enc``` encodes a file of speech samples to a compressed file of encoded bits. ```c2dec``` decodes a compressed file of bits to a file of speech samples.
|
||||
|
||||
+ ```c2sim``` is a simulation/development version of Codec 2. It allows selective use of the various Codec 2 algorithms. For example switching phase modelling or quantisation on and off.
|
||||
|
||||
+ ```freedv_tx``` & ```freedv_rx``` are command line implementations of the FreeDV protocol, which combines Codec 2, modems, and Forward Error Correction (FEC).
|
||||
|
||||
+ ```cohpsk_*``` are coherent PSK (COHPSK) HF modem command line programs.
|
||||
|
||||
+ ```fdmdv_*``` are differential PSK HF modem command line programs (README_fdmdv).
|
||||
|
||||
+ ```fsk_*``` are command line programs for a non-coherent FSK modem (README_fsk).
|
||||
|
||||
+ ```ldpc_*``` are LDPC encoder/decoder command line programs, based on the CML library.
|
||||
|
||||
+ ```ofdm_*``` are OFDM PSK HF modem command line programs (README_ofdm).
|
||||
|
||||
## Building and Running Unit Tests
|
||||
|
||||
CTest is used as a test framework, with support from [GNU Octave](https://www.gnu.org/software/octave/) scripts.
|
||||
|
||||
1. Install GNU Octave and libraries on Ubuntu with:
|
||||
```
|
||||
$ sudo apt install octave octave-common octave-signal liboctave-dev gnuplot python3-numpy sox valgrind
|
||||
```
|
||||
1. Install CML library with instructions at the top of [```octave/ldpc.m```](octave/ldpc.m)
|
||||
|
||||
1. To build and run the tests:
|
||||
```
|
||||
$ cd ~/codec2
|
||||
$ rm -Rf build_linux && mkdir build_linux
|
||||
$ cd build_linux
|
||||
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||
$ make all test
|
||||
```
|
||||
|
||||
1. To just run tests without rebuilding:
|
||||
```
|
||||
$ ctest
|
||||
```
|
||||
|
||||
1. To get a verbose run (e.g. for test debugging):
|
||||
```
|
||||
$ ctest -V
|
||||
```
|
||||
|
||||
1. To just run a single test:
|
||||
```
|
||||
$ ctest -R test_OFDM_modem_octave_port
|
||||
```
|
||||
|
||||
1. To list the available tests:
|
||||
```
|
||||
$ ctest -N
|
||||
```
|
||||
|
||||
## Directories
|
||||
```
|
||||
cmake - cmake support files
|
||||
misc - misc C programs that have been useful in development,
|
||||
not reqd for Codec 2 release. Part of Debug build.
|
||||
octave - Octave scripts used to support development
|
||||
script - shell scripts for playing and converting raw files
|
||||
src - C source code for Codec 2, FDMDV modem, COHPSK modem, FreeDV API
|
||||
raw - speech files in raw format (16 bits signed linear 8 kHz)
|
||||
stm32 - STM32F4 microcontroller and SM1000 FreeDV Adaptor support
|
||||
unittest - Code to perform and support testing. Part of Debug build.
|
||||
wav - speech files in wave file format
|
||||
```
|
||||
## GDB and Dump Files
|
||||
|
||||
1. To compile with debug symbols for using gdb:
|
||||
```
|
||||
$ cd ~/codec2
|
||||
$ rm -Rf build_linux && mkdir build_linux
|
||||
$ cd build_linux
|
||||
$ CFLAGS=-g cmake ..
|
||||
$ make
|
||||
```
|
||||
|
||||
1. For dump file support (dump data from c2sim for input to Octave development scripts):
|
||||
```
|
||||
$ cd ~/codec2
|
||||
$ rm -Rf build_linux && mkdir build_linux
|
||||
$ cd build_linux
|
||||
$ CFLAGS=-DDUMP cmake ..
|
||||
$ make
|
||||
```
|
||||
|
||||
## Building for Windows on a Linux machine
|
||||
|
||||
On Ubuntu 17 and above:
|
||||
```
|
||||
$ sudo apt-get install mingw-w64
|
||||
$ mkdir build_windows && cd build_windows
|
||||
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/david/freedv-dev/cmake/Toolchain-Ubuntu-mingw32.cmake -DUNITTEST=FALSE -DGENERATE_CODEBOOK=/home/david/codec2/build_linux/src/generate_codebook
|
||||
$ make
|
||||
```
|
||||
|
||||
## Building for Windows on a Windows machine
|
||||
|
||||
```
|
||||
mkdir build_windows (Or what ever you want to call your build dir)
|
||||
cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM=mingw32-make.exe
|
||||
Or if you use ninja for building cmake -G "Ninja" ..
|
||||
mingw32-make or ninja depends on what you used in the last command
|
||||
wait for it to build.
|
||||
```
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# README_cohpsk.md
|
||||
|
||||
## Introduction
|
||||
|
||||
## Quickstart
|
||||
|
||||
1. BER test in AWGN channel with just less that 2% average bit error rate:
|
||||
|
||||
```
|
||||
$ ./cohpsk_get_test_bits - 5600 | ./cohpsk_mod - - | ./cohpsk_ch - - -30 | ./cohpsk_demod - - | ./cohpsk_put_test_bits -
|
||||
<snip>
|
||||
SNR3k(dB): 3.41 C/No: 38.2 PAPR: 8.1
|
||||
BER: 0.017 Nbits: 5264 Nerrors: 92
|
||||
|
||||
```
|
||||
|
||||
2. Plot some of the demod internal states, used to chase down freq offset problemL
|
||||
|
||||
```
|
||||
$ cd build_linux/src
|
||||
$ ./cohpsk_get_test_bits - 5600 | ./cohpsk_mod - - | ./cohpsk_ch - - -40 -f -20 | ./cohpsk_demod -o cohpsk_demod.txt - - | ./cohpsk_put_test_bits -
|
||||
$ cd ../../octave
|
||||
$ octave --no-gui
|
||||
$ cohpsk_demod_plot("../build_linux/src/cohpsk_demod.txt")
|
||||
```
|
||||
|
||||
3. Run Octave<-> tests
|
||||
|
||||
```
|
||||
$ cd ~/codec2/build_linux/unittest
|
||||
$ ./tochpsk
|
||||
$ cd ~/codec2/octave
|
||||
$ octave --no-gui
|
||||
octave> tcohpsk
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
## C Code
|
||||
|
||||
## Octave Scripts
|
||||
|
||||
|
|
@ -0,0 +1,257 @@
|
|||
# README_data.md
|
||||
|
||||
# Introduction
|
||||
|
||||
FreeDV can be used to send data over radio channels. Two APis are supported:
|
||||
+ VHF packet data channel which uses Ethernet style framing.
|
||||
+ Raw frames of modem data
|
||||
|
||||
## Credits
|
||||
|
||||
The VHF data channel was developed by Jeroen Vreeken.
|
||||
|
||||
## Quickstart
|
||||
|
||||
VHF packet data API:
|
||||
|
||||
1. Simple test using mode 2400A and VHF packet data
|
||||
|
||||
```sh
|
||||
$ cd ~/codec2/build_linux
|
||||
$ ./src/freedv_data_tx 2400A - --frames 15 | ./src/freedv_data_rx 2400A -
|
||||
|
||||
```
|
||||
You can listen to the modem signal using:
|
||||
```sh
|
||||
$ ./src/freedv_data_tx 2400A - --frames 15 | aplay -f S16_LE -r 48000
|
||||
|
||||
```
|
||||
|
||||
2. Same for 2400B and 800XA
|
||||
|
||||
```sh
|
||||
$ ./src/freedv_data_tx 2400B - --frames 15 | ./src/freedv_data_rx 2400B -
|
||||
$ ./src/freedv_data_tx 800XA - --frames 15 | ./src/freedv_data_rx 800XA -
|
||||
|
||||
```
|
||||
|
||||
3. Using a different callsign and secondary station id
|
||||
|
||||
```sh
|
||||
$ ./src/freedv_data_tx 2400A - --callsign T3ST --ssid 15 --frames 15 | src/freedv_data_rx 2400A -
|
||||
```
|
||||
|
||||
Raw modem frame API:
|
||||
|
||||
1. Let's send two modem frames of 14 bytes using FreeDV 700D:
|
||||
```sh
|
||||
$ head -c 28 </dev/urandom > binaryIn.bin
|
||||
$ ./src/freedv_data_raw_tx 700D binaryIn.bin - | ./src/freedv_data_raw_rx 700D - - | hexdump
|
||||
bits_per_modem_frame: 112 bytes_per_modem_frame: 14
|
||||
frames processed: 4 output bytes: 28
|
||||
$ hexdump binaryIn.bin
|
||||
0000000 4325 0363 ce1f fb88 8102 7d76 c487 e092
|
||||
0000010 2ded bc06 7689 eb67 5dfe 43df
|
||||
```
|
||||
|
||||
# VHF Packet Data Channel
|
||||
|
||||
The FreeDV VHF data channel operates on a packet level. The FreeDV modems however typically operate on a fixed frame base. This means that data packets have to be sent in multiple frames.
|
||||
|
||||
The packet format is modeled after Ethernet. As a result, any protocol that is compatible with Ethernet can potentially be used over a FreeDV data link. (There are of course practical limits. Browsing the world wide web with just a few hundred bits per second will not be a pleasant experience.)
|
||||
|
||||
## Header optimization
|
||||
|
||||
When there are no packets available for transmission a small 'filler' packet with just the sender's address will be sent.
|
||||
When there is a packet available not all of the header needs to be sent. The sender's address can often be left out if it was already sent in a previous frame. Likewise when the packet has no specific destination but is targeted at a multicast address, this can also be transmitted in a single bit as opposed to a 6 byte broadcast address.
|
||||
|
||||
|
||||
## Addressing
|
||||
|
||||
Since the format is based on Ethernet, a 6 byte sender and destination address is used. It is possible to encode an ITU compatible callsign in these bytes. See http://dmlinking.net/eth_ar.html for more info. Or have a look at freedv_data_tx.c and freedv_data_rx.c for an actual implementation.
|
||||
|
||||
## Packet types
|
||||
|
||||
The 2 byte EtherType field is used to distinguish between various protocols.
|
||||
|
||||
## Checks
|
||||
|
||||
Not all channels are perfect, and especially since a packet is split up over multiple frames, bits might get lost. Each packet therefore has a CRC which is checked before it is accepted. Note there is No FEC on 2400A/2400B/800XA.
|
||||
|
||||
## Available modes
|
||||
|
||||
The data channel is available for modes 2400A, 2400B and 800XA.
|
||||
|
||||
## API
|
||||
|
||||
The data channel is part of the regular FreeDV API.
|
||||
|
||||
### Initialization
|
||||
|
||||
After creating a new freedv instance with freedv_open(), a few more calls need to be done before the data channel is usable.
|
||||
|
||||
```
|
||||
void freedv_set_data_header (struct freedv *freedv, unsigned char *header);
|
||||
```
|
||||
|
||||
The address that will be used for 'filler' packets must be set. The freedv_set_data_header() function must be called with a 6 byte header.
|
||||
|
||||
```
|
||||
typedef void (*freedv_callback_datarx)(void *, unsigned char *packet, size_t size);
|
||||
typedef void (*freedv_callback_datatx)(void *, unsigned char *packet, size_t *size);
|
||||
void freedv_set_callback_data (struct freedv *freedv, freedv_callback_datarx datarx, freedv_callback_datatx datatx, void *callback_state);
|
||||
```
|
||||
|
||||
Using freedv_set_callback_data() two callback functions can be provided. The datarx callback will be used whenever a new data packet has been successfully received. The datatx callback will be used when a new data packet is required for transmission.
|
||||
|
||||
### Operation
|
||||
|
||||
```
|
||||
void freedv_datatx (struct freedv *f, short mod_out[]);
|
||||
```
|
||||
|
||||
During normal operation the freedv_datatx() function can be used whenever a data frame has to be sent. If no data is available it will request new data using the datatx callback. The callback function is allowed to set 'size' to zero if no data is available or if it wishes to send an address frame.
|
||||
|
||||
For reception the regular freedv_rx() functions can be used as received data will automatically be reported using the datarx callback. Be aware that these functions return the actual number of received speech samples. When a data frame is received the return value will be zero. This may lead to 'gaps' in the audio stream which will have to be filled with silence.
|
||||
|
||||
### Examples
|
||||
|
||||
The freedv_data_tx and freedv_data_rx test programs implement the minimum needed to send and receive data packets.
|
||||
|
||||
## Mixing voice and data
|
||||
|
||||
Encoding only voice data is easy with the FreeDV API. Simply use the freedv_tx() function and provide it with speech samples.
|
||||
Likewise encoding only data is also easy. Make sure to provide a source of data frames using the freedv_set_callback_data() function, and use the freedv_datatx() function to generate frames.
|
||||
|
||||
However there are many use cases where one would like to transmit a mix of voice and data. For example one might want to transmit their callsign in a machine readable format, or a short position report. There are a few ways to do this:
|
||||
|
||||
### Data bursts at start and/or end of transmission
|
||||
|
||||
This method simply transmits voice frames during the transmission, except for a few moments. For example when the user keys the radio the software uses the freedv_datatx() function for a number of frames before switching to regular voice frames.
|
||||
Likewise when the user releases the key the software may hold it for a number of frames to transmit data before it releases the actual radio.
|
||||
|
||||
Be careful though: depending on your setup (radio, PC, soundcard, etc) the generated frames and the keying of your radio might not be perfectly in sync and the first or last frames might be lost in the actual transmission. Make sure to take this into account when using this method.
|
||||
|
||||
### Data and voice interleaved
|
||||
|
||||
Another method is to generate a mixed stream of frames. Compared to a small burst at the beginning or end a lot more data can be sent. We only need a way to choose between voice or data such that the recovered speech at the other side is not impacted.
|
||||
|
||||
#### Detect voice activity
|
||||
|
||||
When it is possible to determine activity in the voice signal (and it almost always is) this presence can be used to insert a data frame by calling freedv_datatx() instead of freedv_tx()/freedv_codectx(). This method is used in the freedv_mixed_tx demo program. When the option --codectx is given the codec2 library is used to determine the activity.
|
||||
|
||||
```
|
||||
$ ./src/freedv_mixed_tx 2400A ../raw/hts1a.raw - --codectx | src/freedv_data_rx 2400A -
|
||||
$ ./src/freedv_mixed_tx 2400A ../raw/hts1a.raw - | src/freedv_data_rx 2400A -
|
||||
```
|
||||
|
||||
The advantage of this method is that the audio is not distorted, there was nothing (or near nothing) to distort. A drawback is that constant voice activity may mean there are insufficient frames for data.
|
||||
|
||||
### Receiving mixed voice and data
|
||||
|
||||
Receiving and decoding a mixed voice and data stream is (almost) as easy as receiving a regular voice-only transmission.
|
||||
One simply uses the regular API calls for reception of speech samples. In addition, the callback functions are used for data.
|
||||
There is one caveat though: when a data frame is received the API functions (like freedv_rx) will return zero as this is the amount of codec/voice data received.
|
||||
For proper playback silence (or comfort noise) should be inserted for the duration of a frame to restore the timing of the original source speech samples.
|
||||
An example of how this is done is provided in freedv_mixed_rx
|
||||
|
||||
```
|
||||
$ ./src/freedv_mixed_tx 2400A ../raw/hts1a.raw - | src/freedv_mixed_rx 2400A - ./hts1a_out.raw
|
||||
```
|
||||
|
||||
### Insert a data frame periodically
|
||||
|
||||
This is a very simple method, simply insert a data frame every n frames, (e.g. once every 10 seconds). Since single FreeDV frames are relatively short (tens of milliseconds) the effect on received audio will be minor. The advantage of this method is that one can create a guaranteed amount of data bandwidth. A drawback is some interruption in the audio that may be noticed.
|
||||
|
||||
### Combination of the above.
|
||||
|
||||
A combination of the two methods may also be used. Send data when no voice is active and insert a frame when this does not occur for a long time.
|
||||
|
||||
# Raw Data using the FreeDV API
|
||||
|
||||
The demo programs [freedv_data_raw_tx.c](src/freedv_data_raw_tx.c) and [freedv_data_raw_rx.c](src/freedv_data_raw_rx.c) show how to use the raw data API. The raw data API may lose frames due to channel impairments, loss of sync, or acquisition delays. The caller must handle these situations. The caller is also responsible for segmentation/re-assembly of the modem frames into larger blocks of data.
|
||||
|
||||
## FSK LDPC Raw Data Mode
|
||||
|
||||
The FSK_LDPC mode uses 2 or 4 FSK in combination with powerful LDPC codes. Parameters such as the number of FSK tones, sample rate, symbol rate, and LDPC code can be selected at initialisation time. The frame format is:
|
||||
```
|
||||
| Preamble | UW | payload data | CRC | parity | UW | payload data | CRC | parity | ........... |
|
||||
| frame 1 -------------------------| frame 2 -------------------------| ... frame n |
|
||||
```
|
||||
Only one preamble is transmitted for each data burst, which can contain as many frames as you like. Each frame starts with a 32 bit Unique Word (UW), then the FEC codeword consisting of the data and parity bits. At the end of the data bits, we reserve 16 bits for a CRC.
|
||||
|
||||
Here is an example of sending some text:
|
||||
```
|
||||
$ cd codec2/build_linux/src
|
||||
$ echo 'Hello World ' |
|
||||
./freedv_data_raw_tx FSK_LDPC - - 2>/dev/null |
|
||||
./freedv_data_raw_rx FSK_LDPC - - 2>/dev/null |
|
||||
hexdump -C
|
||||
00000000 48 65 6c 6c 6f 20 57 6f 72 6c 64 20 20 20 20 20 |Hello World |
|
||||
00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 11 c6 | ..|
|
||||
00000020
|
||||
```
|
||||
Notes:
|
||||
1. The input data is padded to 30 bytes. The (512,256) code sends 256 data bits every frame, we reserve 16 for a CRC, so there are 240 bits, or 30 bytes of payload data required for one frame.
|
||||
1. You can see the `0x11c6` CRC bytes at the end of the hexdump output.
|
||||
1. The '2>/dev/null' command redirects stderr to nowhere, removing some of the debug information the test programs usually display to make this example easier to read.
|
||||
|
||||
When testing, it's convenient to use an internal source of test data. Here is an example where we send a single burst of 10 test frames:
|
||||
```
|
||||
$ cd codec2/build_linux/src
|
||||
$ ./freedv_data_raw_tx --testframes 10 FSK_LDPC /dev/zero - | ./freedv_data_raw_rx --testframes FSK_LDPC - /dev/null
|
||||
Nbits: 50 N: 4000 Ndft: 1024
|
||||
bits_per_modem_frame: 256 bytes_per_modem_frame: 32
|
||||
bytes_per_modem_frame: 32
|
||||
Frequency: Fs: 8.0 kHz Rs: 0.1 kHz Tone1: 1.0 kHz Shift: 0.2 kHz M: 2
|
||||
|
||||
frames processed: 131 output bytes: 320 output_packets: 10
|
||||
BER......: 0.0000 Tbits: 5440 Terrs: 0
|
||||
Coded BER: 0.0000 Tbits: 2560 Terrs: 0
|
||||
```
|
||||
The default is 100 bits/s 2FSK. The (512,256) code sends 256 data bits (32 bytes) with every codeword, the remaining 256 bits reserved for parity. The `--testframes` mode reports `320 output bytes` (10 frames where sent), and `Tbits: 2560`, so all of our data made it through.
|
||||
|
||||
In real world operation, 16 of the data bits are reserved for a CRC, leaving 240 payload data bits per frame. Taking into account the overhead of the UW, CRC, and parity bits, we send 240 payload data bits for every out of 544, so the payload data rate in this example is (240/512)*(100 bits/s) = 44.1 bits/s.
|
||||
|
||||
We can add some channel noise using the `cohpsk_ch` tool and see how it performs:
|
||||
```
|
||||
$ ./freedv_data_raw_tx --testframes 1 --bursts 10 FSK_LDPC /dev/zero - |
|
||||
./cohpsk_ch - - -5 --Fs 8000 --ssbfilt 0 |
|
||||
./freedv_data_raw_rx --testframes -v FSK_LDPC - /dev/null
|
||||
<snip>
|
||||
frames processed: 336 output bytes: 320 output_packets: 10
|
||||
BER......: 0.0778 Tbits: 5440 Terrs: 423
|
||||
SNR3k(dB): -13.00 C/No: 21.8 PAPR: 7.5
|
||||
Coded BER: 0.0000 Tbits: 2560 Terrs: 0
|
||||
```
|
||||
The `cohpsk_ch` stderr reporting is mixed up with the testframes results but we can see that over a channel with a -13dB SNR, we obtained a raw bit error rate of 0.0778 (nearly 8%). However the LDPC code cleaned that up nicely and still received all 10 packets with no errors.
|
||||
|
||||
Here is an example running 4FSK at 20000 bits/s (10000 symbols/s), at a sample rate of 200 kHz:
|
||||
```
|
||||
$./freedv_data_raw_tx -m 4 --Fs 200000 --Rs 10000 --tone1 10000 --shift 10000 --testframes 100 --bursts 10 FSK_LDPC /dev/zero - |
|
||||
./cohpsk_ch - - -12 --Fs 8000 --ssbfilt 0 |
|
||||
./freedv_data_raw_rx -m 4 --testframes -v --Fs 200000 --Rs 10000 FSK_LDPC --mask 10000 - /dev/null
|
||||
<snip>
|
||||
frames processed: 5568 output bytes: 30144 output_packets: 942
|
||||
BER......: 0.0691 Tbits: 528224 Terrs: 36505
|
||||
Coded BER: 0.0022 Tbits: 248576 Terrs: 535
|
||||
```
|
||||
Some notes on this example:
|
||||
1. We transmit 10 bursts, each of 100 frames in length, 1000 packets total. There are a couple of frames silence between each burst. This gives the acquisition algorithms a good work out.
|
||||
1. Only 942 packets make it though this rather noisy channel, a 6% Packet Error Rate (PER). In a real world application, a higher protocol layer would need to detect this, and arrange for re-transmission of missing packets. If the SNR was a few dB better, all 1000 packets would likely make it through. If it was 1dB worse, nothing would get through; LDPC codes have a very sharp "knee" in the PER versus SNR curve.
|
||||
1. Our first tone `--tone` is at 10kHz, and each tone is spaced `--shift` by 10kHz, so we have FSK tones at 10,20,30, and 40 kHz. For good performance, FSK tones must be spaced by at least the symbol rate Rs.
|
||||
1. Although the `cohpsk_ch` utility is designed for 8kHz sample rate operation, it just operates on sampled signals, so it's OK to use at higher sample rates. It does have some internal filtering so best to keep your signal well away from 0 and (sample rate)/2. The SNR measurement is calibrated to a 3000 Hz noise bandwidth, so won't make much sense at other sample rates. The third argument `-12` sets the noise level of the channel.
|
||||
1. The `--mask` frequency offset algorithm is used, which gives better results on noisy channels, especially for 4FSK.
|
||||
|
||||
There are some more example in the [ctests](CMakeLists.txt).
|
||||
|
||||
## HF Raw Data modes
|
||||
|
||||
The following FreeDV modes are recommended for *preliminary development* using the raw data API. These modes were originally designed for streaming voice rather than data and are not suitable for production HF data applications. They have small payloads, and acquisition algorithms not suitable for packet data over real world HF channels. New modes are being design for HF data at the time of writing (June 2020).
|
||||
|
||||
| FreeDV Mode | RF bandwidth (Hz) | Payload data rate bits/s | bytes/frame | FEC | Min SNR (dB, AWGN) |
|
||||
| :-: | :-: | :-: | :-: | :-: | :-: |
|
||||
| 700C | 1100 | 700 | 7 | none | 2 |
|
||||
| 700D | 1100 | 700 | 14 | rate 0.8 | -2 |
|
||||
| 2020 | 1500 | 1733 | 39 | rate 0.6 | 2 |
|
||||
|
|
@ -0,0 +1,122 @@
|
|||
# README_fdmdv
|
||||
|
||||
## Introduction
|
||||
|
||||
A 1400 bit/s (nominal) Frequency Division Multiplexed Digital Voice (FDMDV) modem based on [FreeDV 1600 Specification](https://freedv.org/freedv-specification). Used for FreeDV 1600.
|
||||
|
||||
The FDMDV modem was first implemented in GNU Octave, then ported to C. Algorithm development is generally easier in Octave, but for real-time work we need the C version. Automated units tests ensure the operation of the Octave and C versions are identical.
|
||||
|
||||
## Quickstart
|
||||
|
||||
Built as part of codec2, see [README](README.md) for build instructions.
|
||||
|
||||
1. Generate some test bits and modulate them:
|
||||
```
|
||||
$ ./fdmdv_get_test_bits test.c2 1400
|
||||
$ ./fdmdv_mod test.c2 test.raw
|
||||
$ play -r 8000 -s -2 test.raw
|
||||
```
|
||||
|
||||
1. Two seconds of test frame data modulated and sent out of sound device:
|
||||
```
|
||||
$ ./fdmdv_get_test_bits - 2800 | ./fdmdv_mod - - | play -t raw -r 8000 -s -2 -
|
||||
```
|
||||
|
||||
1. Send 14000 modulated bits (10 seconds) to the demod and count errors:
|
||||
```
|
||||
$ ./fdmdv_get_test_bits - 14000 | ./fdmdv_mod - - | ./fdmdv_demod - - 14 demod_dump.txt | ./fdmdv_put_test_bits -
|
||||
```
|
||||
Use Octave to look at plots of 1 second (1400 bits) of modem operation:
|
||||
```
|
||||
$ cd ../octave
|
||||
$ octave --no-gui
|
||||
octave:1> fdmdv_demod_c("../src/demod_dump.txt",14000)
|
||||
```
|
||||
|
||||
1. Run Octave simulation of entire modem and AWGN channel:
|
||||
```
|
||||
$ cd ../octave
|
||||
$ octave
|
||||
octave:1> fdmdv_ut
|
||||
```
|
||||
|
||||
1. NOTE: If you would like to play modem samples over the air please convert the 8 kHz samples to 48 kHz. Many PC sound cards have wildly inaccurate sample clock rates when set to 8 kHz, but seem to perform OK when set for 48 kHz. If playing and recording files you can use the sox utility:
|
||||
```
|
||||
$ sox -r 8000 -s -2 modem_sample_8kHz.raw -r 48000 modem_sample_48kHz.wav
|
||||
```
|
||||
For real-time applications, the fdmdv.[ch] library includes functions to convert between 48 and 8 kHz sample rates.
|
||||
|
||||
1. Send 20 seconds at 2000 bit/s (20 carriers) to demod and count errors:
|
||||
```
|
||||
$ ./fdmdv_get_test_bits - 20000 20 | ./fdmdv_mod - - 20 | ./fdmdv_demod - - 20 | ./fdmdv_put_test_bits - 20
|
||||
```
|
||||
|
||||
1. Test with timing slips due to sample clock offset of 1000ppm:
|
||||
```
|
||||
$ ./fdmdv_get_test_bits - 30000 | ./fdmdv_mod - - | sox -t raw -r 8000 -s -2 - -t raw -r 7990 - | ./fdmdv_demod - - 14 demod_dump.txt | ./fdmdv_put_test_bits -
|
||||
octave:98> fdmdv_demod_c("../build_linux/src/demod_dump.txt",28000)
|
||||
27552 bits 0 errors BER: 0.0000
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
1. [FreeDV 1600 Specification](https://freedv.org/freedv-specification)
|
||||
3. [Testing a FDMDV Modem](http://www.rowetel.com/blog/?p=2433)
|
||||
4. [FDMDV Modem Page](http://www.rowetel.com/blog/?p=2458)
|
||||
|
||||
## C Code
|
||||
|
||||
| File | Description |
|
||||
| --- | --- |
|
||||
| src/fdmdv_mod.c | C version of modulator that takes a file of bits and converts it to a raw file of modulated samples |
|
||||
| src/fdmdv_demod.c | C version of demodulator that takes a raw file of modulated samples and outputs a file of bits. Optionally dumps demod states to a text file which can be plotted using the Octave script fdmdv_demod_c.m |
|
||||
| src/codec2_fdmdv.h | Header file that exposes FDMDV C API functions. Include this file in your application program |
|
||||
| src/fdmdv.c | C functions that implement the FDMDV modem |
|
||||
| src/fdmdv-internal.h | internal states and constants for FDMDV modem, shouldn't be exposed to application program |
|
||||
| unittest/tfdmdv.c | Used to conjunction with unittest/tfdmdv.m to automatically test C FDMDV functions against Octave versions |
|
||||
|
||||
## Octave Scripts
|
||||
|
||||
Note these require some Octave packages to be installed, see [README](README.md)
|
||||
|
||||
| File | Description |
|
||||
| --- | --- |
|
||||
| fdmdv.m | Functions and variables that implement the Octave version of the FDMDV modem |
|
||||
| fdmdv_ut.m | Unit test for fdmdv Octave code, useful while developing algorithm. Includes tx/rx plus basic channel simulation |
|
||||
| fdmdv_mod.m | Octave version of modulator that outputs a raw file. The modulator is driven by a test frame of bits. This can then be played over a real channel or through a channel simulator like PathSim. The sample rate can be changed using "sox" to simulate differences in tx/rx sample clocks |
|
||||
| fdmdv_demod.m | Demodulator program that takes a raw file as input, and works out the bit error rate using the known test frame. Can be used to test the demod performs with off-air signals, or signals that have been passed through a channel simulator |
|
||||
| fdmdv_demod_c.m | Takes an output text file from the C demod fdmdv_demod.c and produces plots and measures BER. Useful for evaluating fdmdv_demod.c performance. The plots produced are identical to the Octave version fdmdv_demod.m, allowing direct comparison of the C and Octave versions |
|
||||
| tfdmdv.m | Automatic tests that compare the Octave and C versions of the FDMDV modem functions. First run unittest/tfdmdv, this will generate a text file with test vectors from the C version. Then run the Octave script tfdmdv and it will generate Octave versions of the test vectors and compare each vector with the C equivalent. It plots the vectors and errors (green). It also produces an automatic checklist based on test results. If the Octave or C modem code is changed, this script should be used to ensure the C and Octave versions remain identical |
|
||||
|
||||
1. Typical fdmdv_ut run:
|
||||
```
|
||||
octave:6> fdmdv_ut
|
||||
Eb/No (meas): 7.30 (8.29) dB
|
||||
bits........: 2464
|
||||
errors......: 20
|
||||
BER.........: 0.0081
|
||||
PAPR........: 13.54 dB
|
||||
SNR.........: 4.0 dB
|
||||
```
|
||||
It also outputs lots of nice plots that show the operation of the modem.
|
||||
|
||||
For a 1400 bit/s DQPSK modem we expect about 1% BER for Eb/No = 7.3dB, which corresponds to SNR = 4dB (3kHz noise BW). The extra dB of measured power is due to the DBPSK pilot. Currently the noise generation code doesn't take the pilot power into account, so in this example the real SNR is actually 5dB.
|
||||
|
||||
1. To generate 10 seconds of modulated signal:
|
||||
```
|
||||
octave:8> fdmdv_mod("test.raw",1400*10);
|
||||
```
|
||||
To demodulate 2 seconds of the test.raw file generated above:
|
||||
```
|
||||
octave:9> fdmdv_demod("test.raw",1400*2);
|
||||
2464 bits 0 errors BER: 0.0000
|
||||
```
|
||||
It also produces several plots showing the internal states of the demod. Useful for debugging and observing what happens with various channels.
|
||||
|
||||
## Modelling sample clock errors using sox
|
||||
|
||||
|
||||
This introduces a simulated 1000ppm error:
|
||||
```
|
||||
sox -r 8000 -s -2 mod_dqpsk.raw -s -2 mod_dqpsk_8008hz.raw rate -h 8008
|
||||
```
|
|
@ -0,0 +1,180 @@
|
|||
# FreeDV Technology
|
||||
|
||||
FreeDV is an open source digital voice protocol that integrates modems, codecs, and FEC.
|
||||
|
||||
On transmit, FreeDV converts speech to a modem signal you can send over a radio channel. On receive, FreeDV takes off air modem signals and converts them to speech samples.
|
||||
|
||||
FreeDV is available as a GUI application, an open source library (FreeDV API), and in hardware (the SM1000 FreeDV adaptor). FreeDV is part of the Codec 2 project.
|
||||
|
||||
This document gives an overview of the technology inside FreeDV, and some additional notes on building/using the FreeDV 2020 and 2400A/2400B modes.
|
||||
|
||||
![FreeDV mode knob](http://www.rowetel.com/images/codec2/mode_dv.jpg)
|
||||
|
||||
## Reading Further
|
||||
|
||||
1. [FreeDV web site](http://freedv.org)
|
||||
1. [FreeDV GUI User Manual](https://github.com/drowe67/freedv-gui/blob/master/USER_MANUAL.md)
|
||||
1. [Codec 2](http://rowetel.com/codec2.html)
|
||||
1. FreeDV can also be used for data [README_data](https://github.com/drowe67/codec2/blob/master/README_data.md)
|
||||
1. [FreeDV 1600 specification](https://freedv.org/freedv-specification)
|
||||
1. [FreeDV 700C blog post](http://www.rowetel.com/wordpress/?p=5456)
|
||||
1. [FreeDV 700D Released blog post](http://www.rowetel.com/wordpress/?p=6103)
|
||||
1. [FreeDV 2020 blog post](http://www.rowetel.com/wordpress/?p=6747)
|
||||
1. [FreeDV 2400A blog post](http://www.rowetel.com/?p=5119)
|
||||
1. [FreeDV 2400A & 2400B](http://www.rowetel.com/?p=5219)
|
||||
1. Technical information on various modem waveforms in the [modem codec frame design spreadsheet](https://github.com/drowe67/codec2/blob/master/doc/modem_codec_frame_design.ods)
|
||||
1. [Modems for HF Digital Voice Part 1](http://www.rowetel.com/wordpress/?p=5420)
|
||||
1. [Modems for HF Digital Voice Part 2](http://www.rowetel.com/wordpress/?p=5448)
|
||||
1. [FDMDV modem README](README_fdmdv.md)
|
||||
1. [OFDM modem README](README_ofdm.md)
|
||||
1. Many blog posts in the [rowetel.com blog archives](http://www.rowetel.com/?page_id=6172)
|
||||
|
||||
## FreeDV HF Modes
|
||||
|
||||
These are designed for use with a HF SSB radio.
|
||||
|
||||
| Mode | Date | Codec | Modem | RF BW | Raw bits/s | FEC | Text | SNR min | Multipath |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| 1600 | 2012 | Codec2 1300 | DQPSK + pilot | 1125 | 1600 | Golay (23,12) | Y | 4 | poor |
|
||||
| 700C | 2017 | Codec2 700C | coherent QPSK + diversity | 1500 | 1400 | - | - | 2 | good |
|
||||
| 700D | 2018 | Codec2 700C | coherent OFDM/QPSK | 1000 | 1900 | LDPC (224,112) | Y | -2 | fair |
|
||||
| 2020 | 2019 | LPCNet 1733 | coherent OFDM/QPSK | 1600 | 3000 | LDPC (504,396) | Y | 2 | poor |
|
||||
|
||||
Notes:
|
||||
|
||||
1. *Raw bits/s* is the number of payload bits/s carried over the channel by the modem. This consists of codec frames, FEC parity bits, unprotected text, and synchronisation information such as pilot and unique word bits. The estimates are open to interpretation for the OFDM waveforms due to pilot symbol and cyclic prefix considerations (see spreadsheet).
|
||||
|
||||
1. *RF BW* is the bandwidth of the RF signal over the air. FreeDV is more bandwidth efficient than SSB.
|
||||
|
||||
1. *Multipath* is the relative resilience of the mode to multipath fading, the biggest problem digital voice faces on HF radio channels. Analog SSB would be rated as "good".
|
||||
|
||||
1. *Text* is a side channel for low bit rate text such as your location and call sign. It is generally unprotected by FEC, and encoded with varicode.
|
||||
|
||||
1. *SNR Min* is for an AWGN channel (no multipath/fading).
|
||||
|
||||
1. All of the modems use multiple parallel carriers running at a low symbol rate of around 50 Hz. This helps combat the effects of multipath channels.
|
||||
|
||||
1. Some of the Codec 2 modes (2400/1300/700C etc) happen to match the name of a FreeDV mode. For example FreeDV 700C uses Codec 2 700C for voice compression. However FreeDV 700D *also* uses Codec 2 700C for voice compression, but has a very different modem waveform to FreeDV 700C. Sorry for the confusing nomenclature.
|
||||
|
||||
1. Coherent demodulation gives much better performance than differential, at the cost of some additional complexity. Pilot symbols are transmitted regularly to allow the demod to estimate the reference phase of each carrier.
|
||||
|
||||
1. The 1600 and 700C waveforms use parallel tone modems, later modes use OFDM. OFDM gives tighter carrier packing which allows higher bit rates, but tends to suffer more from frequency offsets and delay spread.
|
||||
|
||||
1. At medium to high SNRs, FreeDV 700C performs well (better than 700D) on fast fading multipath channels with large delay spread due its parallel tone design and high pilot symbol rate. It employs transmit diversity which delivers BER performance similar to modes using FEC. FreeDV 700C also has a short frame (40ms), so syncs fast with low latency. Fast sync is useful on marginal channels that move between unusable and barely usable.
|
||||
|
||||
1. FreeDV 700D uses an OFDM modem and was optimised for low SNR channels, with strong FEC but a low pilot symbol rate and modest (2ms) cyclic prefix which means its performance degrades on multipath channels with fast (> 1Hz) fading. The use of strong FEC makes this mode quite robust to other channel impairments, such as static crashes, urban HF noise, and in-band interference.
|
||||
|
||||
1. FEC was added fairly recently to FreeDV modes. The voice codecs we use work OK at bit error rates of a few %, and packet error rates of 10%. Raw bit error rates on multipath channels often exceed 10%. For reasonable latency (say 40ms) we need small codewords. Thus to be useful we require a FEC code that works at over 10% raw BER, has 1% output (coded) bit error rate, and a codeword of around 100 bits. Digital voice has unusual requirements, most FEC codes are designed for data which is intolerant of any bit errors, and few operate over 10% raw BER. Powerful FEC codes have long block lengths (1000's of bits) which leads to long latency. However LDPC codes come close, and can also "clean up" other channel errors caused by static and interference. The use of OFDM means we now have "room" for the extra bits required for FEC, so there is little cost in adding it, apart from latency.
|
||||
|
||||
## FreeDV VHF Modes
|
||||
|
||||
These modes use constant amplitude modulation like FSK or FM, and are designed for VHF and above. However 800XA can be run over HF or VHF on a SSB radio.
|
||||
|
||||
| Mode | Date | Codec2 | Modem | RF BW | Raw bits/s | FEC | Text |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| 2400A | 2016 | 1300 | 4FSK | 2400 | 5kHz | Golay (23,12) | Y |
|
||||
| 2400B | 2016 | 1300 | baseband/analog FM | analog FM | 2400 | Golay (23,12) | Y |
|
||||
| 800XA | 2017 | 700C | 4FSK | 2000 | 800 | - | N |
|
||||
| FSK_LDPC | 2020 | - | 2 or 4 FSK | user defined | user defined | LDPC | - | - |
|
||||
|
||||
The FSK_LDPC mode is used for data, and has user defined bit rate and a variety of LDPC codes available. It is discussed in [README_data](README_data.md)
|
||||
|
||||
## FreeDV API
|
||||
|
||||
See [freedv_api.h](src/freedv_api.h) and [freedv_api.c](src/freedv_api.c), and the command line demo programs [freedv_tx.c](src/freedv_tx.c) & [freedv_rx.c](src/freedv_rx.c). Quickstart demo using FreeDV 1600:
|
||||
```
|
||||
$ ./freedv_tx 1600 ../../raw/hts1.raw - | ./freedv_rx 1600 - - | play -t raw -r 8000 -s -2 -q -
|
||||
$ cat freedv_rx_log.txt
|
||||
```
|
||||
## FreeDV 2400A and 2400B modes
|
||||
|
||||
FreeDV 2400A and FreeDV 2400B are modes designed for VHF radio. FreeDV 2400A is designed for SDR radios (it has a 5 kHz RF bandwidth), however FreeDV 2400B is designed to pass through commodity FM radios.
|
||||
|
||||
Demos of FreeDV 2400A and 2400B:
|
||||
```
|
||||
$ ./freedv_tx 2400A ../../raw/ve9qrp_10s.raw - | ./freedv_rx 2400A - - | play -t raw -r 8000 -s -2 -
|
||||
$ ./freedv_tx 2400B ../../raw/ve9qrp_10s.raw - | ./freedv_rx 2400B - - | play -t raw -r 8000 -s -2 -
|
||||
```
|
||||
Note for FreeDV 2400A/2400B the modem signal sample rate is 48kHz. To
|
||||
listen to the modem tones from FreeDV 2400B, or play them into a FM HT
|
||||
mic input:
|
||||
```
|
||||
$ ./freedv_tx 2400B ../../raw/ve9qrp_10s.raw - | play -t raw -r 48000 -s -2 -
|
||||
```
|
||||
Simulate FreeDV 2400B passing through a 300 to 3000 Hz audio path using sox to filter:
|
||||
```
|
||||
$ ./freedv_tx 2400B ../../raw/ve9qrp_10s.raw - | sox -t raw -r 48000 -s -2 - -t raw - sinc 300-3000 | ./freedv_rx 2400B - - | play -t raw -r 8000 -s -2 -
|
||||
```
|
||||
|
||||
## FreeDV 2020 support (building with LPCNet)
|
||||
|
||||
1. Build codec2 initially without LPCNet
|
||||
```
|
||||
$ cd ~
|
||||
$ git clone https://github.com/drowe67/codec2.git
|
||||
$ cd codec2 && mkdir build_linux && cd build_linux
|
||||
$ cmake ../
|
||||
$ make
|
||||
```
|
||||
|
||||
1. Build LPCNet:
|
||||
```
|
||||
$ cd ~
|
||||
$ git clone https://github.com/drowe67/LPCNet
|
||||
$ cd LPCNet && mkdir build_linux && cd build_linux
|
||||
$ cmake -DCODEC2_BUILD_DIR=~/codec2/build_linux ../
|
||||
$ make
|
||||
```
|
||||
|
||||
1. (Re)build Codec 2 with LPCNet support:
|
||||
```
|
||||
$ cd ~/codec2/build_linux && rm -Rf *
|
||||
$ cmake -DLPCNET_BUILD_DIR=~/LPCNet/build_linux ..
|
||||
$ make
|
||||
```
|
||||
|
||||
## FreeDV 2020 tests with FreeDV API
|
||||
|
||||
```
|
||||
$ cat ~/LPCNet/wav/wia.wav | ~/LPCNet/build_linux/src/lpcnet_enc -s | ./ofdm_mod --mode 2020 --ldpc --verbose 1 -p 312 | ./ofdm_demod --mode 2020 --verbose 1 --ldpc -p 312 | ~/LPCNet/build_linux/src/lpcnet_dec -s | aplay -f S16_LE -r 16000
|
||||
```
|
||||
Listen the reference tx:
|
||||
```
|
||||
$ cat ~/LPCNet/wav/wia.wav | ~/LPCNet/build_linux/src/lpcnet_enc -s | ./ofdm_mod --mode 2020 --ldpc --verbose 1 -p 312 | aplay -f S16_LE
|
||||
```
|
||||
|
||||
Listen the freedv_tx:
|
||||
```
|
||||
$ ./freedv_tx 2020 ~/LPCNet/wav/wia.wav - | aplay -f S16_LE
|
||||
```
|
||||
|
||||
FreeDV API tx, with reference rx from above:
|
||||
```
|
||||
$ ./freedv_tx 2020 ~/LPCNet/wav/wia.wav - | ./ofdm_demod --mode 2020 --verbose 1 --ldpc -p 312 | ~/LPCNet/build_linux/src/lpcnet_dec -s | aplay -f S16_LE -r 16000
|
||||
```
|
||||
|
||||
FreeDV API tx and rx:
|
||||
```
|
||||
$ ./freedv_tx 2020 ~/LPCNet/wav/all.wav - | ./freedv_rx 2020 - - | aplay -f S16_LE -r 16000
|
||||
$ ./freedv_tx 2020 ~/LPCNet/wav/all.wav - --testframes | ./freedv_rx 2020 - /dev/null --testframes -vv
|
||||
```
|
||||
|
||||
Simulated HF slow fading channel, 10.8dB SNR:
|
||||
```
|
||||
$ ./freedv_tx 2020 ~/LPCNet/wav/all.wav - | ./cohpsk_ch - - -30 --Fs 8000 --slow | ./freedv_rx 2020 - - | aplay -f S16_LE -r 16000
|
||||
```
|
||||
It falls down quite a bit with fast fading (--fast):
|
||||
|
||||
AWGN (noise but no fading) channel, 2.8dB SNR:
|
||||
```
|
||||
$ ./freedv_tx 2020 ~/LPCNet/wav/all.wav - | ./cohpsk_ch - - -22 --Fs 8000 | ./freedv_rx 2020 - - | aplay -f S16_LE -r 16000
|
||||
```
|
||||
|
||||
## Further work
|
||||
|
||||
1. ~~Spell check/proofread~~
|
||||
1. Screen shots of each modes (waterfall and spectrum), discussing aspects of waveforms
|
||||
1. ~~Link to this doc from freedv-gui user manual, rowetel/codec2 page, freedv.org~~
|
||||
1. ~~README_fdmdv.txt -> .md~~
|
||||
1. nice image or two
|
||||
1. table of source files
|
|
@ -0,0 +1,179 @@
|
|||
# README_fsk
|
||||
|
||||
A FSK modem with a non-coherent demodulator. Performance is within a fraction of a dB of ideal. The demodulator automagically estimates the tone frequencies and tracks frequency drift.
|
||||
|
||||
Here is a typical Bit Error Rate (BER) versus Eb/No curve:
|
||||
|
||||
![BER versus Eb/No curve](doc/fsk_modem_ber_8000_100.png)
|
||||
|
||||
Note how close the theory line is to measured performance.
|
||||
|
||||
This modem can demodulate FSK signals that sound like [this sample](doc/lockdown_3s.wav); and is used to receive images from the [edge of space](https://github.com/projecthorus/wenet):
|
||||
|
||||
![HAB image from edge of space](doc/wenet_image.jpg)
|
||||
|
||||
## Credits
|
||||
|
||||
The Octave version of the modem was developed by David Rowe. Brady O'Brien ported the modem to C, and wrote the C/Octave tests. The modem is being maintained by David Rowe. Mark Jessop has helped improve the modem operation by testing against various balloon telemtry waveforms. Bill Cowley has developed the Log Likelihood Ratio (LLR) algorithms for 4FSK.
|
||||
|
||||
## Quickstart
|
||||
|
||||
1. Build codec2:
|
||||
```
|
||||
$ cd codec2 && mkdir build_linux && cmake .. && make
|
||||
```
|
||||
|
||||
1. Generate 1000 test bits, modulate them using 2FSK using a 8000 Hz sample rate, 100 bits/s, play on your sound card:
|
||||
```
|
||||
$ cd ~/codec2/build_linux/src
|
||||
$ ./fsk_get_test_bits - 1000 | ./fsk_mod 2 8000 100 1200 1200 - - | aplay -f S16_LE
|
||||
```
|
||||
The low tone frequency is 1200Hz, and the upper tone 1200 + 1200 = 2400Hz.
|
||||
|
||||
1. Add the demodulator and measure the bit error rate over 10,000 bits of 100 bit/s 2FSK:
|
||||
```
|
||||
$ ./fsk_get_test_bits - 10000 | ./fsk_mod 2 8000 100 1200 100 - - | ./fsk_demod 2 8000 100 - - | ./fsk_put_test_bits -
|
||||
<snip>
|
||||
[0099] BER 0.000, bits tested 9900, bit errors 0
|
||||
PASS
|
||||
```
|
||||
We get a Bit Error Rate (BER) of 0, as there is no channel noise to induce bit errors.
|
||||
|
||||
1. Same thing but this time with 4FSK, and less verbose output:
|
||||
```
|
||||
$ ./fsk_get_test_bits - 10000 | ./fsk_mod 4 8000 100 1200 100 - - | ./fsk_demod 4 8000 100 - - | ./fsk_put_test_bits -q -
|
||||
<snip>
|
||||
[0099] BER 0.000, bits tested 9900, bit errors 0
|
||||
PASS
|
||||
```
|
||||
|
||||
1. Lets add some channel noise:
|
||||
```
|
||||
$ ./fsk_get_test_bits - 10000 | ./fsk_mod 2 8000 100 1200 100 - - | ./cohpsk_ch - - -26 --Fs 8000 | ./fsk_demod 2 8000 100 - - | ./fsk_put_test_bits -b 0.015 -
|
||||
<snip>
|
||||
SNR3k(dB): -5.76 C/No: 29.0 PAPR: 3.0
|
||||
[0099] BER 0.010, bits tested 9900, bit errors 103
|
||||
PASS
|
||||
```
|
||||
The cohpsk_ch utility takes the FSK modulator signal, and adds calibrated noise to it (the -26 value specifies the noise). Try changing the noise level, and note how the Bit Error Rate (BER) changes. The BER is 0.01, which is right on theory for this sort of FSK demodulator at this SNR (2FSK non-coherent demodulator Eb/No=9dB).
|
||||
|
||||
The SNR is calculated using the signal power divided by the noise power in 3000 Hz. The C/No value is the same thing, but uses a noise bandwidth of 1 Hz. There is less noise power when you look at just 1Hz, so C/No is higher. Peak to Average Power ratio (PAPR) is 3dB as a FSK signal is just a single sine wave, and a sine wave peak is 3dB higher than it's average.
|
||||
|
||||
1. You can visualise the C modem operation with a companion python script, for example:
|
||||
```
|
||||
$ ./fsk_get_test_bits - 10000 | ./fsk_mod -p 10 4 8000 400 400 400 - - | ./fsk_demod -p 10 -t1 4 8000 400 - /dev/null 2>stats.txt
|
||||
$ python ../../octave/plot_fsk_demod_stats.py stats.txt
|
||||
```
|
||||
|
||||
1. Send some digital voice using FSK at 800 bits/s, and try the two 2400 bits/s FSK modes:
|
||||
```
|
||||
$ ./freedv_tx 800XA ../../raw/ve9qrp.raw - | ./freedv_rx 800XA - - -vv | aplay -f S16_LE
|
||||
$ ./freedv_tx 2400A ../../raw/ve9qrp.raw - | ./freedv_rx 2400A - - -vv | aplay -f S16_LE
|
||||
$ ./freedv_tx 2400B ../../raw/ve9qrp.raw - | ./freedv_rx 2400B - - -vv | aplay -f S16_LE
|
||||
```
|
||||
|
||||
1. LDPC encoded 4FSK, with framing:
|
||||
```
|
||||
$ cd ~/codec2/build_linux/src
|
||||
$ ./ldpc_enc /dev/zero - --code H_256_512_4 --testframes 200 |
|
||||
./framer - - 512 5186 | ./fsk_mod 4 8000 100 1000 100 - - |
|
||||
./cohpsk_ch - - -24 --Fs 8000 |
|
||||
./fsk_demod -s 4 8000 100 - - |
|
||||
./deframer - - 512 5186 |
|
||||
./ldpc_dec - /dev/null --code H_256_512_4 --testframes
|
||||
<snip>
|
||||
SNR3k(dB): -7.74 C/No: 27.0 PAPR: 3.0
|
||||
Raw Tbits: 100352 Terr: 6701 BER: 0.067
|
||||
Coded Tbits: 50176 Terr: 139 BER: 0.003
|
||||
Tpkts: 196 Tper: 4 PER: 0.020
|
||||
```
|
||||
In this example the unique word is the 16 bit sequence `5186`. See also several ctests using these application. Other codes are also available:
|
||||
```
|
||||
$ ./ldpc_enc --listcodes
|
||||
|
||||
H2064_516_sparse rate 0.80 (2580,2064)
|
||||
HRA_112_112 rate 0.50 (224,112)
|
||||
HRAb_396_504 rate 0.79 (504,396)
|
||||
H_256_768 rate 0.33 (768,256)
|
||||
H_256_512_4 rate 0.50 (512,256)
|
||||
HRAa_1536_512 rate 0.75 (2048,1536)
|
||||
H_128_256_5 rate 0.50 (256,128)
|
||||
```
|
||||
If you change the code you also need to change the `frameSizeBits` argument in `framer/deframer` (`512` in the example above).
|
||||
|
||||
1. The FSK/LDPC/framer steps above have been combined in a FreeDV API mode. See "FSK LDPC Raw Data Mode" in [README_data.md](README_data.md).
|
||||
|
||||
1. FSK modem C files in ```codec2/src```:
|
||||
|
||||
| File | Description |
|
||||
| --- | --- |
|
||||
| fsk.c/fsk.h | core FSK modem library |
|
||||
| fsk_mod.c | command line modulator |
|
||||
| fsk_demod.c | command line demodulator |
|
||||
| fsk_get_test_bits.c | source of test bits |
|
||||
| fsk_put_test_bits.c | test bit sync, counts bit errors and packet errors |
|
||||
| fsk_mod_ext_vco.c | modulator that uses an external FSK oscillator |
|
||||
| framer.c | adds a unique word to a frame of bits to implement frame sync for LDPC codewords |
|
||||
| deframer.c | locates and strips a unique word to implement frame sync for LDPC codewords |
|
||||
| tollr.c | converts bits to LLRs for testing LDPC framing |
|
||||
|
||||
1. GNU Octave files in ```codec2/octave```:
|
||||
|
||||
| File | Description |
|
||||
| --- | --- |
|
||||
| fsk_lib.m | Core FSK modem library |
|
||||
| fsk_lib_demo.m | A demonstration of fsk_lib, runs a single point BER test |
|
||||
| fsk_demod_file.m | Demodulates FSK signals from a file, useful for debugging FSK waveforms |
|
||||
| fsk_lock_down.m | simulations to support the "lock down" low SNR waveform |
|
||||
| tfsk.m | automated test that compares the C and Octave versions of the modem |
|
||||
| fsk_cml.m | Symbol rate experiments with FSK modem LLR estimation and LDPC |
|
||||
| fsk_cml_sam.m | Sample rate experiments with FSK modem LLR estimation and LDPC |
|
||||
| fsk_llr_plot.m | Plots curves from fsk_cml.m & fsk_cml_sam.m |
|
||||
| fsk_lib_ldpc_demo.m | CML library LLR routines and LDPC codes with fsk_lib.m |
|
||||
|
||||
You can run many of them from the Octave command line:
|
||||
```
|
||||
$ octave --no-gui
|
||||
octave:1> fsk_lib_demo
|
||||
```
|
||||
|
||||
1. A suite of automated ctests that exercise the C and Octave code:
|
||||
```
|
||||
$ cd ~/codec2/build_linux
|
||||
$ ctest -R test_fsk
|
||||
1/9 Test #39: test_fsk_lib ...................... Passed 3.37 sec
|
||||
3/9 Test #41: test_fsk_modem_octave_port ........ Passed 4.17 sec
|
||||
4/9 Test #42: test_fsk_modem_mod_demod .......... Passed 0.06 sec
|
||||
5/9 Test #43: test_fsk_2fsk_ber ................. Passed 0.24 sec
|
||||
6/9 Test #44: test_fsk_4fsk_ber ................. Passed 0.12 sec
|
||||
7/9 Test #45: test_fsk_4fsk_ber_negative_freq ... Passed 0.07 sec
|
||||
8/9 Test #46: test_fsk_4fsk_lockdown ............ Passed 2.84 sec
|
||||
9/9 Test #47: test_fsk_vhf_framer ............... Passed 0.06 sec
|
||||
```
|
||||
These are written in ```codec2/CmakeLists.txt```, inspect them to find out how we test the modem.
|
||||
|
||||
1. ```fsk_demod_file.m``` is useful for peering inside the modem, for example when debugging.
|
||||
```
|
||||
$ cd ~/codec2/build_linux/src
|
||||
$ ./fsk_get_test_bits - 1000 | ./fsk_mod 2 8000 100 1000 1000 - ../../octave/fsk.s16
|
||||
$ octave --no-gui
|
||||
octave:1> fsk_demod_file("fsk.s16",format="s16",8000,100,2)
|
||||
```
|
||||
|
||||
## Further Reading
|
||||
|
||||
Here are some links to projects and blog posts that use this modem:
|
||||
|
||||
1. [Horus Binary](https://github.com/projecthorus/horusbinary) High Altitude Balloon (HAB) telemetry protocol, 3 second updates, works at 7dB lower SNR that RTTY.
|
||||
1. [Testing HAB Telemetry, Horus binary waveform](http://www.rowetel.com/?p=5906)
|
||||
1. A really useful reference on a variety of modulation techniques from [Atlanta DSP](http://www.atlantarf.com/FSK_Modulation.php). I keep this handy when experimenting with modems.
|
||||
1. The [RTTY modem project](http://www.rowetel.com/?p=4629) that kicked off the FSK modem work.
|
||||
1. [Wenet](https://github.com/projecthorus/wenet) - high speed SSTV images from balloons at the edge of space
|
||||
1. [Wenet High speed SSTV images](http://www.rowetel.com/?p=5344)
|
||||
1. [FreeDV 2400A and 2400B](http://www.rowetel.com/?p=5219), digital speech for VHF/UHF radios.
|
||||
1. [HF FSK with Rpitx](http://www.rowetel.com/?p=6317), a zero hardware FSK transmitter using a Pi
|
||||
1. [Eb/No and SNR worked Example](http://www.rowetel.com/wordpress/?p=4621)
|
||||
1. [FSK LLR LDPC Code Experiments](https://github.com/drowe67/codec2/pull/129)
|
||||
1. [FreeDV API FSK LDPC Raw Data Mode](README_data.md)
|
||||
|
||||
|
|
@ -0,0 +1,246 @@
|
|||
# README_ofdm
|
||||
|
||||
An Orthogonal Frequency Division Multiplexed (OFDM) modem designed for digital voice over HF SSB. Typical configuration for FreeDV 700D is 700 bit/s voice, a rate 0.5 LDPC code, and 1400 bit/s raw data rate over the channel.
|
||||
|
||||
The OFDM modem was first implemented in GNU Octave, then ported to C. Algorithm development is generally easier in Octave, but for real time work we need the C version. Automated units tests ensure the operation of the Octave and C versions are identical.
|
||||
|
||||
## Credits
|
||||
|
||||
Steve, David, Don, Richard
|
||||
|
||||
## References
|
||||
|
||||
1. Spreadsheet describing the [waveform design](doc/modem_codec_frame_design.ods) The OFDM tab descrives the baseline 700D OFDM waveform.
|
||||
|
||||
1. This modem can be used for sending [raw data frames](README_data.md) over HF channels.
|
||||
|
||||
1. [Towards FreeDV 700D](https://www.rowetel.com/?p=5573)
|
||||
|
||||
1. [FreeDV 700D - First Over The Air Tests](https://www.rowetel.com/?p=5630)
|
||||
|
||||
1. [Steve Ports an OFDM modem from Octave to C](https://www.rowetel.com/?p=5824)
|
||||
|
||||
1. [Modems for HF Digital Voice Part 1](http://www.rowetel.com/wordpress/?p=5420)
|
||||
|
||||
1. [Modems for HF Digital Voice Part 2](http://www.rowetel.com/wordpress/?p=5448)
|
||||
|
||||
# Examples
|
||||
|
||||
Built as part of codec2-dev, see [README](README.md) for build instructions.
|
||||
|
||||
1. Generate 10 seconds of test frame bits, modulate, and play audio
|
||||
out of sound device (SoX v14.4.2):
|
||||
```
|
||||
$ build_linux/src$ ./ofdm_mod --in /dev/zero --testframes 10 | play --type s16 --rate 8000 --channels 2 -
|
||||
```
|
||||
|
||||
1. Generate 10 seconds of uncoded test frame bits, modulate, demodulate, count errors:
|
||||
```
|
||||
$ build_linux/src$ ./ofdm_mod --in /dev/zero --testframes 10 | ./ofdm_demod --out /dev/null --testframes --verbose 1 --log demod_dump.txt
|
||||
```
|
||||
Use Octave to look at plots of C modem operation:
|
||||
```
|
||||
$ cd ../../octave
|
||||
$ octave --no-gui
|
||||
octave:1> ofdm_demod_c("../build_linux/src/demod_dump.txt")
|
||||
```
|
||||
|
||||
1. Run Octave versions of mod and demod (called tx and rx to avoid namespace clashes in Octave):
|
||||
```
|
||||
$ cd ~/octave
|
||||
$ octave --no-gui
|
||||
octave:1> ofdm_tx("ofdm_test.raw","700D",10)
|
||||
octave:1> ofdm_rx("ofdm_test.raw")
|
||||
```
|
||||
The Octave modulator ofdm_tx can simulate channel impairments, for
|
||||
example AWGN noise at 4dB SNR:
|
||||
```
|
||||
octave:1> ofdm_tx("ofdm_test.raw", "700D", 10, 4)
|
||||
```
|
||||
The Octave versions use the same test frames as C so can interoperate.
|
||||
```
|
||||
build_linux/src$ ./ofdm_demod --in ../../octave/ofdm_test.raw --out /dev/null --testframes --verbose 1
|
||||
```
|
||||
|
||||
1. Run mod/demod with LDPC FEC; 60 seconds, 3dB SNR:
|
||||
```
|
||||
octave:6> ofdm_ldpc_tx('ofdm_test.raw',"700D",60,3)
|
||||
octave:7> ofdm_ldpc_rx('ofdm_test.raw',"700D")
|
||||
```
|
||||
C demodulator/LDPC decoder:
|
||||
```
|
||||
build_linux/src$ ./ofdm_demod --in ../../octave/ofdm_test.raw --out /dev/null --verbose 1 --testframes --ldpc
|
||||
```
|
||||
|
||||
1. Pass Codec 2 700C compressed speech through OFDM modem:
|
||||
```
|
||||
build_linux/src$ ./c2enc 700C ../../raw/ve9qrp_10s.raw - --bitperchar | ./ofdm_mod --ldpc | ./ofdm_demod --ldpc | ./c2dec 700C - - --bitperchar | play --type s16 --rate 8000 --channels 1 -
|
||||
```
|
||||
|
||||
1. Listen to signal through simulated fading channel in C:
|
||||
```
|
||||
build_linux/src$ ./c2enc 700C ../../raw/ve9qrp_10s.raw - --bitperchar | ./ofdm_mod --ldpc | ./cohpsk_ch - - -20 --Fs 8000 --slow -f -5 | aplay -f S16
|
||||
```
|
||||
|
||||
1. Run test frames through simulated channel in C:
|
||||
```
|
||||
build_linux/src$ ./ofdm_mod --in /dev/zero --ldpc --testframes 20 | ./cohpsk_ch - - -24 --Fs 8000 -f -10 --fast | ./ofdm_demod --out /dev/null --testframes --verbose 1 --ldpc
|
||||
```
|
||||
|
||||
1. Run codec voice through simulated fast fading channel, just where it starts to fall over:
|
||||
```
|
||||
build_linux/src$ ./c2enc 700C ../../raw/ve9qrp.raw - --bitperchar | ./ofdm_mod --ldpc | ./cohpsk_ch - - -24 --Fs 8000 -f -10 --fast | ./ofdm_demod --ldpc --verbose 1 | ./c2dec 700C - - --bitperchar | aplay -f S16
|
||||
```
|
||||
|
||||
1. FreeDV 1600 on the same channel conditions, roughly same quality at 8dB higher SNR:
|
||||
```
|
||||
build_linux/src$ ./freedv_tx 1600 ../../raw/ve9qrp_10s.raw - | ./cohpsk_ch - - -30 --Fs 8000 -f -10 --fast | ./freedv_rx 1600 - - | aplay -f S16
|
||||
```
|
||||
|
||||
1. Using FreeDV API test programs:
|
||||
```
|
||||
build_linux/src$ ./freedv_tx 700D ../../raw/hts1a.raw - --testframes | ./freedv_rx 700D - /dev/null --testframes
|
||||
build_linux/src$ ./freedv_tx 700D ../../raw/hts1a.raw - | ./freedv_rx 700D - - | aplay -f S16
|
||||
build_linux/src$ ./freedv_tx 700D ../../raw/ve9qrp.raw - | ./cohpsk_ch - - -26 --Fs 8000 -f -10 --fast | ./freedv_rx 700D - - | aplay -f S16
|
||||
```
|
||||
|
||||
## FreeDV 2020 extensions
|
||||
|
||||
1. 37 Carrier waveform with a (504,396) code:
|
||||
```
|
||||
build_linux/src$ nc=37; ./ofdm_mod --in /dev/zero --testframes 300 --mode 2020 --nc $nc --ldpc --verbose 1 | ./cohpsk_ch - - -22.5 --Fs 8000 -f 10 --ssbfilt 1 | ./ofdm_demod --out /dev/null --testframes --mode 2020 --nc $nc --verbose 1 --ldpc
|
||||
|
||||
SNR3k(dB): 4.05 C/No: 38.8 PAPR: 10.8
|
||||
BER......: 0.0348 Tbits: 1044792 Terrs: 36345
|
||||
Coded BER: 0.0094 Tbits: 820908 Terrs: 7717
|
||||
```
|
||||
|
||||
1. 20.5ms symbol period, 31 carrier waveform, (504,396) code, but only 312 data bits used, so we don't send unused data bits. This means we need less carriers (so more power per carrier), and code rate is increased slightly (sorta). Anyhoo, it works about 1.5dB better:
|
||||
```
|
||||
build_linux/src$ ./ofdm_mod --in /dev/zero --testframes 300 --mode 2020 --ldpc 1 --verbose 1 -p 312 | ./cohpsk_ch - - -22 --Fs 8000 -f 10 --ssbfilt 1 | ./ofdm_demod --out /dev/null --testframes --mode 2020 --verbose 1 --ldpc -p 312
|
||||
|
||||
SNR3k(dB): 2.21 C/No: 37.0 PAPR: 9.6
|
||||
BER......: 0.0505 Tbits: 874020 Terrs: 44148
|
||||
Coded BER: 0.0096 Tbits: 649272 Terrs: 6230
|
||||
```
|
||||
|
||||
## Acquisition tests
|
||||
|
||||
1. Acquisition (getting sync) can be problematic in fading channels. Some special tests have been developed, that measure acquisition time on off air 700D samples at different time offsets:
|
||||
```
|
||||
octave:61> ofdm_ldpc_rx("../wav/vk2tpm_004.wav", "700D", "", 5, 4)
|
||||
build_linux/src$ ./ofdm_demod --in ../../wav/vk2tpm_004.wav --out /dev/null --verbose 2 --ldpc --start_secs 5 --len_secs 4
|
||||
```
|
||||
|
||||
1. Different time offsets effectively tests the ability to sync on fading channel in different states. Stats for a series of these tests can be obtained with:
|
||||
```
|
||||
octave:61> ofdm_time_sync("../wav/vk2tpm_004.wav", 30)
|
||||
<snip>
|
||||
pass: 30 fails: 0 mean: 1.35 var 0.51
|
||||
```
|
||||
|
||||
## Octave Acceptance Tests
|
||||
|
||||
Here are some useful tests for the Octave, uncoded modem.
|
||||
|
||||
The rate 1/2 LDPC code can correct up to about 10% raw BER, so a good test is to run the modem at Eb/No operating points that produce just less that BER=0.1. The BER2 measure truncates the effect of any start up transients, e.g. as the frequency offset is tracked out.
|
||||
|
||||
1. HF Multipath:
|
||||
```
|
||||
octave:580> ofdm_tx("ofdm_test.raw","700D",60,2,'mpm',20)
|
||||
octave:581> ofdm_rx("ofdm_test.raw")
|
||||
BER2.: 0.0803 Tbits: 84728 Terrs: 6803
|
||||
```
|
||||
|
||||
1. AWGN:
|
||||
```
|
||||
octave:582> ofdm_tx("ofdm_test.raw","700D",60,-2,'awgn')
|
||||
octave:583> ofdm_rx("ofdm_test.raw")
|
||||
BER2.: 0.0885 Tbits: 84252 Terrs: 7459
|
||||
```
|
||||
|
||||
## C Acceptance Tests
|
||||
|
||||
Here are some useful tests for the LDPC coded C version of the modem, useful to verify any changes.
|
||||
|
||||
1. AWGN channel, -2dB:
|
||||
```
|
||||
./ofdm_mod --in /dev/zero --ldpc --testframes 60 --txbpf | ./cohpsk_ch - - -20 --Fs 8000 -f -10 | ./ofdm_demod --out /dev/null --testframes --verbose 1 --ldpc
|
||||
|
||||
SNR3k(dB): -1.85 C/No: 32.9 PAPR: 9.8
|
||||
BER......: 0.0815 Tbits: 98532 Terrs: 8031
|
||||
Coded BER: 0.0034 Tbits: 46368 Terrs: 157
|
||||
```
|
||||
|
||||
1. Fading HF channel:
|
||||
```
|
||||
./ofdm_mod --in /dev/zero --ldpc --testframes 60 --txbpf | ./cohpsk_ch - - -24 --Fs 8000 -f -10 --fast | ./ofdm_demod --out /dev/null --testframes --verbose 1 --ldpc
|
||||
|
||||
SNR3k(dB): 2.15 C/No: 36.9 PAPR: 9.8
|
||||
BER......: 0.1015 Tbits: 88774 Terrs: 9012
|
||||
Coded BER: 0.0445 Tbits: 41776 Terrs: 1860
|
||||
```
|
||||
|
||||
Note: 10% Raw BER operating point on both channels, as per design.
|
||||
|
||||
# C Code
|
||||
|
||||
| File | Description |
|
||||
| :-- | :-- |
|
||||
| ofdm.c | OFDM library |
|
||||
| codec2_ofdm.h | API header file for OFDM library |
|
||||
| ofdm_get_test_bits | Generate OFDM test frames |
|
||||
| ofdm_mod | OFDM modulator command line program |
|
||||
| ofdm_demod | OFDM demodulator command line program, supports uncoded (raw) and LDPC coded test frames, LDPC decoding of codec data, and can output LLRs to external LDPC decoder |
|
||||
| ofdm_put_test_bits | Measure BER in OFDM test frames |
|
||||
| unittest/tofdm | Run C port of modem to compare with octave version (see octave/tofdm) |
|
||||
| cohpsk_ch | From COHPSK modem development, useful C channel simulator |
|
||||
|
||||
# Octave Scripts
|
||||
|
||||
| File | Description |
|
||||
| :-- | :-- |
|
||||
| ofdm_lib | OFDM library |
|
||||
| ofdm_dev | Used for modem development, run various simulations |
|
||||
| ofdm_tx | Modulate test frames to a file of sample, cam add channel impairments |
|
||||
| ofdm_rx | Demod from a sample file and count errors |
|
||||
| tofdm | Compares Octave and C ports of modem |
|
||||
| ofdm_ldpc_tx | OFDM modulator with LDPC FEC |
|
||||
| ofdm_ldpc_rx | OFDM demodulator with LDPC FEC |
|
||||
|
||||
## Specifications
|
||||
|
||||
Nominal FreeDV 700D configuration:
|
||||
|
||||
| Parameter | Value |
|
||||
| :-- | :-- |
|
||||
| Modem | OFDM, pilot assisted coherent QPSK |
|
||||
| Payload bits/s | 700 |
|
||||
| Text bits/s | 25 (note 4) |
|
||||
| Unique Word | 10 bits |
|
||||
| Carriers | 17 |
|
||||
| RF bandwidth | 944 Hz |
|
||||
| Symbol period | 18ms
|
||||
| Cyclic Prefix | 2ms (note 1)
|
||||
| Pilot rate | 1 in every 8 symbols |
|
||||
| Frame Period | 160ms |
|
||||
| FEC | rate 1/2 (224,112) LDPC |
|
||||
| Operating point | |
|
||||
| AWGN | Eb/No -0.5dB SNR(3000Hz): -2.5dB (note 2) |
|
||||
| HF Multipath | Eb/No 4.0dB SNR(3000Hz): 2.0dB (note 3) |
|
||||
| Freq offset | +/- 60 Hz (sync range) |
|
||||
| Freq drift | +/- 0.2 Hz/s (for 0.5 dB loss) |
|
||||
| Sample clock error | 1000 ppm |
|
||||
|
||||
Notes:
|
||||
|
||||
1. Modem can cope with up to 2ms of multipath
|
||||
1.
|
||||
```
|
||||
Ideal SNR(3000) = Eb/No + 10*log10(Rb/B)
|
||||
= -1 + 10*log10(1400/3000)
|
||||
= -4.3 dB
|
||||
```
|
||||
So we have about 1.8dB overhead for synchronisation, implementation loss, and the text channel.
|
||||
1. "CCIR Poor" HF Multipath channel used for testing is two path, 1Hz Doppler, 1ms delay.
|
||||
1. The text channel is an auxillary channel, unprotected by FEC, that typically carries callsign/location information for Ham stations.
|
|
@ -0,0 +1,571 @@
|
|||
# This is the CMakeCache file.
|
||||
# For build in directory: /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
# It was generated by CMake: /usr/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Build shared library. Set to OFF for static library.
|
||||
BUILD_SHARED_LIBS:BOOL=ON
|
||||
|
||||
//Build the testing tree.
|
||||
BUILD_TESTING:BOOL=ON
|
||||
|
||||
//Path to a program.
|
||||
BZRCOMMAND:FILEPATH=BZRCOMMAND-NOTFOUND
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||
|
||||
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||
// MinSizeRel ...
|
||||
CMAKE_BUILD_TYPE:STRING=
|
||||
|
||||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//C compiler
|
||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-8
|
||||
|
||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-8
|
||||
|
||||
//Flags used by the C compiler during all build types.
|
||||
CMAKE_C_FLAGS:STRING=
|
||||
|
||||
//Flags used by the C compiler during DEBUG builds.
|
||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the C compiler during MINSIZEREL builds.
|
||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELEASE builds.
|
||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Flags used by the linker during all build types.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during DEBUG builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during MINSIZEREL builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during RELEASE builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Enable/Disable output of compile commands during generation.
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
||||
|
||||
//User executables (bin)
|
||||
CMAKE_INSTALL_BINDIR:PATH=bin
|
||||
|
||||
//Read-only architecture-independent data (DATAROOTDIR)
|
||||
CMAKE_INSTALL_DATADIR:PATH=
|
||||
|
||||
//Read-only architecture-independent data root (share)
|
||||
CMAKE_INSTALL_DATAROOTDIR:PATH=share
|
||||
|
||||
//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
|
||||
CMAKE_INSTALL_DOCDIR:PATH=
|
||||
|
||||
//C header files (include)
|
||||
CMAKE_INSTALL_INCLUDEDIR:PATH=include
|
||||
|
||||
//Info documentation (DATAROOTDIR/info)
|
||||
CMAKE_INSTALL_INFODIR:PATH=
|
||||
|
||||
//Object code libraries (lib)
|
||||
CMAKE_INSTALL_LIBDIR:PATH=lib
|
||||
|
||||
//Program executables (libexec)
|
||||
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec
|
||||
|
||||
//Locale-dependent data (DATAROOTDIR/locale)
|
||||
CMAKE_INSTALL_LOCALEDIR:PATH=
|
||||
|
||||
//Modifiable single-machine data (var)
|
||||
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var
|
||||
|
||||
//Man documentation (DATAROOTDIR/man)
|
||||
CMAKE_INSTALL_MANDIR:PATH=
|
||||
|
||||
//C header files for non-gcc (/usr/include)
|
||||
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/opt/install/codec2
|
||||
|
||||
//Run-time variable data (LOCALSTATEDIR/run)
|
||||
CMAKE_INSTALL_RUNSTATEDIR:PATH=
|
||||
|
||||
//System admin executables (sbin)
|
||||
CMAKE_INSTALL_SBINDIR:PATH=sbin
|
||||
|
||||
//Modifiable architecture-independent data (com)
|
||||
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com
|
||||
|
||||
//Read-only single-machine data (etc)
|
||||
CMAKE_INSTALL_SYSCONFDIR:PATH=etc
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// all build types.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// DEBUG builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// MINSIZEREL builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELEASE builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELWITHDEBINFO builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||
|
||||
//Minimum OS X deployment version
|
||||
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=codec2
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during all build types.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during all build types.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Path to the coverage program that CTest uses for performing coverage
|
||||
// inspection
|
||||
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov
|
||||
|
||||
//Extra command line flags to pass to the coverage tool
|
||||
COVERAGE_EXTRA_FLAGS:STRING=-l
|
||||
|
||||
//How many times to retry timed-out CTest submissions.
|
||||
CTEST_SUBMIT_RETRY_COUNT:STRING=3
|
||||
|
||||
//How long to wait between timed-out CTest submissions.
|
||||
CTEST_SUBMIT_RETRY_DELAY:STRING=5
|
||||
|
||||
//Path to a program.
|
||||
CVSCOMMAND:FILEPATH=CVSCOMMAND-NOTFOUND
|
||||
|
||||
//Options passed to the cvs update command.
|
||||
CVS_UPDATE_OPTIONS:STRING=-d -A -P
|
||||
|
||||
//Maximum time allowed before CTest will kill the test.
|
||||
DART_TESTING_TIMEOUT:STRING=1500
|
||||
|
||||
//Path to a program.
|
||||
GITCOMMAND:FILEPATH=/usr/bin/git
|
||||
|
||||
//Git command line client
|
||||
GIT_EXECUTABLE:FILEPATH=/usr/bin/git
|
||||
|
||||
//Path to a program.
|
||||
HGCOMMAND:FILEPATH=HGCOMMAND-NOTFOUND
|
||||
|
||||
//Install example code.
|
||||
INSTALL_EXAMPLES:BOOL=OFF
|
||||
|
||||
//Build codec2 with LPCNet support.
|
||||
LPCNET:BOOL=OFF
|
||||
|
||||
//Location of lpcnet build tree.
|
||||
LPCNET_BUILD_DIR:PATH=FALSE
|
||||
|
||||
//Command to build the project
|
||||
MAKECOMMAND:STRING=/usr/bin/cmake --build . --config "${CTEST_CONFIGURATION_TYPE}" -- -i
|
||||
|
||||
//Path to the memory checking command, used for memory error detection.
|
||||
MEMORYCHECK_COMMAND:FILEPATH=MEMORYCHECK_COMMAND-NOTFOUND
|
||||
|
||||
//File that contains suppressions for the memory checker
|
||||
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=
|
||||
|
||||
//Path to a program.
|
||||
P4COMMAND:FILEPATH=P4COMMAND-NOTFOUND
|
||||
|
||||
//Path to scp command, used by CTest for submitting results to
|
||||
// a Dart server
|
||||
SCPCOMMAND:FILEPATH=/usr/bin/scp
|
||||
|
||||
//Name of the computer/site where compile is being run
|
||||
SITE:STRING=chiliagon
|
||||
|
||||
//Path to the SLURM sbatch executable
|
||||
SLURM_SBATCH_COMMAND:FILEPATH=SLURM_SBATCH_COMMAND-NOTFOUND
|
||||
|
||||
//Path to the SLURM srun executable
|
||||
SLURM_SRUN_COMMAND:FILEPATH=SLURM_SRUN_COMMAND-NOTFOUND
|
||||
|
||||
//Path to a program.
|
||||
SVNCOMMAND:FILEPATH=/usr/bin/svn
|
||||
|
||||
//Build unittest binaries.
|
||||
UNITTEST:BOOL=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
codec2_BINARY_DIR:STATIC=/home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
//Dependencies for the target
|
||||
codec2_LIB_DEPENDS:STATIC=general;m;
|
||||
|
||||
//Value Computed by CMake
|
||||
codec2_SOURCE_DIR:STATIC=/home/sh/Downloads/hackrf/codec2
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//ADVANCED property for variable: BZRCOMMAND
|
||||
BZRCOMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/sh/Downloads/hackrf/codec2/build_linux
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=13
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
|
||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||
//ADVANCED property for variable: CMAKE_CTEST_COMMAND
|
||||
CMAKE_CTEST_COMMAND-ADVANCED:INTERNAL=1
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
||||
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
||||
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//Whether to issue deprecation errors for macros and functions.
|
||||
CMAKE_ERROR_DEPRECATED:INTERNAL=FALSE
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||
//Generator instance identifier.
|
||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Have symbol pthread_create
|
||||
CMAKE_HAVE_LIBC_CREATE:INTERNAL=
|
||||
//Have library pthreads
|
||||
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
|
||||
//Have library pthread
|
||||
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
|
||||
//Have include pthread.h
|
||||
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/sh/Downloads/hackrf/codec2
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
|
||||
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=0
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
|
||||
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
|
||||
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
|
||||
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
|
||||
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=0
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
|
||||
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
|
||||
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=0
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
|
||||
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
|
||||
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
|
||||
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
|
||||
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
|
||||
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
|
||||
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
|
||||
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
|
||||
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
|
||||
//Install .so files without execute permission.
|
||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
|
||||
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=4
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//Platform information initialized
|
||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.13
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//Suppress errors that are meant for the author of the CMakeLists.txt
|
||||
// files.
|
||||
CMAKE_SUPPRESS_DEVELOPER_ERRORS:INTERNAL=TRUE
|
||||
//Suppress Warnings that are meant for the author of the CMakeLists.txt
|
||||
// files.
|
||||
CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=TRUE
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Whether to issue warnings for deprecated functionality.
|
||||
CMAKE_WARN_DEPRECATED:INTERNAL=FALSE
|
||||
//Test COMPILER_SUPPORTS_GNU11
|
||||
COMPILER_SUPPORTS_GNU11:INTERNAL=1
|
||||
//Test COMPILER_SUPPORTS_GNU99
|
||||
COMPILER_SUPPORTS_GNU99:INTERNAL=1
|
||||
//ADVANCED property for variable: COVERAGE_COMMAND
|
||||
COVERAGE_COMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: COVERAGE_EXTRA_FLAGS
|
||||
COVERAGE_EXTRA_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_COUNT
|
||||
CTEST_SUBMIT_RETRY_COUNT-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_DELAY
|
||||
CTEST_SUBMIT_RETRY_DELAY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CVSCOMMAND
|
||||
CVSCOMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CVS_UPDATE_OPTIONS
|
||||
CVS_UPDATE_OPTIONS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: DART_TESTING_TIMEOUT
|
||||
DART_TESTING_TIMEOUT-ADVANCED:INTERNAL=1
|
||||
//Details about finding Git
|
||||
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v2.20.1()]
|
||||
//Details about finding Threads
|
||||
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
|
||||
//ADVANCED property for variable: GITCOMMAND
|
||||
GITCOMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: GIT_EXECUTABLE
|
||||
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
|
||||
//Have symbol atan2
|
||||
HAVE_ATAN2:INTERNAL=
|
||||
//Have symbol ceil
|
||||
HAVE_CEIL:INTERNAL=
|
||||
//Have symbol cos
|
||||
HAVE_COS:INTERNAL=
|
||||
//Have symbol floor
|
||||
HAVE_FLOOR:INTERNAL=
|
||||
//Have symbol getopt
|
||||
HAVE_GETOPT:INTERNAL=
|
||||
//Have symbol log10
|
||||
HAVE_LOG10:INTERNAL=
|
||||
//Have symbol pow
|
||||
HAVE_POW:INTERNAL=
|
||||
//Have symbol round
|
||||
HAVE_ROUND:INTERNAL=
|
||||
//Have symbol sin
|
||||
HAVE_SIN:INTERNAL=
|
||||
//Have symbol sqrt
|
||||
HAVE_SQRT:INTERNAL=
|
||||
//Have include stdlib.h
|
||||
HAVE_STDLIB_H:INTERNAL=1
|
||||
//Have include string.h
|
||||
HAVE_STRING_H:INTERNAL=1
|
||||
//ADVANCED property for variable: HGCOMMAND
|
||||
HGCOMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: MAKECOMMAND
|
||||
MAKECOMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: MEMORYCHECK_COMMAND
|
||||
MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: MEMORYCHECK_SUPPRESSIONS_FILE
|
||||
MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: P4COMMAND
|
||||
P4COMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: SCPCOMMAND
|
||||
SCPCOMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: SITE
|
||||
SITE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: SLURM_SBATCH_COMMAND
|
||||
SLURM_SBATCH_COMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: SLURM_SRUN_COMMAND
|
||||
SLURM_SRUN_COMMAND-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: SVNCOMMAND
|
||||
SVNCOMMAND-ADVANCED:INTERNAL=1
|
||||
//CMAKE_INSTALL_PREFIX during last run
|
||||
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/opt/install/codec2
|
||||
//Have symbol __GNU_LIBRARY__
|
||||
_GNU_SOURCE:INTERNAL=1
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "8.3.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-8")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-8")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,15 @@
|
|||
set(CMAKE_HOST_SYSTEM "Linux-4.19.0-6-amd64")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "4.19.0-6-amd64")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-4.19.0-6-amd64")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "4.19.0-6-amd64")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
@ -0,0 +1,623 @@
|
|||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800)
|
||||
# define COMPILER_ID "XL"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__)
|
||||
# if (defined(_MSC_VER) && !defined(__clang__)) \
|
||||
|| (defined(__ibmxl__) || defined(__IBMC__))
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/sh/Downloads/hackrf/codec2")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/sh/Downloads/hackrf/codec2/build_linux")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,380 @@
|
|||
Determining if the floor exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_dd8dd/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_dd8dd.dir/build.make CMakeFiles/cmTC_dd8dd.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_dd8dd
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dd8dd.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o -o cmTC_dd8dd
|
||||
/usr/bin/ld: CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `floor'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_dd8dd.dir/build.make:87: cmTC_dd8dd] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_dd8dd/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef floor
|
||||
return ((int*)(&floor))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the ceil exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_6c64a/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_6c64a.dir/build.make CMakeFiles/cmTC_6c64a.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_6c64a
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6c64a.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o -o cmTC_6c64a
|
||||
/usr/bin/ld: CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `ceil'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_6c64a.dir/build.make:87: cmTC_6c64a] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_6c64a/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef ceil
|
||||
return ((int*)(&ceil))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the pow exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_b7d1e/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_b7d1e.dir/build.make CMakeFiles/cmTC_b7d1e.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_b7d1e
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b7d1e.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o -o cmTC_b7d1e
|
||||
/usr/bin/ld: CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pow'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_b7d1e.dir/build.make:87: cmTC_b7d1e] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_b7d1e/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef pow
|
||||
return ((int*)(&pow))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the sqrt exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_5c615/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_5c615.dir/build.make CMakeFiles/cmTC_5c615.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_5c615
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5c615.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o -o cmTC_5c615
|
||||
/usr/bin/ld: CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `sqrt'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_5c615.dir/build.make:87: cmTC_5c615] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_5c615/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef sqrt
|
||||
return ((int*)(&sqrt))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the sin exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_f86c3/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_f86c3.dir/build.make CMakeFiles/cmTC_f86c3.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_f86c3
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f86c3.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o -o cmTC_f86c3
|
||||
/usr/bin/ld: CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `sin'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_f86c3.dir/build.make:87: cmTC_f86c3] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_f86c3/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef sin
|
||||
return ((int*)(&sin))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the cos exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_2509b/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_2509b.dir/build.make CMakeFiles/cmTC_2509b.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_2509b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2509b.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o -o cmTC_2509b
|
||||
/usr/bin/ld: CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `cos'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_2509b.dir/build.make:87: cmTC_2509b] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_2509b/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef cos
|
||||
return ((int*)(&cos))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the atan2 exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_c93e3/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_c93e3.dir/build.make CMakeFiles/cmTC_c93e3.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_c93e3
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c93e3.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o -o cmTC_c93e3
|
||||
/usr/bin/ld: CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `atan2'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_c93e3.dir/build.make:87: cmTC_c93e3] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_c93e3/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef atan2
|
||||
return ((int*)(&atan2))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the log10 exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_6a5ee/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_6a5ee.dir/build.make CMakeFiles/cmTC_6a5ee.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_6a5ee
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a5ee.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o -o cmTC_6a5ee
|
||||
/usr/bin/ld: CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `log10'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_6a5ee.dir/build.make:87: cmTC_6a5ee] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_6a5ee/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef log10
|
||||
return ((int*)(&log10))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the round exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_4b5c4/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_4b5c4.dir/build.make CMakeFiles/cmTC_4b5c4.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_4b5c4
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4b5c4.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o -o cmTC_4b5c4
|
||||
/usr/bin/ld: CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `round'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_4b5c4.dir/build.make:87: cmTC_4b5c4] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_4b5c4/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef round
|
||||
return ((int*)(&round))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the getopt exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_645d4/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_645d4.dir/build.make CMakeFiles/cmTC_645d4.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_645d4.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_645d4.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
|
||||
/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘getopt’ undeclared (first use in this function)
|
||||
return ((int*)(&getopt))[argc];
|
||||
^~~~~~
|
||||
/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
|
||||
make[1]: *** [CMakeFiles/cmTC_645d4.dir/build.make:66: CMakeFiles/cmTC_645d4.dir/CheckSymbolExists.c.o] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_645d4/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <math.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef getopt
|
||||
return ((int*)(&getopt))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the pthread_create exist failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_1dce1/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_1dce1.dir/build.make CMakeFiles/cmTC_1dce1.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_1dce1
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1dce1.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o -o cmTC_1dce1
|
||||
/usr/bin/ld: CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o: in function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_1dce1.dir/build.make:87: cmTC_1dce1] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_1dce1/fast] Error 2
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <pthread.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef pthread_create
|
||||
return ((int*)(&pthread_create))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the function pthread_create exists in the pthreads failed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_2446c/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_2446c.dir/build.make CMakeFiles/cmTC_2446c.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_2446c.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2446c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_2446c
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2446c.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_2446c.dir/CheckFunctionExists.c.o -o cmTC_2446c -lpthreads
|
||||
/usr/bin/ld: cannot find -lpthreads
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_2446c.dir/build.make:87: cmTC_2446c] Error 1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
make: *** [Makefile:121: cmTC_2446c/fast] Error 2
|
||||
|
||||
|
|
@ -0,0 +1,314 @@
|
|||
The system is: Linux - 4.19.0-6-amd64 - x86_64
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: /usr/bin/cc
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||
|
||||
The C compiler identification is GNU, found in "/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/3.13.4/CompilerIdC/a.out"
|
||||
|
||||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_1ddae/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_1ddae.dir/build.make CMakeFiles/cmTC_1ddae.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_1ddae.dir/testCCompiler.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_1ddae.dir/testCCompiler.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_1ddae
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1ddae.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_1ddae.dir/testCCompiler.c.o -o cmTC_1ddae
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_832d9/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_832d9.dir/build.make CMakeFiles/cmTC_832d9.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c
|
||||
Linking C executable cmTC_832d9
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_832d9.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o -o cmTC_832d9
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 8.3.0 (Debian 8.3.0-6)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_832d9' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/user/1000/ccEIB3tk.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_832d9 /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_832d9' '-mtune=generic' '-march=x86-64'
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_832d9/fast"]
|
||||
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_832d9.dir/build.make CMakeFiles/cmTC_832d9.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Linking C executable cmTC_832d9]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_832d9.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o -o cmTC_832d9 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 8.3.0 (Debian 8.3.0-6) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_832d9' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/user/1000/ccEIB3tk.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_832d9 /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/user/1000/ccEIB3tk.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_832d9] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o] ==> ignore
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..]
|
||||
arg [CMakeFiles/cmTC_832d9.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8] ==> [/usr/lib/gcc/x86_64-linux-gnu/8]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib]
|
||||
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
|
||||
|
||||
Detecting C [-std=c11] compiler features compiled with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_216c5/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_216c5.dir/build.make CMakeFiles/cmTC_216c5.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_216c5.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_216c5.dir/feature_tests.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_216c5
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_216c5.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_216c5.dir/feature_tests.c.o -o cmTC_216c5
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:1c_restrict
|
||||
Feature record: C_FEATURE:1c_static_assert
|
||||
Feature record: C_FEATURE:1c_variadic_macros
|
||||
|
||||
|
||||
Detecting C [-std=c99] compiler features compiled with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_0d4de/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_0d4de.dir/build.make CMakeFiles/cmTC_0d4de.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_0d4de.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_0d4de.dir/feature_tests.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_0d4de
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0d4de.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_0d4de.dir/feature_tests.c.o -o cmTC_0d4de
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:1c_restrict
|
||||
Feature record: C_FEATURE:0c_static_assert
|
||||
Feature record: C_FEATURE:1c_variadic_macros
|
||||
|
||||
|
||||
Detecting C [-std=c90] compiler features compiled with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_124f1/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_124f1.dir/build.make CMakeFiles/cmTC_124f1.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_124f1.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_124f1.dir/feature_tests.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_124f1
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_124f1.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_124f1.dir/feature_tests.c.o -o cmTC_124f1
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:0c_restrict
|
||||
Feature record: C_FEATURE:0c_static_assert
|
||||
Feature record: C_FEATURE:0c_variadic_macros
|
||||
Performing C SOURCE FILE Test COMPILER_SUPPORTS_GNU11 succeeded with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_cf9e6/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_cf9e6.dir/build.make CMakeFiles/cmTC_cf9e6.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_cf9e6.dir/src.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -DCOMPILER_SUPPORTS_GNU11 -std=gnu11 -o CMakeFiles/cmTC_cf9e6.dir/src.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_cf9e6
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cf9e6.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -DCOMPILER_SUPPORTS_GNU11 -rdynamic CMakeFiles/cmTC_cf9e6.dir/src.c.o -o cmTC_cf9e6
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
int main(void) { return 0; }
|
||||
Performing C SOURCE FILE Test COMPILER_SUPPORTS_GNU99 succeeded with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_31e8b/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_31e8b.dir/build.make CMakeFiles/cmTC_31e8b.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_31e8b.dir/src.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -DCOMPILER_SUPPORTS_GNU99 -std=gnu99 -o CMakeFiles/cmTC_31e8b.dir/src.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_31e8b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31e8b.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -DCOMPILER_SUPPORTS_GNU99 -rdynamic CMakeFiles/cmTC_31e8b.dir/src.c.o -o cmTC_31e8b
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
int main(void) { return 0; }
|
||||
Determining if files stdlib.h exist passed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_03207/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_03207.dir/build.make CMakeFiles/cmTC_03207.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_03207.dir/HAVE_STDLIB_H.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_03207.dir/HAVE_STDLIB_H.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CheckIncludeFiles/HAVE_STDLIB_H.c
|
||||
Linking C executable cmTC_03207
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_03207.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_03207.dir/HAVE_STDLIB_H.c.o -o cmTC_03207
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if files string.h exist passed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_e3f48/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_e3f48.dir/build.make CMakeFiles/cmTC_e3f48.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_e3f48.dir/HAVE_STRING_H.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_e3f48.dir/HAVE_STRING_H.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CheckIncludeFiles/HAVE_STRING_H.c
|
||||
Linking C executable cmTC_e3f48
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e3f48.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_e3f48.dir/HAVE_STRING_H.c.o -o cmTC_e3f48
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the __GNU_LIBRARY__ exist passed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_969e3/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_969e3.dir/build.make CMakeFiles/cmTC_969e3.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_969e3.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_969e3.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_969e3
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_969e3.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_969e3.dir/CheckSymbolExists.c.o -o cmTC_969e3
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <features.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef __GNU_LIBRARY__
|
||||
return ((int*)(&__GNU_LIBRARY__))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the include file pthread.h exists passed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_0e7c0/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_0e7c0.dir/build.make CMakeFiles/cmTC_0e7c0.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_0e7c0.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_0e7c0.dir/CheckIncludeFile.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_0e7c0
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0e7c0.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_0e7c0.dir/CheckIncludeFile.c.o -o cmTC_0e7c0
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function pthread_create exists in the pthread passed with the following output:
|
||||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_b8dfa/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_b8dfa.dir/build.make CMakeFiles/cmTC_b8dfa.dir/build
|
||||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_b8dfa.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_b8dfa.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_b8dfa
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b8dfa.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_b8dfa.dir/CheckFunctionExists.c.o -o cmTC_b8dfa -lpthread
|
||||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
# Hashes of file build rules.
|
||||
7c7dfb587d456c225070aad6d4774a2c CMakeFiles/Continuous
|
||||
11844d0b58c459d3f36a2c0f0f13e8f1 CMakeFiles/ContinuousBuild
|
||||
d96d2a7ab144609a2be5ebf2cf7024be CMakeFiles/ContinuousConfigure
|
||||
19c67e8cd461a1340c70de888ae017c1 CMakeFiles/ContinuousCoverage
|
||||
d3be82eee8132bc4a8f669f976bbc8e8 CMakeFiles/ContinuousMemCheck
|
||||
87b0fbd676b729b1fc58faab74263a5f CMakeFiles/ContinuousStart
|
||||
468b5267626cb347270dc32893c9c3c2 CMakeFiles/ContinuousSubmit
|
||||
7d2cdc4cb0df64f4547cf13dbebee0fa CMakeFiles/ContinuousTest
|
||||
85ced87e901d8daf28c29e175e60ea99 CMakeFiles/ContinuousUpdate
|
||||
df392eb54c865301c8527f36d05e8b2d CMakeFiles/Experimental
|
||||
27d3850f918a9816dcadc90e37cf8578 CMakeFiles/ExperimentalBuild
|
||||
8f29e8a48947c80cb2f52c89bbefcfe6 CMakeFiles/ExperimentalConfigure
|
||||
ddc7ce17306c478b2bfcd561445b2f9c CMakeFiles/ExperimentalCoverage
|
||||
9d8c1adf4182e1b4771f98b1a479c2e4 CMakeFiles/ExperimentalMemCheck
|
||||
2da7cdc534668bda44615c833e984bef CMakeFiles/ExperimentalStart
|
||||
a0d015a3c5a29611e444b20e80f0efac CMakeFiles/ExperimentalSubmit
|
||||
e2c873dd97394d864ce1ba319f2c44c7 CMakeFiles/ExperimentalTest
|
||||
b886d29641efe9c6142554137416ec7b CMakeFiles/ExperimentalUpdate
|
||||
ddda079ac1c2f2be072446a1fc540266 CMakeFiles/Nightly
|
||||
f2990e4c67de97767cf93674db260653 CMakeFiles/NightlyBuild
|
||||
1a0ca39e1bc7e6b5148f64c27ef69bd3 CMakeFiles/NightlyConfigure
|
||||
b8870f620396ddfc0156c323b565d674 CMakeFiles/NightlyCoverage
|
||||
996808e72c1af0cbb1937df7d569a06c CMakeFiles/NightlyMemCheck
|
||||
119279ccd8eb9897dfe18e1afa790680 CMakeFiles/NightlyMemoryCheck
|
||||
69dfdabc976a6c05e592c8ced7bb3439 CMakeFiles/NightlyStart
|
||||
ac576456475853dae621396fc2c8b955 CMakeFiles/NightlySubmit
|
||||
a1135a96c4573d829189818b6cdc260d CMakeFiles/NightlyTest
|
||||
63ca02bc64f3f3b9932311ef45ff98e8 CMakeFiles/NightlyUpdate
|
||||
a8f1a91997b82f40a588ba7ebf5bbdc6 src/codebook.c
|
||||
8da91890bd96ec6db12ae69342986ae9 src/codebookd.c
|
||||
b109cbebb4fa303397d7935cdb38a76e src/codebookge.c
|
||||
d6392c6d9a85b253f662b07783eb6927 src/codebookjvm.c
|
||||
91095f198e2009a3e3b9045858112473 src/codebooklspmelvq.c
|
||||
d3da0d232ce8f81825bf8c397af60579 src/codebookmel.c
|
||||
c027462884f527c0b94b9887503195c5 src/codebooknewamp1.c
|
||||
525689982bbf5718618586b912c561ef src/codebooknewamp1_energy.c
|
||||
59ecb79a2132f3a3e085942ab74dc994 src/codebooknewamp2.c
|
||||
8af163fc838995589c524aab35db69d1 src/codebooknewamp2_energy.c
|
|
@ -0,0 +1,6 @@
|
|||
/* */
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
int main(void){return 0;}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
/* */
|
||||
#include <string.h>
|
||||
|
||||
|
||||
int main(void){return 0;}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for Continuous.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/Continuous.dir/progress.make
|
||||
|
||||
CMakeFiles/Continuous:
|
||||
/usr/bin/ctest -D Continuous
|
||||
|
||||
Continuous: CMakeFiles/Continuous
|
||||
Continuous: CMakeFiles/Continuous.dir/build.make
|
||||
|
||||
.PHONY : Continuous
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/Continuous.dir/build: Continuous
|
||||
|
||||
.PHONY : CMakeFiles/Continuous.dir/build
|
||||
|
||||
CMakeFiles/Continuous.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/Continuous.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/Continuous.dir/clean
|
||||
|
||||
CMakeFiles/Continuous.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/Continuous.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/Continuous.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/Continuous"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/Continuous.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousBuild.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousBuild.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousBuild:
|
||||
/usr/bin/ctest -D ContinuousBuild
|
||||
|
||||
ContinuousBuild: CMakeFiles/ContinuousBuild
|
||||
ContinuousBuild: CMakeFiles/ContinuousBuild.dir/build.make
|
||||
|
||||
.PHONY : ContinuousBuild
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousBuild.dir/build: ContinuousBuild
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousBuild.dir/build
|
||||
|
||||
CMakeFiles/ContinuousBuild.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousBuild.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousBuild.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousBuild.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousBuild"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousBuild.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousConfigure.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousConfigure.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousConfigure:
|
||||
/usr/bin/ctest -D ContinuousConfigure
|
||||
|
||||
ContinuousConfigure: CMakeFiles/ContinuousConfigure
|
||||
ContinuousConfigure: CMakeFiles/ContinuousConfigure.dir/build.make
|
||||
|
||||
.PHONY : ContinuousConfigure
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousConfigure.dir/build: ContinuousConfigure
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousConfigure.dir/build
|
||||
|
||||
CMakeFiles/ContinuousConfigure.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousConfigure.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousConfigure.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousConfigure.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousConfigure"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousConfigure.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousCoverage.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousCoverage.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousCoverage:
|
||||
/usr/bin/ctest -D ContinuousCoverage
|
||||
|
||||
ContinuousCoverage: CMakeFiles/ContinuousCoverage
|
||||
ContinuousCoverage: CMakeFiles/ContinuousCoverage.dir/build.make
|
||||
|
||||
.PHONY : ContinuousCoverage
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousCoverage.dir/build: ContinuousCoverage
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousCoverage.dir/build
|
||||
|
||||
CMakeFiles/ContinuousCoverage.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousCoverage.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousCoverage.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousCoverage.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousCoverage"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousCoverage.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousMemCheck.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousMemCheck.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousMemCheck:
|
||||
/usr/bin/ctest -D ContinuousMemCheck
|
||||
|
||||
ContinuousMemCheck: CMakeFiles/ContinuousMemCheck
|
||||
ContinuousMemCheck: CMakeFiles/ContinuousMemCheck.dir/build.make
|
||||
|
||||
.PHONY : ContinuousMemCheck
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousMemCheck.dir/build: ContinuousMemCheck
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousMemCheck.dir/build
|
||||
|
||||
CMakeFiles/ContinuousMemCheck.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousMemCheck.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousMemCheck.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousMemCheck.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousMemCheck"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousMemCheck.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousStart.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousStart.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousStart:
|
||||
/usr/bin/ctest -D ContinuousStart
|
||||
|
||||
ContinuousStart: CMakeFiles/ContinuousStart
|
||||
ContinuousStart: CMakeFiles/ContinuousStart.dir/build.make
|
||||
|
||||
.PHONY : ContinuousStart
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousStart.dir/build: ContinuousStart
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousStart.dir/build
|
||||
|
||||
CMakeFiles/ContinuousStart.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousStart.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousStart.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousStart.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousStart.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousStart.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousStart"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousStart.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousSubmit.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousSubmit.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousSubmit:
|
||||
/usr/bin/ctest -D ContinuousSubmit
|
||||
|
||||
ContinuousSubmit: CMakeFiles/ContinuousSubmit
|
||||
ContinuousSubmit: CMakeFiles/ContinuousSubmit.dir/build.make
|
||||
|
||||
.PHONY : ContinuousSubmit
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousSubmit.dir/build: ContinuousSubmit
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousSubmit.dir/build
|
||||
|
||||
CMakeFiles/ContinuousSubmit.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousSubmit.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousSubmit.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousSubmit.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousSubmit"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousSubmit.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousTest.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousTest.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousTest:
|
||||
/usr/bin/ctest -D ContinuousTest
|
||||
|
||||
ContinuousTest: CMakeFiles/ContinuousTest
|
||||
ContinuousTest: CMakeFiles/ContinuousTest.dir/build.make
|
||||
|
||||
.PHONY : ContinuousTest
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousTest.dir/build: ContinuousTest
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousTest.dir/build
|
||||
|
||||
CMakeFiles/ContinuousTest.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousTest.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousTest.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousTest.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousTest.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousTest.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousTest"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousTest.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ContinuousUpdate.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ContinuousUpdate.dir/progress.make
|
||||
|
||||
CMakeFiles/ContinuousUpdate:
|
||||
/usr/bin/ctest -D ContinuousUpdate
|
||||
|
||||
ContinuousUpdate: CMakeFiles/ContinuousUpdate
|
||||
ContinuousUpdate: CMakeFiles/ContinuousUpdate.dir/build.make
|
||||
|
||||
.PHONY : ContinuousUpdate
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ContinuousUpdate.dir/build: ContinuousUpdate
|
||||
|
||||
.PHONY : CMakeFiles/ContinuousUpdate.dir/build
|
||||
|
||||
CMakeFiles/ContinuousUpdate.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ContinuousUpdate.dir/clean
|
||||
|
||||
CMakeFiles/ContinuousUpdate.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ContinuousUpdate.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ContinuousUpdate"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ContinuousUpdate.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for Experimental.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/Experimental.dir/progress.make
|
||||
|
||||
CMakeFiles/Experimental:
|
||||
/usr/bin/ctest -D Experimental
|
||||
|
||||
Experimental: CMakeFiles/Experimental
|
||||
Experimental: CMakeFiles/Experimental.dir/build.make
|
||||
|
||||
.PHONY : Experimental
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/Experimental.dir/build: Experimental
|
||||
|
||||
.PHONY : CMakeFiles/Experimental.dir/build
|
||||
|
||||
CMakeFiles/Experimental.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/Experimental.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/Experimental.dir/clean
|
||||
|
||||
CMakeFiles/Experimental.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/Experimental.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/Experimental.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/Experimental"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/Experimental.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ExperimentalBuild.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ExperimentalBuild.dir/progress.make
|
||||
|
||||
CMakeFiles/ExperimentalBuild:
|
||||
/usr/bin/ctest -D ExperimentalBuild
|
||||
|
||||
ExperimentalBuild: CMakeFiles/ExperimentalBuild
|
||||
ExperimentalBuild: CMakeFiles/ExperimentalBuild.dir/build.make
|
||||
|
||||
.PHONY : ExperimentalBuild
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ExperimentalBuild.dir/build: ExperimentalBuild
|
||||
|
||||
.PHONY : CMakeFiles/ExperimentalBuild.dir/build
|
||||
|
||||
CMakeFiles/ExperimentalBuild.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ExperimentalBuild.dir/clean
|
||||
|
||||
CMakeFiles/ExperimentalBuild.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ExperimentalBuild.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ExperimentalBuild"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ExperimentalBuild.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ExperimentalConfigure.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ExperimentalConfigure.dir/progress.make
|
||||
|
||||
CMakeFiles/ExperimentalConfigure:
|
||||
/usr/bin/ctest -D ExperimentalConfigure
|
||||
|
||||
ExperimentalConfigure: CMakeFiles/ExperimentalConfigure
|
||||
ExperimentalConfigure: CMakeFiles/ExperimentalConfigure.dir/build.make
|
||||
|
||||
.PHONY : ExperimentalConfigure
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ExperimentalConfigure.dir/build: ExperimentalConfigure
|
||||
|
||||
.PHONY : CMakeFiles/ExperimentalConfigure.dir/build
|
||||
|
||||
CMakeFiles/ExperimentalConfigure.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ExperimentalConfigure.dir/clean
|
||||
|
||||
CMakeFiles/ExperimentalConfigure.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ExperimentalConfigure.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ExperimentalConfigure"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ExperimentalConfigure.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ExperimentalCoverage.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ExperimentalCoverage.dir/progress.make
|
||||
|
||||
CMakeFiles/ExperimentalCoverage:
|
||||
/usr/bin/ctest -D ExperimentalCoverage
|
||||
|
||||
ExperimentalCoverage: CMakeFiles/ExperimentalCoverage
|
||||
ExperimentalCoverage: CMakeFiles/ExperimentalCoverage.dir/build.make
|
||||
|
||||
.PHONY : ExperimentalCoverage
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ExperimentalCoverage.dir/build: ExperimentalCoverage
|
||||
|
||||
.PHONY : CMakeFiles/ExperimentalCoverage.dir/build
|
||||
|
||||
CMakeFiles/ExperimentalCoverage.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ExperimentalCoverage.dir/clean
|
||||
|
||||
CMakeFiles/ExperimentalCoverage.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ExperimentalCoverage.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ExperimentalCoverage"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ExperimentalCoverage.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ExperimentalMemCheck.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ExperimentalMemCheck.dir/progress.make
|
||||
|
||||
CMakeFiles/ExperimentalMemCheck:
|
||||
/usr/bin/ctest -D ExperimentalMemCheck
|
||||
|
||||
ExperimentalMemCheck: CMakeFiles/ExperimentalMemCheck
|
||||
ExperimentalMemCheck: CMakeFiles/ExperimentalMemCheck.dir/build.make
|
||||
|
||||
.PHONY : ExperimentalMemCheck
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ExperimentalMemCheck.dir/build: ExperimentalMemCheck
|
||||
|
||||
.PHONY : CMakeFiles/ExperimentalMemCheck.dir/build
|
||||
|
||||
CMakeFiles/ExperimentalMemCheck.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ExperimentalMemCheck.dir/clean
|
||||
|
||||
CMakeFiles/ExperimentalMemCheck.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ExperimentalMemCheck.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ExperimentalMemCheck"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ExperimentalMemCheck.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ExperimentalStart.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ExperimentalStart.dir/progress.make
|
||||
|
||||
CMakeFiles/ExperimentalStart:
|
||||
/usr/bin/ctest -D ExperimentalStart
|
||||
|
||||
ExperimentalStart: CMakeFiles/ExperimentalStart
|
||||
ExperimentalStart: CMakeFiles/ExperimentalStart.dir/build.make
|
||||
|
||||
.PHONY : ExperimentalStart
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ExperimentalStart.dir/build: ExperimentalStart
|
||||
|
||||
.PHONY : CMakeFiles/ExperimentalStart.dir/build
|
||||
|
||||
CMakeFiles/ExperimentalStart.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ExperimentalStart.dir/clean
|
||||
|
||||
CMakeFiles/ExperimentalStart.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ExperimentalStart.dir/depend
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/ExperimentalStart"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/ExperimentalStart.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,76 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/sh/Downloads/hackrf/codec2
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/sh/Downloads/hackrf/codec2/build_linux
|
||||
|
||||
# Utility rule file for ExperimentalSubmit.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/ExperimentalSubmit.dir/progress.make
|
||||
|
||||
CMakeFiles/ExperimentalSubmit:
|
||||
/usr/bin/ctest -D ExperimentalSubmit
|
||||
|
||||
ExperimentalSubmit: CMakeFiles/ExperimentalSubmit
|
||||
ExperimentalSubmit: CMakeFiles/ExperimentalSubmit.dir/build.make
|
||||
|
||||
.PHONY : ExperimentalSubmit
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/ExperimentalSubmit.dir/build: ExperimentalSubmit
|
||||
|
||||
.PHONY : CMakeFiles/ExperimentalSubmit.dir/build
|
||||
|
||||
CMakeFiles/ExperimentalSubmit.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/ExperimentalSubmit.dir/clean
|
||||
|
||||
CMakeFiles/ExperimentalSubmit.dir/depend:
|
||||
cd /home/sh/Downloads/hackrf/codec2/build_linux && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2 /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/ExperimentalSubmit.dir/depend
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Ładowanie…
Reference in New Issue