diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-07-30 07:51:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-21 13:56:31 (GMT) |
commit | f063c45589e83bf8e4ef61f49b17084debf085a2 (patch) | |
tree | 2de4dc557c9360fc134985d4f34bace214d4ec39 /Tests/RunCMake/CMP0028/RunCMakeTest.cmake | |
parent | 919e1e845361d6e29789f5347d12af3318452843 (diff) | |
download | CMake-f063c45589e83bf8e4ef61f49b17084debf085a2.zip CMake-f063c45589e83bf8e4ef61f49b17084debf085a2.tar.gz CMake-f063c45589e83bf8e4ef61f49b17084debf085a2.tar.bz2 |
Consider targets with double colons to be IMPORTED or ALIAS targets.
Introduce a policy to control the behavior.
The AliasTargets unit test already tests that using a
double-semicolon in the name is not an error. Change the ExportImport
test to use a namespace with a double-semicolon too.
Diffstat (limited to 'Tests/RunCMake/CMP0028/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0028/RunCMakeTest.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0028/RunCMakeTest.cmake b/Tests/RunCMake/CMP0028/RunCMakeTest.cmake new file mode 100644 index 0000000..293e27b --- /dev/null +++ b/Tests/RunCMake/CMP0028/RunCMakeTest.cmake @@ -0,0 +1,5 @@ +include(RunCMake) + +run_cmake(CMP0028-NEW) +run_cmake(CMP0028-OLD) +run_cmake(CMP0028-WARN) |