Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
4fd60241
Commit
4fd60241
authored
Sep 12, 2013
by
Stephen Kelly
Committed by
Brad King
Oct 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMP0022: Add unit test for null pointer check and message.
parent
c54fb6fe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
0 deletions
+29
-0
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-result.txt
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-result.txt
+1
-0
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
+17
-0
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old.cmake
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old.cmake
+10
-0
Tests/RunCMake/CMP0022/RunCMakeTest.cmake
Tests/RunCMake/CMP0022/RunCMakeTest.cmake
+1
-0
No files found.
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-result.txt
0 → 100644
View file @
4fd60241
0
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
0 → 100644
View file @
4fd60241
CMake Warning \(dev\) in CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "bar" has a INTERFACE_LINK_LIBRARIES property which differs from its
LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
foo
LINK_INTERFACE_LIBRARIES:
\(empty\)
This warning is for project developers. Use -Wno-dev to suppress it.
Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old.cmake
0 → 100644
View file @
4fd60241
project
(
CMP0022-WARN-empty-old
)
add_library
(
foo SHARED empty_vs6_1.cpp
)
add_library
(
bar SHARED empty_vs6_2.cpp
)
set_property
(
TARGET bar PROPERTY INTERFACE_LINK_LIBRARIES foo
)
add_library
(
user empty.cpp
)
target_link_libraries
(
user bar
)
Tests/RunCMake/CMP0022/RunCMakeTest.cmake
View file @
4fd60241
...
...
@@ -3,6 +3,7 @@ include(RunCMake)
run_cmake
(
CMP0022-WARN
)
run_cmake
(
CMP0022-WARN-tll
)
run_cmake
(
CMP0022-WARN-static
)
run_cmake
(
CMP0022-WARN-empty-old
)
run_cmake
(
CMP0022-NOWARN-static
)
run_cmake
(
CMP0022-NOWARN-static-link_libraries
)
run_cmake
(
CMP0022-export
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment