diff options
author | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-04-19 08:44:41 (GMT) |
---|---|---|
committer | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-05-06 08:58:10 (GMT) |
commit | 1527defbfe4ae9cb8f74d5954c790c403727063b (patch) | |
tree | 8c69a42200ac071bb693935dc67e121dd6497dc6 /Tests/RunCMake/project_injected | |
parent | 0f27e7d165c96f2c3ada1695df4f6cfaa44afe51 (diff) | |
download | CMake-1527defbfe4ae9cb8f74d5954c790c403727063b.zip CMake-1527defbfe4ae9cb8f74d5954c790c403727063b.tar.gz CMake-1527defbfe4ae9cb8f74d5954c790c403727063b.tar.bz2 |
cmMakefile: Enforce explicit use of project() command
Fixes: 17714
Diffstat (limited to 'Tests/RunCMake/project_injected')
-rw-r--r-- | Tests/RunCMake/project_injected/CMP0048-WARN-stderr.txt | 12 |
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.$ |