Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Mattias Ellert
CMake
Commits
538e699e
Commit
538e699e
authored
6 years ago
by
Joachim Wuttke
Browse files
Options
Downloads
Patches
Plain Diff
Help: for command enable_testing, explain relation to module CTest.
parent
8f05be99
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Help/command/add_test.rst
+2
-1
2 additions, 1 deletion
Help/command/add_test.rst
Help/command/enable_testing.rst
+11
-4
11 additions, 4 deletions
Help/command/enable_testing.rst
with
13 additions
and
5 deletions
Help/command/add_test.rst
+
2
−
1
View file @
538e699e
...
...
@@ -55,7 +55,8 @@ file produced by target ``myexe``.
CMake will generate tests only if the :command:`enable_testing`
command has been invoked. The :module:`CTest` module invokes the
command automatically when the ``BUILD_TESTING`` option is ``ON``.
command automatically unless the ``BUILD_TESTING`` option is turned
``OFF``.
---------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Help/command/enable_testing.rst
+
11
−
4
View file @
538e699e
...
...
@@ -7,7 +7,14 @@ Enable testing for current directory and below.
enable_testing()
Enables testing for this directory and below. See also the
:command:`add_test` command. Note that ctest expects to find a test file
in the build directory root. Therefore, this command should be in the
source directory root.
Enables testing for this directory and below.
This command should be in the source directory root
because ctest expects to find a test file in the build
directory root.
This command is automatically invoked when the :module:`CTest`
module is included, except if the ``BUILD_TESTING`` option is
turned off.
See also the :command:`add_test` command.
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