diff options
author | Leonid Pospelov <pospelovlm@yandex.ru> | 2019-03-24 01:47:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-15 17:05:07 (GMT) |
commit | d145d72e708b7d742fb1324c056ba2c0254dda76 (patch) | |
tree | 005ebcd91ddd9ab8fff3198ec64e8b1a3e50f253 /Tests/RunCMake/VS10Project/VsProjectImport.cmake | |
parent | 4bbd315097fb7161ab245ff0959472729cea2793 (diff) | |
download | CMake-d145d72e708b7d742fb1324c056ba2c0254dda76.zip CMake-d145d72e708b7d742fb1324c056ba2c0254dda76.tar.gz CMake-d145d72e708b7d742fb1324c056ba2c0254dda76.tar.bz2 |
VS: add target property VS_PROJECT_IMPORT_<propspath>
Fixes: #18998
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsProjectImport.cmake')
-rw-r--r-- | Tests/RunCMake/VS10Project/VsProjectImport.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/VsProjectImport.cmake b/Tests/RunCMake/VS10Project/VsProjectImport.cmake new file mode 100644 index 0000000..70bdded --- /dev/null +++ b/Tests/RunCMake/VS10Project/VsProjectImport.cmake @@ -0,0 +1,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} + ) |