diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-06-17 08:51:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-17 12:02:33 (GMT) |
commit | 0951b1fe072da311e9adb55337ef364e2b6c01d0 (patch) | |
tree | d913a6530d58ae2e9197614107143a4cf8f8ba39 /Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/lib.c | |
parent | 2ae33f7ace90c0fbe0fae43de5a55d5d31dde4bc (diff) | |
download | CMake-0951b1fe072da311e9adb55337ef364e2b6c01d0.zip CMake-0951b1fe072da311e9adb55337ef364e2b6c01d0.tar.gz CMake-0951b1fe072da311e9adb55337ef364e2b6c01d0.tar.bz2 |
Tests: Split RunCMake.target_link_libraries test
Fixes: #20836
Diffstat (limited to 'Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/lib.c')
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/lib.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/lib.c b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/lib.c new file mode 100644 index 0000000..b2d1b66 --- /dev/null +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/lib.c @@ -0,0 +1,10 @@ + +#if defined(_WIN32) +__declspec(dllimport) +#endif + void func_c(); + +void lib() +{ + func_c(); +} |