Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
974b8fe7
Commit
974b8fe7
authored
Aug 22, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Adding config setting for ITAOps with legacy code for RAVEN
parent
c78b1c8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
974b8fe7
...
...
@@ -25,17 +25,21 @@ if( NOT DEFINED ITA_BASE_WITH_SNDFILE )
endif
(
NOT DEFINED ITA_BASE_WITH_SNDFILE
)
if
(
NOT DEFINED ITA_BASE_WITH_OLD_ATOMICS
)
set
(
ITA_BASE_WITH_OLD_ATOMICS OFF CACHE BOOL
"Build with
legacy
atomic code for non-C++11 compatible compilers"
)
set
(
ITA_BASE_WITH_OLD_ATOMICS OFF CACHE BOOL
"Build with
old
atomic code for non-C++11 compatible compilers"
)
endif
(
NOT DEFINED ITA_BASE_WITH_OLD_ATOMICS
)
if
(
NOT DEFINED ITA_BASE_WITH_REGULAR_EXPRESSIONS
)
set
(
ITA_BASE_WITH_REGULAR_EXPRESSIONS OFF CACHE BOOL
"Build with
legacy
regular expressions code for string manipulation"
)
set
(
ITA_BASE_WITH_REGULAR_EXPRESSIONS OFF CACHE BOOL
"Build with
old
regular expressions code for string manipulation"
)
endif
(
NOT DEFINED ITA_BASE_WITH_REGULAR_EXPRESSIONS
)
if
(
NOT DEFINED ITA_BASE_WITH_CONFIG_OLD_IMPL
)
set
(
ITA_BASE_WITH_CONFIG_OLD_IMPL OFF CACHE BOOL
"Build with
legacy
INI file configuration implementation (uses legacy regular expressions)"
)
set
(
ITA_BASE_WITH_CONFIG_OLD_IMPL OFF CACHE BOOL
"Build with
old
INI file configuration implementation (uses legacy regular expressions)"
)
endif
(
NOT DEFINED ITA_BASE_WITH_CONFIG_OLD_IMPL
)
if
(
NOT DEFINED ITA_BASE_WITH_OLD_RAVEN_OPS
)
set
(
ITA_BASE_WITH_OLD_RAVEN_OPS OFF CACHE BOOL
"Build with old ITAOps helper functions implementation (legacy code for RAVEN compatibility)"
)
endif
(
NOT DEFINED ITA_BASE_WITH_OLD_RAVEN_OPS
)
# includes
include_directories
(
"include"
)
...
...
@@ -63,7 +67,6 @@ set( ITABaseHeader
"include/ITALog.h"
"include/ITAMutex.h"
"include/ITANumericUtils.h"
"include/ITAOps.h"
"include/ITASampleBuffer.h"
"include/ITASampleFrame.h"
"include/ITASampleTypeConversion.h"
...
...
@@ -96,7 +99,6 @@ set( ITABaseSources
"src/ITALog.cpp"
"src/ITAMutex.cpp"
"src/ITANumericUtils.cpp"
"src/ITAOps.cpp"
"src/ITASampleBuffer.cpp"
"src/ITASampleFrame.cpp"
"src/ITASampleTypeConversion.cpp"
...
...
@@ -132,7 +134,7 @@ else( VIPP_FOUND AND ITA_BASE_WITH_FASTMATH_IPP )
endif
(
VIPP_FOUND AND ITA_BASE_WITH_FASTMATH_IPP
)
if
(
ITA_BASE_WITH_OLD_ATOMICS
)
set
(
ITABaseHeader
"
${
ITABaseHeader
}
"
"include/ITAAtomicOps.h"
"include/ITAAtomicPrimitives.h"
)
set
(
ITABaseHeader
"
${
ITABaseHeader
}
"
"include/ITAAtomicOps.h"
"include/ITAAtomicPrimitives.h"
)
if
(
WIN32
)
set
(
ITABaseSources
"
${
ITABaseSources
}
"
"src/ITAAtomicOpsWin32Impl.cpp"
)
else
(
WIN32
)
...
...
@@ -140,6 +142,11 @@ if( ITA_BASE_WITH_OLD_ATOMICS )
endif
(
WIN32
)
endif
(
ITA_BASE_WITH_OLD_ATOMICS
)
if
(
ITA_BASE_WITH_OLD_RAVEN_OPS
)
set
(
ITABaseHeader
"
${
ITABaseHeader
}
"
"include/ITAOps.h"
)
set
(
ITABaseSources
"
${
ITABaseSources
}
"
"src/ITAOps.cpp"
)
endif
(
ITA_BASE_WITH_OLD_RAVEN_OPS
)
if
(
VPCRE_FOUND AND ITA_BASE_WITH_REGULAR_EXPRESSIONS
)
list
(
APPEND ITABaseHeader
"include/ITAConfigUtils.h"
)
list
(
APPEND ITABaseSources
"src/ITAConfigUtils.cpp"
"src/ITAStringUtilsPCRE.cpp"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment