summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/VsProjectImport.cmake
blob: 70bddedf81d3c8888452b317ac4567c2449aed73 (plain)
1
2
3
4
5
6
7
8
9
10
11
enable_language(CXX)
add_library(foo foo.cpp)

set(test1Import "path/to/nuget_packages/Foo.1.0.0/build/Foo.props")
set(test2Import "path/to/nuget_packages/Bar.1.0.0/build/Bar.props")

set_property(TARGET foo PROPERTY
  VS_PROJECT_IMPORT
    ${test1Import}
    ${test2Import}
  )