Skip to content

Commit

Permalink
DABSDR 2.5.95 and FMLIST interface libs for Linux x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
KejPi committed Sep 11, 2024
1 parent e8be0bc commit d48c49f
Show file tree
Hide file tree
Showing 10 changed files with 194 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/linux_x86_64/cmake/dabsdr-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "dabsdr::dabsdr" for configuration "Release"
set_property(TARGET dabsdr::dabsdr APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(dabsdr::dabsdr PROPERTIES
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/linux_x86_64/libdabsdr.so.2.5.94"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/linux_x86_64/libdabsdr.so.2.5.95"
IMPORTED_SONAME_RELEASE "libdabsdr.so.2"
)

list(APPEND _IMPORT_CHECK_TARGETS dabsdr::dabsdr )
list(APPEND _IMPORT_CHECK_FILES_FOR_dabsdr::dabsdr "${_IMPORT_PREFIX}/linux_x86_64/libdabsdr.so.2.5.94" )
list(APPEND _IMPORT_CHECK_FILES_FOR_dabsdr::dabsdr "${_IMPORT_PREFIX}/linux_x86_64/libdabsdr.so.2.5.95" )

# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
20 changes: 20 additions & 0 deletions lib/linux_x86_64/cmake/fmlistInterface-release.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#----------------------------------------------------------------
# Generated CMake target import file for configuration "Release".
#----------------------------------------------------------------

# Commands may need to know the format version.
set(CMAKE_IMPORT_FILE_VERSION 1)

# Import target "fmlistInterface::fmlistInterface" for configuration "Release"
set_property(TARGET fmlistInterface::fmlistInterface APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(fmlistInterface::fmlistInterface PROPERTIES
IMPORTED_LINK_DEPENDENT_LIBRARIES_RELEASE "Qt6::Core;Qt6::Gui;Qt6::Network"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/linux_x86_64/libfmlistInterface.so.1.0.0"
IMPORTED_SONAME_RELEASE "libfmlistInterface.so.1"
)

list(APPEND _IMPORT_CHECK_TARGETS fmlistInterface::fmlistInterface )
list(APPEND _IMPORT_CHECK_FILES_FOR_fmlistInterface::fmlistInterface "${_IMPORT_PREFIX}/linux_x86_64/libfmlistInterface.so.1.0.0" )

# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
93 changes: 93 additions & 0 deletions lib/linux_x86_64/cmake/fmlistInterface.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Generated by CMake

if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
message(FATAL_ERROR "CMake >= 2.6.0 required")
endif()
cmake_policy(PUSH)
cmake_policy(VERSION 2.6...3.20)
#----------------------------------------------------------------
# Generated CMake target import file.
#----------------------------------------------------------------

# Commands may need to know the format version.
set(CMAKE_IMPORT_FILE_VERSION 1)

# Protect against multiple inclusion, which would fail when already imported targets are added once more.
set(_targetsDefined)
set(_targetsNotDefined)
set(_expectedTargets)
foreach(_expectedTarget fmlistInterface::fmlistInterface)
list(APPEND _expectedTargets ${_expectedTarget})
if(NOT TARGET ${_expectedTarget})
list(APPEND _targetsNotDefined ${_expectedTarget})
endif()
if(TARGET ${_expectedTarget})
list(APPEND _targetsDefined ${_expectedTarget})
endif()
endforeach()
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
unset(_targetsDefined)
unset(_targetsNotDefined)
unset(_expectedTargets)
set(CMAKE_IMPORT_FILE_VERSION)
cmake_policy(POP)
return()
endif()
if(NOT "${_targetsDefined}" STREQUAL "")
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
endif()
unset(_targetsDefined)
unset(_targetsNotDefined)
unset(_expectedTargets)


# Compute the installation prefix relative to this file.
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
if(_IMPORT_PREFIX STREQUAL "/")
set(_IMPORT_PREFIX "")
endif()

# Create imported target fmlistInterface::fmlistInterface
add_library(fmlistInterface::fmlistInterface SHARED IMPORTED)

set_target_properties(fmlistInterface::fmlistInterface PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/linux_x86_64"
)

# Load information for each installed configuration.
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
file(GLOB CONFIG_FILES "${_DIR}/fmlistInterface-*.cmake")
foreach(f ${CONFIG_FILES})
include(${f})
endforeach()

# Cleanup temporary variables.
set(_IMPORT_PREFIX)

# Loop over all imported files and verify that they actually exist
foreach(target ${_IMPORT_CHECK_TARGETS} )
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
if(NOT EXISTS "${file}" )
message(FATAL_ERROR "The imported target \"${target}\" references the file
\"${file}\"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
\"${CMAKE_CURRENT_LIST_FILE}\"
but not all the files it references.
")
endif()
endforeach()
unset(_IMPORT_CHECK_FILES_FOR_${target})
endforeach()
unset(_IMPORT_CHECK_TARGETS)

# This file does not depend on other imported targets which have
# been exported from the same project but in a separate export set.

# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
cmake_policy(POP)
34 changes: 34 additions & 0 deletions lib/linux_x86_64/fmlistinterface.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#ifndef FMLISTINTERFACE_H
#define FMLISTINTERFACE_H

#include <QObject>
#include <QString>
#include <QNetworkReply>

#include <QtCore/QtGlobal>

#if defined(FMLIST_LIBRARY)
# define FMLISTINTERFACE_EXPORT Q_DECL_EXPORT
#else
# define FMLISTINTERFACE_EXPORT Q_DECL_IMPORT
#endif

class FMListInterfacePrivate;

class FMLISTINTERFACE_EXPORT FMListInterface : public QObject
{
Q_OBJECT
public:
FMListInterface(const QString & dbFile);
~FMListInterface();
void updateTiiData();
QString version() const;

signals:
void updateTiiDataFinished(QNetworkReply::NetworkError err);

private:
FMListInterfacePrivate* d_ptr;
};

#endif // FMLISTINTERFACE_H
42 changes: 42 additions & 0 deletions lib/linux_x86_64/fmlistinterface_export.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

#ifndef FMLISTINTERFACE_API_H
#define FMLISTINTERFACE_API_H

#ifdef FMLISTINTERFACE_STATIC_DEFINE
# define FMLISTINTERFACE_API
# define FMLISTINTERFACE_NO_EXPORT
#else
# ifndef FMLISTINTERFACE_API
# ifdef fmlistInterface_EXPORTS
/* We are building this library */
# define FMLISTINTERFACE_API __attribute__((visibility("default")))
# else
/* We are using this library */
# define FMLISTINTERFACE_API __attribute__((visibility("default")))
# endif
# endif

# ifndef FMLISTINTERFACE_NO_EXPORT
# define FMLISTINTERFACE_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif

#ifndef FMLISTINTERFACE_DEPRECATED
# define FMLISTINTERFACE_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef FMLISTINTERFACE_DEPRECATED_EXPORT
# define FMLISTINTERFACE_DEPRECATED_EXPORT FMLISTINTERFACE_API FMLISTINTERFACE_DEPRECATED
#endif

#ifndef FMLISTINTERFACE_DEPRECATED_NO_EXPORT
# define FMLISTINTERFACE_DEPRECATED_NO_EXPORT FMLISTINTERFACE_NO_EXPORT FMLISTINTERFACE_DEPRECATED
#endif

#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef FMLISTINTERFACE_NO_DEPRECATED
# define FMLISTINTERFACE_NO_DEPRECATED
# endif
#endif

#endif /* FMLISTINTERFACE_API_H */
2 changes: 1 addition & 1 deletion lib/linux_x86_64/libdabsdr.so.2
Binary file not shown.
1 change: 1 addition & 0 deletions lib/linux_x86_64/libfmlistInterface.so
1 change: 1 addition & 0 deletions lib/linux_x86_64/libfmlistInterface.so.1
Binary file added lib/linux_x86_64/libfmlistInterface.so.1.0.0
Binary file not shown.

0 comments on commit d48c49f

Please sign in to comment.