~ubuntu-branches/ubuntu/utopic/cmake/utopic

« back to all changes in this revision

Viewing changes to Tests/RunCMake/CMP0022/CMP0022-WARN.cmake

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-10-10 12:54:39 UTC
  • mfrom: (1.14.7)
  • Revision ID: package-import@ubuntu.com-20131010125439-h0ahaj004on6oj92
Tags: 2.8.12-0ubuntu1
New upstream release LP: #1246701

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
project(CMP0022-WARN)
 
3
 
 
4
add_library(foo SHARED empty_vs6_1.cpp)
 
5
add_library(bar SHARED empty_vs6_2.cpp)
 
6
add_library(bat SHARED empty_vs6_3.cpp)
 
7
set_property(TARGET bar PROPERTY INTERFACE_LINK_LIBRARIES foo)
 
8
set_property(TARGET bar PROPERTY LINK_INTERFACE_LIBRARIES bat)
 
9
 
 
10
add_library(user empty.cpp)
 
11
target_link_libraries(user bar)