diff options
author | Brad King <brad.king@kitware.com> | 2012-11-09 14:26:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-09 14:26:51 (GMT) |
commit | 306796e86206f2b6cf0bd3b66735f2e825c6bcbd (patch) | |
tree | 78007f8e683fa67c70432f917b38e3302bdf7ad6 /Modules/CMakeAddNewLanguage.txt | |
parent | ed9763136acdb8594e4b85ab7b2e4e2828d8b775 (diff) | |
download | CMake-306796e86206f2b6cf0bd3b66735f2e825c6bcbd.zip CMake-306796e86206f2b6cf0bd3b66735f2e825c6bcbd.tar.gz CMake-306796e86206f2b6cf0bd3b66735f2e825c6bcbd.tar.bz2 |
Teach BuildDepends test to cover LINK_DEPENDS_NO_SHARED
Build a shared library and an executable linking to it inside the inner
test. Set LINK_DEPENDS_NO_SHARED on the executable. Add a custom
target to compare the output file times. Verify that on the first build
the executable is newer than the library. Then modify a library source
file. Verify that on the second build the library is newer because the
executable did not have a dependency to re-link.
Diffstat (limited to 'Modules/CMakeAddNewLanguage.txt')
0 files changed, 0 insertions, 0 deletions