summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeAddNewLanguage.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-09 14:26:51 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-09 14:26:51 (GMT)
commit306796e86206f2b6cf0bd3b66735f2e825c6bcbd (patch)
tree78007f8e683fa67c70432f917b38e3302bdf7ad6 /Modules/CMakeAddNewLanguage.txt
parented9763136acdb8594e4b85ab7b2e4e2828d8b775 (diff)
downloadCMake-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