Skip to content
Snippets Groups Projects
Commit 47944f1e authored by wfg's avatar wfg
Browse files

Updated CMakeLists.txt files

parent 9a60b397
No related branches found
No related tags found
2 merge requests!48Utilities,!45Code structure changes and syntax
...@@ -52,17 +52,17 @@ include(CMakeDependentOption) ...@@ -52,17 +52,17 @@ include(CMakeDependentOption)
# Setup shared library / -fPIC stuff # Setup shared library / -fPIC stuff
get_property(SHARED_LIBS_SUPPORTED GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS) get_property(SHARED_LIBS_SUPPORTED GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS)
cmake_dependent_option(ADIOS_BUILD_SHARED_LIBS cmake_dependent_option(ADIOS_BUILD_SHARED_LIBS
"Whether or not to build shared libraries" ON "Whether or not to build shared libraries" OFF
"SHARED_LIBS_SUPPORTED" OFF) "SHARED_LIBS_SUPPORTED" OFF)
if(SHARED_LIBS_SUPPORTED) if(SHARED_LIBS_SUPPORTED)
cmake_dependent_option(ADIOS_ENABLE_PIC cmake_dependent_option(ADIOS_ENABLE_PIC
"Build with Position Independent Code" ON "Build with Position Independent Code" OFF
"NOT ADIOS_BUILD_SHARED_LIBS" ON) "NOT ADIOS_BUILD_SHARED_LIBS" ON)
endif() endif()
set(BUILD_SHARED_LIBS ${ADIOS_BUILD_SHARED_LIBS}) set(BUILD_SHARED_LIBS ${ADIOS_BUILD_SHARED_LIBS})
if(ADIOS_ENABLE_PIC) if(ADIOS_ENABLE_PIC)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
endif() endif()
option(ADIOS_USE_MPI "Enable the MPI version of ADIOS" ON) option(ADIOS_USE_MPI "Enable the MPI version of ADIOS" ON)
...@@ -70,7 +70,7 @@ if(ADIOS_USE_MPI) ...@@ -70,7 +70,7 @@ if(ADIOS_USE_MPI)
# Workaround for OpenMPI forcing the link of C++ bindings # Workaround for OpenMPI forcing the link of C++ bindings
add_definitions(-DOMPI_SKIP_MPICXX) add_definitions(-DOMPI_SKIP_MPICXX)
endif() endif()
option(ADIOS_USE_BZip2 "Enable support for BZip2 transforms" ON) option(ADIOS_USE_BZip2 "Enable support for BZip2 transforms" OFF)
option(ADIOS_USE_ADIOS1 "Enable support for the ADIOS 1 engine" OFF) option(ADIOS_USE_ADIOS1 "Enable support for the ADIOS 1 engine" OFF)
option(ADIOS_USE_DataMan "Enable support for the DataMan engine" OFF) option(ADIOS_USE_DataMan "Enable support for the DataMan engine" OFF)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
add_library(adios2 add_library(adios2
ADIOS.cpp ADIOS.tcc ADIOS_inst.cpp ADIOS.cpp ADIOS_inst.cpp
#ADIOS_C.cpp #ADIOS_C.cpp
capsule/heap/STLVector.cpp capsule/heap/STLVector.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment