1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Avoid useless sdrbase dependency by moving the exports header in its own folder

This commit is contained in:
f4exb 2018-03-09 13:48:14 +01:00
parent 46f80e2a15
commit 4f9a49cf02
15 changed files with 21 additions and 5 deletions

View File

@ -221,6 +221,7 @@ add_subdirectory(swagger)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/sdrgui
${CMAKE_SOURCE_DIR}/logging

View File

@ -33,7 +33,7 @@ set(httpserver_HEADERS
include_directories(
.
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/exports
${CMAKE_CURRENT_BINARY_DIR}
)

View File

@ -19,7 +19,7 @@ set(httpserver_HEADERS
include_directories(
.
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/exports
${CMAKE_CURRENT_BINARY_DIR}
)

View File

@ -20,6 +20,7 @@ set(filesink_HEADERS
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)

View File

@ -21,6 +21,7 @@ if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
${LIBHACKRFSRC}
@ -30,6 +31,7 @@ else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
${LIBHACKRF_INCLUDE_DIR}

View File

@ -21,6 +21,7 @@ if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
${LIBLIMESUITESRC}/src
@ -37,6 +38,7 @@ else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
${LIMESUITE_INCLUDE_DIR}

View File

@ -19,6 +19,7 @@ set(filesource_HEADERS
include_directories(
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)

View File

@ -20,6 +20,7 @@ set(hackrfinput_HEADERS
if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
@ -29,6 +30,7 @@ include_directories(
else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices

View File

@ -21,6 +21,7 @@ if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
${LIBLIMESUITESRC}/src
@ -37,6 +38,7 @@ else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/devices
${LIMESUITE_INCLUDE_DIR}

View File

@ -21,6 +21,7 @@ if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${LIBRTLSDRSRC}/include
${LIBRTLSDRSRC}/src
@ -29,6 +30,7 @@ else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${LIBRTLSDR_INCLUDE_DIR}
)

View File

@ -74,7 +74,7 @@ set(qrtplib_SOURCES
include_directories(
.
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/exports
${CMAKE_CURRENT_BINARY_DIR}
)

View File

@ -168,7 +168,7 @@ set(sdrbase_HEADERS
util/CRC64.h
util/db.h
util/doublebuffer.h
util/export.h
#util/export.h
util/fixedtraits.h
util/message.h
util/messagequeue.h
@ -258,6 +258,7 @@ add_library(sdrbase SHARED
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/httpserver
${CMAKE_SOURCE_DIR}/qrtplib
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client

View File

@ -160,6 +160,7 @@ add_library(sdrgui SHARED
include_directories(
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/logging
${CMAKE_SOURCE_DIR}/httpserver

View File

@ -27,6 +27,7 @@ add_library(sdrsrv SHARED
include_directories(
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/logging
${CMAKE_SOURCE_DIR}/httpserver