diff options
author | Brad King <brad.king@kitware.com> | 2018-04-26 12:55:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-04-26 12:55:19 (GMT) |
commit | e52cf1034f1cb712dca28131fc113db0fb580db9 (patch) | |
tree | 69dd7745865841642522015ef1e96c2021355902 /Tests/RunCMake/CSharpReferenceImport/ReferenceImportNative.cxx | |
parent | 6fd60c6ef0053406b4a88fc2b79c00f49c5bac7a (diff) | |
parent | de549083e34906e4778a709497adc99f7f0dccbb (diff) | |
download | CMake-e52cf1034f1cb712dca28131fc113db0fb580db9.zip CMake-e52cf1034f1cb712dca28131fc113db0fb580db9.tar.gz CMake-e52cf1034f1cb712dca28131fc113db0fb580db9.tar.bz2 |
Merge topic 'csharp_reference_imported_targets'
de549083e3 cmVisualStudio10TargetGenerator: warn if /clr flag is set manually
59ec7d50bd cmVisualStudio10TargetGenerator: fix for backward compatibility
663f5120f4 cmGlobalVisualStudioGenerator: remove TargetCanBeReferenced()
359544a907 add tests for using target_link_libraries() with imported managed targets
43571073e0 cmVisualStudio10TargetGenerator: store managed reference information in maps
16fec7e2fc cmVisualStudio10TargetGenerator: make some methods config aware
f3c6828876 cmVisualStudio10TargetGenerator: /clr compatible flags for managed tgt
f9042d807d remove TargetIsCSharpOnly() and use methods from cmGeneratorTarget
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1805
Diffstat (limited to 'Tests/RunCMake/CSharpReferenceImport/ReferenceImportNative.cxx')
-rw-r--r-- | Tests/RunCMake/CSharpReferenceImport/ReferenceImportNative.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/CSharpReferenceImport/ReferenceImportNative.cxx b/Tests/RunCMake/CSharpReferenceImport/ReferenceImportNative.cxx new file mode 100644 index 0000000..831a2c4 --- /dev/null +++ b/Tests/RunCMake/CSharpReferenceImport/ReferenceImportNative.cxx @@ -0,0 +1,13 @@ +// clang-format off + +#include "ImportLibNative.h" +#include "ImportLibMixedNative.h" + +#include <iostream> + +int main() +{ + std::cout << "ReferenceImportNative" << std::endl; + ImportLibNative::Message(); + ImportLibMixedNative::Message(); +}; |