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
......@@ -62,10 +62,8 @@ endif( ITA_FFT_WITH_INTEL_MKL10 )
# compiler settings
if( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_FFT_EXPORT )
message( "Building shared ITAFFT library" )
else( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_FFT_STATIC -DITA_BASE_STATIC )
message( "Building static ITAFFT library" )
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()
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 )
message( "Linking FFT tests against static ITA core libs" )
endif( NOT ITA_CORE_LIBS_BUILD_STATIC )
endif( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
add_executable( ITAFFTTest test.cpp )
target_link_libraries( ITAFFTTest ${VISTA_USE_PACKAGE_LIBRARIES} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment