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
72884dcf
Commit
72884dcf
authored
9 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Use less code-blocks.
parent
a1d1d69c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake
+7
-7
7 additions, 7 deletions
cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake
doc/buildsystem/dune-common.rst
+7
-3
7 additions, 3 deletions
doc/buildsystem/dune-common.rst
with
14 additions
and
10 deletions
cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake
+
7
−
7
View file @
72884dcf
...
...
@@ -20,7 +20,7 @@
# This is a cmake builtin command.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-command add_subdirectory
#
...
...
@@ -31,7 +31,7 @@
# This is a cmake builtin command.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-command install
#
...
...
@@ -42,7 +42,7 @@
# This is a cmake builtin command.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-command add_executable
#
...
...
@@ -53,7 +53,7 @@
# This is a cmake builtin command.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-command add_test
#
...
...
@@ -65,7 +65,7 @@
# This is a cmake builtin variable.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-variable CMAKE_\<LANG\>_COMPILER
#
...
...
@@ -77,7 +77,7 @@
# This is a cmake builtin variable.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-variable CMAKE_\<LANG\>_FLAGS
#
...
...
@@ -88,7 +88,7 @@
# This is a cmake builtin command.
# For detailed information, check the cmake documentation:
#
#
.. code-block: bash
#
::
#
# cmake --help-command find_package
#
This diff is collapsed.
Click to expand it.
doc/buildsystem/dune-common.rst
+
7
−
3
View file @
72884dcf
...
...
@@ -276,6 +276,7 @@ to have for each configuration one out-of-source build. We have nevertheless imp
by setting the variable :ref:`ALLOW_CXXFLAGS_OVERWRITE` in your opts file. You can then type:
.. code-block: bash
make CXXFLAGS="<your flags>" <target>
Furthermore any C pre-processor variable of the form :code:`-DVAR=<value>` can be overloaded on the command line
...
...
@@ -304,7 +305,8 @@ Can I disable an external dependency?
To disable an external dependency :code:`Foo`, add
.. code-block:
::
-DCMAKE_DISABLE_FIND_PACKAGE_Foo=TRUE
to your opts file. The name of the dependency is case sensitive but there is no canonical naming
...
...
@@ -321,7 +323,8 @@ How do I switch between parallel and sequential builds?
Dune builds with CMake are parallel if and only if MPI is found. To have a sequential build despite an
installed MPI library, you have to explicitly disable the corresponding find module by setting
.. code-block:
::
-DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE
in the :code:`CMAKE_FLAGS` of your opts file, as described in section :ref:`disable`.
...
...
@@ -346,7 +349,8 @@ the build directory and maybe save some compilation time afterward.
Whenever you experience any problems, your first step should be to delete all build directories. Nice trick:
.. code-block: bash
::
dunecontrol exec rm -rf build-cmake
This will remove all build directories from all DUNE modules.
...
...
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