Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
ITABase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
1762c367
Commit
1762c367
authored
Sep 30, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding vista static build switch
parent
bbe432fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
CMakeLists.txt
CMakeLists.txt
+9
-1
No files found.
CMakeLists.txt
View file @
1762c367
...
...
@@ -6,7 +6,7 @@ list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include
(
VistaCommon
)
# dependencies
vista_use_package
(
VistaCoreLibs REQUIRED FIND_DEPENDENCIES COMPONENTS VistaInterProcComm VistaTools
)
vista_use_package
(
VistaCoreLibs REQUIRED FIND_DEPENDENCIES COMPONENTS Vista
Base Vista
InterProcComm VistaTools
)
vista_use_package
(
sndfile
)
vista_use_package
(
IPP QUIET
)
vista_use_package
(
PCRE QUIET
)
...
...
@@ -16,6 +16,10 @@ 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"
)
endif
(
NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC
)
if
(
NOT DEFINED ITA_VISTA_BUILD_STATIC
)
set
(
ITA_VISTA_BUILD_STATIC OFF CACHE BOOL
"Build against static ViSTA libraries"
)
endif
(
NOT DEFINED ITA_VISTA_BUILD_STATIC
)
if
(
NOT DEFINED ITA_BASE_WITH_FASTMATH_IPP
)
set
(
ITA_BASE_WITH_FASTMATH_IPP OFF CACHE BOOL
"Build with IPP implementation of fast math ops"
)
endif
(
NOT DEFINED ITA_BASE_WITH_FASTMATH_IPP
)
...
...
@@ -176,6 +180,10 @@ if( ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI )
endif
(
ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI
)
if
(
ITA_VISTA_BUILD_STATIC
)
add_definitions
(
-DVISTABASE_STATIC -DVISTAMATH_STATIC -DVISTAASPECTS_STATIC -DVISTATOOLS_STATIC -DVISTAINTERPROCCOMM_STATIC
)
endif
(
ITA_VISTA_BUILD_STATIC
)
# ITA defaults to shared library build mode, so extra definition is required if you want to build against a static library
if
(
NOT ITA_CORE_LIBS_BUILD_STATIC
)
add_definitions
(
-DITA_BASE_EXPORT
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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