Skip to content
Snippets Groups Projects
Commit def73e23 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Switching to default dynamic lib build mode by changing base definition...

Switching to default dynamic lib build mode by changing base definition behavior. If you do not define anything, you will end up with a shared library, now.
parent 0e887f74
No related branches found
No related tags found
No related merge requests found
...@@ -62,10 +62,8 @@ endif( ITA_FFT_WITH_INTEL_MKL10 ) ...@@ -62,10 +62,8 @@ endif( ITA_FFT_WITH_INTEL_MKL10 )
# compiler settings # compiler settings
if( NOT ITA_CORE_LIBS_BUILD_STATIC ) if( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_FFT_EXPORT ) add_definitions( -DITA_FFT_EXPORT )
message( "Building shared ITAFFT library" )
else( NOT ITA_CORE_LIBS_BUILD_STATIC ) else( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_FFT_STATIC -DITA_BASE_STATIC ) add_definitions( -DITA_FFT_STATIC -DITA_BASE_STATIC )
message( "Building static ITAFFT library" )
endif( NOT ITA_CORE_LIBS_BUILD_STATIC ) endif( NOT ITA_CORE_LIBS_BUILD_STATIC )
......
Copyright 2015-2016 Institute of Technical Acoustics, RWTH Aachen University. Any usage and distribution is prohibited, unless explicitly granted by the authors.
\ No newline at end of file
## ITADataSources
ITAFFT is a backend-configurable C++ library for fast Fourier transformations. Currently, FFTW and Intel MKL is supported.
### License
See [LICENSE](LICENSE.md) file.
...@@ -10,10 +10,9 @@ endif() ...@@ -10,10 +10,9 @@ endif()
vista_use_package( ITAFFT REQUIRED FIND_DEPENDENCIES ) vista_use_package( ITAFFT REQUIRED FIND_DEPENDENCIES )
if( NOT ITA_CORE_LIBS_BUILD_STATIC ) if( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_FFT_STATIC ) add_definitions( -DITA_BASE_STATIC -DITA_FFT_STATIC )
message( "Linking FFT tests against static ITA core libs" ) endif( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
endif( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_executable( ITAFFTTest test.cpp ) add_executable( ITAFFTTest test.cpp )
target_link_libraries( ITAFFTTest ${VISTA_USE_PACKAGE_LIBRARIES} ) target_link_libraries( ITAFFTTest ${VISTA_USE_PACKAGE_LIBRARIES} )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment