Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Tobias Leibner
dune-common
Commits
b204a2f7
Commit
b204a2f7
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Be more compatible with the trunk.
[[Imported from SVN: r6638]]
parent
43f68f39
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
cmake/modules/FindSharedPtr.cmake
+2
-0
2 additions, 0 deletions
cmake/modules/FindSharedPtr.cmake
config.h.cmake
+31
-9
31 additions, 9 deletions
config.h.cmake
with
34 additions
and
9 deletions
CMakeLists.txt
+
1
−
0
View file @
b204a2f7
...
...
@@ -54,6 +54,7 @@ find_package(CXX11Features)
include
(
CheckIncludeFile
)
include
(
CheckIncludeFileCXX
)
check_include_file
(
"malloc.h"
HAVE_MALLOC_H
)
check_include_file
(
"stdint.h"
HAVE_STDINT_H
)
check_include_file_cxx
(
"memory"
HAVE_MEMORY
)
set
(
CMAKE_REQUIRED_FLAGS
"
${
CMAKE_REQUIRED_FLAGS
}
-DHAVE_MEMORY=
${
HAVE_MEMORY
}
"
)
...
...
This diff is collapsed.
Click to expand it.
cmake/modules/FindSharedPtr.cmake
+
2
−
0
View file @
b204a2f7
...
...
@@ -6,6 +6,8 @@ macro(CHECK_MAKE_SHARED)
CHECK_INCLUDE_FILE_CXX
(
"boost/make_shared.hpp"
HAVE_BOOST_MAKE_SHARED_HPP
)
endif
(
SHARED_PTR_NAMESPACE EQUAL
"boost"
)
CHECK_INCLUDE_FILE_CXX
(
"boost/shared_ptr.hpp"
HAVE_BOOST_SHARED_PTR_HPP
)
CHECK_CXX_SOURCE_COMPILES
(
"
#if defined(HAVE_MEMORY)
# include <memory>
...
...
This diff is collapsed.
Click to expand it.
config.h.cmake
+
31
−
9
View file @
b204a2f7
...
...
@@ -42,7 +42,7 @@
/* Define if you have a BLAS library. */
#cmakedefine HAVE_BLAS 1
/* Define to 1 if you have <boost/make_shared.hpp>
,
*/
/* Define to 1 if you have <boost/make_shared.hpp>
.
*/
#cmakedefine HAVE_BOOST_MAKE_SHARED_HPP 1
/* Define to 1 if you have the <boost/shared_ptr.hpp> header file. */
...
...
@@ -51,7 +51,7 @@
/* Define if you have LAPACK library. */
#cmakedefine HAVE_LAPACK 1
/* Define to 1 if SHARED_PTR_NAMESPACE::make_shared is usable */
/* Define to 1 if SHARED_PTR_NAMESPACE::make_shared is usable
.
*/
#cmakedefine HAVE_MAKE_SHARED 1
/* Define to 1 if you have the <malloc.h> header file. */
...
...
@@ -63,27 +63,49 @@
#cmakedefine HAVE_MPI ENABLE_MPI
/* Define to 1 if nullptr is supported */
#cmakedefine HAVE_NULLPTR
#cmakedefine HAVE_NULLPTR
1
/* Define to 1 if static_assert is supported */
#cmakedefine HAVE_STATIC_ASSERT
#cmakedefine HAVE_STATIC_ASSERT 1
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H 1
/* Define to 1 if the MPI2 Standard is supported */
#cmakedefine MPI_2 1
/* Name of package */
#define PACKAGE "dune-common"
#cmakedefine HAVE_BOOST 1
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "@DUNE_MAINTAINER@"
/* Define to the full name of this package. */
#define PACKAGE_NAME "@DUNE_MOD_NAME@"
/* Define to
1 if you have the <memory> header fil
e. */
#
cmake
define
HAVE_MEMORY 1
/* Define to
the full name and version of this packag
e. */
#define
PACKAGE_STRING "@DUNE_MOD_NAME@ @DUNE_MOD_VERSION@"
/* The namespace in which SHARED_PTR can be found */
#cmakedefine SHARED_PTR_NAMESPACE ${SHARED_PTR_NAMESPACE}
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "@DUNE_MOD_NAME@"
/* Define to the home page for this package. */
#define PACKAGE_URL "@DUNE_MOD_URL@"
/* Define to the version of this package. */
#define PACKAGE_VERSION "@DUNE_MOD_VERSION@"
#cmakedefine HAVE_BOOST 1
/* The header in which SHARED_PTR can be found */
#cmakedefine SHARED_PTR_HEADER ${SHARED_PTR_HEADER}
/* The namespace in which SHARED_PTR can be found */
#cmakedefine SHARED_PTR_NAMESPACE ${SHARED_PTR_NAMESPACE}
/* Version number of package */
#define VERSION "@DUNE_MOD_VERSION@"
/* Define to 1 if variadic templates are supported */
#cmakedefine HAVE_VARIADIC_TEMPLATES 1
...
...
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