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
Core Modules
dune-common
Commits
e2e8f6ca
Commit
e2e8f6ca
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Plain Diff
Synced with trunk
[[Imported from SVN: r6813]]
parents
6e8a9399
601da3f7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile.am
+2
-2
2 additions, 2 deletions
Makefile.am
cmake/modules/DuneMacros.cmake
+8
-1
8 additions, 1 deletion
cmake/modules/DuneMacros.cmake
dune.module
+1
-1
1 addition, 1 deletion
dune.module
dune/common/shared_ptr.hh
+2
-2
2 additions, 2 deletions
dune/common/shared_ptr.hh
with
13 additions
and
6 deletions
Makefile.am
+
2
−
2
View file @
e2e8f6ca
...
...
@@ -4,8 +4,8 @@
EXTRA_DIST
=
dune.module
# don't follow the full GNU-standard
# need automake
>= 1.5
AUTOMAKE_OPTIONS
=
foreign 1.
5
# need automake
1.9 or newer
AUTOMAKE_OPTIONS
=
foreign 1.
9
SUBDIRS
=
dune lib doc bin m4 am
...
...
This diff is collapsed.
Click to expand it.
cmake/modules/DuneMacros.cmake
+
8
−
1
View file @
e2e8f6ca
...
...
@@ -15,7 +15,12 @@
#
# dune_project()
#
# macro that should be called near the begin of the top level CMakeLists.txt.
# macro that should be called near the beginning of the top level
# CMakeLists.txt. Please make sure to call
#
# project(dune-module-name)
#
# at the very beginning of that file.
# Namely it sets up the module, defines basic variables and manages
# depedencies.
# Don't forget to call finalize_dune_project afterwards.
...
...
@@ -127,6 +132,8 @@ macro(dune_module_information MODULE_DIR)
string
(
REGEX REPLACE
".*Depends:[ ]*([^
\n
]+).*"
"
\\
1"
DUNE_DEPENDS
"
${
MODULE_LINE
}
"
)
endif
(
MODULE_LINE
)
string
(
REGEX REPLACE
".*Suggests:[ ]*([^
\n
]+).*"
"
\\
1"
DUNE_SUGGESTS
"
${
MODULE_LINE
}
"
)
dune_module_to_uppercase
(
DUNE_MOD_NAME_UPPERCASE
${
DUNE_MOD_NAME
}
)
# set module version
...
...
This diff is collapsed.
Click to expand it.
dune.module
+
1
−
1
View file @
e2e8f6ca
Module
:
dune
-
common
Version
:
2.3
-
svn
Maintainer
:
dune
@
dune
-
project
.
org
Maintainer
:
dune
-
devel
@
dune
-
project
.
org
This diff is collapsed.
Click to expand it.
dune/common/shared_ptr.hh
+
2
−
2
View file @
e2e8f6ca
...
...
@@ -386,9 +386,9 @@ namespace Dune
@relates shared_ptr
If you allocate an object on the stack, but want to pass it to a class or function as a shared_ptr,
you can use this deleter to avoid accident
i
al deletion of the stack-allocated object.
you can use this deleter to avoid accidental deletion of the stack-allocated object.
For conv
i
nience we provide two free functions to create a shared_ptr from a stack-allocated object
For conv
e
nience we provide two free functions to create a shared_ptr from a stack-allocated object
(\see stackobject_to_shared_ptr):
1) Convert a stack-allocated object to a shared_ptr:
...
...
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