Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Podhorszki, Norbert
ADIOS2
Commits
1c014a6d
Commit
1c014a6d
authored
7 years ago
by
Atkins, Charles Vernon
Browse files
Options
Downloads
Patches
Plain Diff
Default to debug build
parent
146f861a
No related branches found
No related tags found
1 merge request
!24
Add examples as tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+12
-5
12 additions, 5 deletions
CMakeLists.txt
with
12 additions
and
5 deletions
CMakeLists.txt
+
12
−
5
View file @
1c014a6d
...
...
@@ -38,6 +38,11 @@ endif()
# Top level options
#------------------------------------------------------------------------------#
# Default to a debug build if not specified
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
"Choose the type of build."
FORCE
)
endif
()
# Force C++11
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
...
...
@@ -62,7 +67,7 @@ endif()
option
(
ADIOS_USE_MPI
"Enable the MPI version of ADIOS"
ON
)
if
(
ADIOS_USE_MPI
)
# Workaround for OpenMPI forcing th elink of C++ bindings
# Workaround for OpenMPI forcing th elink of C++ bindings
add_definitions
(
-DOMPI_SKIP_MPICXX
)
endif
()
option
(
ADIOS_USE_BZip2
"Enable support for BZip2 transforms"
ON
)
...
...
@@ -72,8 +77,9 @@ option(ADIOS_USE_DataMan "Enable support for the DataMan engine" OFF)
#------------------------------------------------------------------------------#
# Third party libraries
#------------------------------------------------------------------------------#
option
(
ADIOS_BUILD_TESTING
"Build ADIOS tests"
OFF
)
set
(
BUILD_TESTING
${
ADIOS_BUILD_TESTING
}
CACHE INTERNAL
""
)
option
(
ADIOS_BUILD_TESTING
"Build ADIOS tests"
ON
)
set
(
BUILD_TESTING
${
ADIOS_BUILD_TESTING
}
)
mark_as_advanced
(
BUILD_TESTING
)
include
(
CTest
)
add_subdirectory
(
thirdparty
)
...
...
@@ -117,10 +123,11 @@ message("")
message
(
" Installation prefix:
${
CMAKE_INSTALL_PREFIX
}
"
)
message
(
" Features:"
)
if
(
BUILD_SHARED_LIBS
)
message
(
" Type:
shared"
)
message
(
"
Library
Type: shared"
)
else
()
message
(
" Type:
static"
)
message
(
"
Library
Type: static"
)
endif
()
message
(
" Build Type:
${
CMAKE_BUILD_TYPE
}
"
)
message
(
" Testing:
${
BUILD_TESTING
}
"
)
message
(
" MPI:
${
ADIOS_USE_MPI
}
"
)
message
(
" BZip2:
${
ADIOS_USE_BZip2
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment