Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITAStreaming
Compare Revisions
10f4d6ce4933b41aea6939442ba97f6de3aebdf0...d2c14bea8b93486645359ff9726f7b80f7ba983e
Commits (2)
updating ignores
· 79bba30c
Dipl.-Ing. Jonas Stienen
authored
Jan 05, 2017
79bba30c
Renewing cmake config v2
· d2c14bea
Dipl.-Ing. Jonas Stienen
authored
Jan 07, 2017
d2c14bea
Show whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
d2c14bea
HTML
*.bat
*.mat
*.pdf
*.dll
*.exe
*.so*
Thumbs.db
.DS_Store
*.asv
*.wav
*.xlsx
*.docx
*.dll
*.csv
*.h5
*.ita
*.fig
*.png
*.jpeg
*.sofa
*.spk
*.unv
*.stl
svnaccess
*.lib
*.exp
CMakeLists.txt
View file @
d2c14bea
...
@@ -12,19 +12,19 @@ vista_use_package( Portaudio )
...
@@ -12,19 +12,19 @@ vista_use_package( Portaudio )
if
(
NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC
)
if
(
NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC
)
set
(
ITA_CORE_LIBS_BUILD_STATIC OFF CACHE BOOL
"Build all ITA core libs in static mode"
)
set
(
ITA_CORE_LIBS_BUILD_STATIC OFF CACHE BOOL
"Build all ITA core libs in static mode"
)
endif
(
NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC
)
endif
(
)
if
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_ASIO
)
if
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_ASIO
)
set
(
ITA_STREAMING_WITH_BACKEND_ASIO
${
VASIO_FOUND
}
CACHE BOOL
"Build with ASIO for audio streaming"
)
set
(
ITA_STREAMING_WITH_BACKEND_ASIO
${
VASIO_FOUND
}
CACHE BOOL
"Build with ASIO for audio streaming"
)
endif
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_ASIO
)
endif
(
)
if
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_PORTAUDIO
)
if
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_PORTAUDIO
)
set
(
ITA_STREAMING_WITH_BACKEND_PORTAUDIO OFF CACHE BOOL
"Build with Portaudio for audio streaming"
)
set
(
ITA_STREAMING_WITH_BACKEND_PORTAUDIO OFF CACHE BOOL
"Build with Portaudio for audio streaming"
)
endif
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_PORTAUDIO
)
endif
(
)
if
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_VIRTUAL
)
if
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_VIRTUAL
)
set
(
ITA_STREAMING_WITH_BACKEND_VIRTUAL ON CACHE BOOL
"Build with virtual audio streaming backend"
)
set
(
ITA_STREAMING_WITH_BACKEND_VIRTUAL ON CACHE BOOL
"Build with virtual audio streaming backend"
)
endif
(
NOT DEFINED ITA_STREAMING_WITH_BACKEND_VIRTUAL
)
endif
(
)
# includes
# includes
...
@@ -57,40 +57,36 @@ set( ITAStreamingSources
...
@@ -57,40 +57,36 @@ set( ITAStreamingSources
if
(
ITA_STREAMING_WITH_BACKEND_ASIO AND VASIO_FOUND
)
if
(
ITA_STREAMING_WITH_BACKEND_ASIO AND VASIO_FOUND
)
set
(
ITAStreamingSources
"
${
ITAStreamingSources
}
"
"src/ITAStreamingBackendASIO.h"
"src/ITAStreamingBackendASIO.cpp"
)
set
(
ITAStreamingSources
"
${
ITAStreamingSources
}
"
"src/ITAStreamingBackendASIO.h"
"src/ITAStreamingBackendASIO.cpp"
)
add_definitions
(
-DITA_STREAMING_WITH_BACKEND_ASIO -DIEEE754_64FLOAT=1
)
add_definitions
(
-DITA_STREAMING_WITH_BACKEND_ASIO -DIEEE754_64FLOAT=1
)
endif
(
ITA_STREAMING_WITH_BACKEND_ASIO AND VASIO_FOUND
)
endif
(
)
if
(
ITA_STREAMING_WITH_BACKEND_PORTAUDIO AND VPORTAUDIO_FOUND
)
if
(
ITA_STREAMING_WITH_BACKEND_PORTAUDIO AND VPORTAUDIO_FOUND
)
set
(
ITAStreamingSources
"
${
ITAStreamingSources
}
"
"src/ITAStreamingBackendPortaudio.h"
"src/ITAStreamingBackendPortaudio.cpp"
)
set
(
ITAStreamingSources
"
${
ITAStreamingSources
}
"
"src/ITAStreamingBackendPortaudio.h"
"src/ITAStreamingBackendPortaudio.cpp"
)
add_definitions
(
-DITA_STREAMING_WITH_BACKEND_PORTAUDIO
)
add_definitions
(
-DITA_STREAMING_WITH_BACKEND_PORTAUDIO
)
endif
(
ITA_STREAMING_WITH_BACKEND_PORTAUDIO AND VPORTAUDIO_FOUND
)
endif
(
)
if
(
ITA_STREAMING_WITH_BACKEND_VIRTUAL
)
if
(
ITA_STREAMING_WITH_BACKEND_VIRTUAL
)
set
(
ITAStreamingHeader
"
${
ITAStreamingHeader
}
"
"include/ITAStreamingVirtualDevice.h"
)
set
(
ITAStreamingHeader
"
${
ITAStreamingHeader
}
"
"include/ITAStreamingVirtualDevice.h"
)
set
(
ITAStreamingSources
"
${
ITAStreamingSources
}
"
"src/ITAStreamingVirtualDevice.cpp"
)
set
(
ITAStreamingSources
"
${
ITAStreamingSources
}
"
"src/ITAStreamingVirtualDevice.cpp"
)
endif
(
ITA_STREAMING_WITH_BACKEND_VIRTUAL
)
endif
(
)
# compiler
# compiler settings
# compiler settings
if
(
NOT ITA_CORE_LIBS_BUILD_STATIC
)
if
(
ITA_VISTA_BUILD_STATIC
)
add_definitions
(
-DVISTABASE_STATIC -DVISTAMATH_STATIC -DVISTAASPECTS_STATIC -DVISTATOOLS_STATIC -DVISTAINTERPROCCOMM_STATIC
)
endif
(
)
if
(
BUILD_SHARED_LIBS
)
add_definitions
(
-DITA_STREAMING_EXPORT
)
add_definitions
(
-DITA_STREAMING_EXPORT
)
else
(
NOT ITA_CORE_LIBS_BUILD_STATIC
)
else
(
)
add_definitions
(
-DITA_BASE_STATIC -ITA_STREAMING_STATIC
)
add_definitions
(
-ITA_STREAMING_STATIC -DITA_BASE_STATIC
)
set
(
BUILD_SHARED_LIBS_TEMP
${
BUILD_SHARED_LIBS
}
)
endif
(
)
if
(
BUILD_SHARED_LIBS
)
set
(
BUILD_SHARED_LIBS OFF
)
message
(
"Ignoring activated BUILD_SHARED_LIBS temporary because static ITA core libs requested"
)
endif
(
BUILD_SHARED_LIBS
)
endif
(
NOT ITA_CORE_LIBS_BUILD_STATIC
)
# linker
# linker
add_library
(
ITAStreaming
${
ITAStreamingHeader
}
${
ITAStreamingSources
}
)
add_library
(
ITAStreaming
${
ITAStreamingHeader
}
${
ITAStreamingSources
}
)
target_link_libraries
(
ITAStreaming
${
VISTA_USE_PACKAGE_LIBRARIES
}
)
target_link_libraries
(
ITAStreaming
${
VISTA_USE_PACKAGE_LIBRARIES
}
)
set
(
BUILD_SHARED_LIBS
${
BUILD_SHARED_LIBS_TEMP
}
)
# config
# config
vista_configure_lib
(
ITAStreaming
)
vista_configure_lib
(
ITAStreaming
)
...
@@ -103,5 +99,7 @@ set_property( TARGET ITAStreaming PROPERTY FOLDER "ITACoreLibs" )
...
@@ -103,5 +99,7 @@ set_property( TARGET ITAStreaming PROPERTY FOLDER "ITACoreLibs" )
# tests
# tests
set
(
ITASTREAMING_COMMON_BUILD TRUE
)
if
(
ITA_CORE_LIBS_WITH_TESTS
)
add_subdirectory
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests"
)
set
(
ITASTREAMING_COMMON_BUILD TRUE
)
add_subdirectory
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests"
)
endif
(
)