diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-07-12 15:17:38 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2018-07-17 13:07:01 (GMT) |
commit | 69ca768e7827c60b07914f248d7730fb7182ce4b (patch) | |
tree | ea516ca4382cb2a736043259dda033af61270498 /Tests/RunCMake/install/testobj1.c | |
parent | 25c3fb6c3512a76d45fd8a70d95fabe2777a4c2d (diff) | |
download | CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.zip CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.tar.gz CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.tar.bz2 |
Tests: Add test for install(TARGETS) RPATH functionality
Diffstat (limited to 'Tests/RunCMake/install/testobj1.c')
-rw-r--r-- | Tests/RunCMake/install/testobj1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/testobj1.c b/Tests/RunCMake/install/testobj1.c new file mode 100644 index 0000000..081ef20 --- /dev/null +++ b/Tests/RunCMake/install/testobj1.c @@ -0,0 +1,9 @@ +#ifdef _WIN32 +__declspec(dllimport) +#endif + int obj1(void); + +int main(void) +{ + return obj1(); +} |