diff options
author | Brad King <brad.king@kitware.com> | 2009-11-24 16:17:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-11-24 16:17:16 (GMT) |
commit | bb187903979d20c8b8a5ed07276c6af122bad781 (patch) | |
tree | 44f03b45f0c57d718de211bce7a1341d37e5e8b0 /Tests/LinkDirectory/External/myexe.c | |
parent | 02db43239b7e2fd1f6dede9fb7237470ca51b567 (diff) | |
download | CMake-bb187903979d20c8b8a5ed07276c6af122bad781.zip CMake-bb187903979d20c8b8a5ed07276c6af122bad781.tar.gz CMake-bb187903979d20c8b8a5ed07276c6af122bad781.tar.bz2 |
Test CMP0015 OLD and NEW link_directories behavior
We create a LinkDirectory test to check that the policy OLD and NEW
behaviors work as documented. See issue #9697.
Diffstat (limited to 'Tests/LinkDirectory/External/myexe.c')
-rw-r--r-- | Tests/LinkDirectory/External/myexe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/LinkDirectory/External/myexe.c b/Tests/LinkDirectory/External/myexe.c new file mode 100644 index 0000000..6ef1ebe --- /dev/null +++ b/Tests/LinkDirectory/External/myexe.c @@ -0,0 +1,3 @@ +extern int mylibA(void); +extern int mylibB(void); +int main(void) { return mylibA() + mylibB(); } |