diff options
author | Brad King <brad.king@kitware.com> | 2015-09-02 20:09:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-02 20:11:29 (GMT) |
commit | 18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5 (patch) | |
tree | a6ddd54a4106f616f49a785f95bb1e593cea9e02 /Tests/RunCMake/LinkStatic/LinkStatic.c | |
parent | 9e21b01a4d4781cdcfb8990bdf72a11c83da3887 (diff) | |
download | CMake-18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5.zip CMake-18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5.tar.gz CMake-18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5.tar.bz2 |
Tests: Move LINK_SEARCH_{START,END}_STATIC case to dedicated test
The test case added to RunCMake.set_property by commit 675ef165 (Allow
LINK_SEARCH_{START,END}_STATIC props to have default values, 2015-08-07)
is not a test of the set_property command and so belongs in its own test
case. Create a new RunCMake.LinkStatic test to cover cases related to
static linking.
While at it, simplify the LINK_SEARCH_STATIC test case to enable only C.
Diffstat (limited to 'Tests/RunCMake/LinkStatic/LinkStatic.c')
-rw-r--r-- | Tests/RunCMake/LinkStatic/LinkStatic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/LinkStatic/LinkStatic.c b/Tests/RunCMake/LinkStatic/LinkStatic.c new file mode 100644 index 0000000..3600977 --- /dev/null +++ b/Tests/RunCMake/LinkStatic/LinkStatic.c @@ -0,0 +1,5 @@ +#include <math.h> +int main(void) +{ + return (int)sin(0); +} |