summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-05-07 15:16:12 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-05-07 15:17:26 (GMT)
commitfa077acba51393030586aa50f5eff9d6034c5c11 (patch)
tree3e4cee2462589525b03c447d399d868399f57d40 /Tests
parentbe132dc6a6b5a979bdd115880911296e50c961a0 (diff)
parent1527defbfe4ae9cb8f74d5954c790c403727063b (diff)
downloadCMake-fa077acba51393030586aa50f5eff9d6034c5c11.zip
CMake-fa077acba51393030586aa50f5eff9d6034c5c11.tar.gz
CMake-fa077acba51393030586aa50f5eff9d6034c5c11.tar.bz2
Merge topic 'enforce-explicit-use-of-project'
1527defbfe cmMakefile: Enforce explicit use of project() command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3245
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/project_injected/CMP0048-WARN-stderr.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/project_injected/CMP0048-WARN-stderr.txt b/Tests/RunCMake/project_injected/CMP0048-WARN-stderr.txt
new file mode 100644
index 0000000..fc1a02b
--- /dev/null
+++ b/Tests/RunCMake/project_injected/CMP0048-WARN-stderr.txt
@@ -0,0 +1,12 @@
+^CMake Warning \(dev\) in CMakeLists.txt:
+ No project\(\) command is present. The top-level CMakeLists.txt file must
+ contain a literal, direct call to the project\(\) command. Add a line of
+ code such as
+
+ project\(ProjectName\)
+
+ near the top of the file, but after cmake_minimum_required\(\).
+
+ CMake is pretending there is a "project\(Project\)" command on the first
+ line.
+This warning is for project developers. Use -Wno-dev to suppress it.$