aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-10-17 21:42:58 +0200
committerNeil MacIntosh <neilmac@microsoft.com>2016-10-17 12:42:58 -0700
commit1e95421889b3f14224cd02984bf713375092f06d (patch)
treeb8a3ee4420d4d66046bb423fd887955995943154
parenta14f27474f09e2c2b5360cb07d777b0ca6ee68b3 (diff)
downloadplatform_external_Microsoft-GSL-1e95421889b3f14224cd02984bf713375092f06d.tar.gz
platform_external_Microsoft-GSL-1e95421889b3f14224cd02984bf713375092f06d.tar.bz2
platform_external_Microsoft-GSL-1e95421889b3f14224cd02984bf713375092f06d.zip
[#392] Don't install tests
'make install' should install the GSL library (ie. the headers), not the tests. It still installs the UnitTest++ headers, but that will be more complex to fix, as GSL just imports UnitTest++ as a git submodule, and the install command propagates down to UnitTest++'s CMakeLists.txt.
-rw-r--r--tests/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index e480474..44db32d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -35,9 +35,6 @@ endif()
function(add_gsl_test name)
add_executable(${name} ${name}.cpp ../gsl/gsl ../gsl/gsl_assert ../gsl/gsl_util ../gsl/multi_span ../gsl/span ../gsl/string_span)
target_link_libraries(${name} UnitTest++)
- install(TARGETS ${name}
- RUNTIME DESTINATION bin
- )
add_test(
${name}
${name}
@@ -54,4 +51,4 @@ add_gsl_test(notnull_tests)
add_gsl_test(assertion_tests)
add_gsl_test(utils_tests)
add_gsl_test(owner_tests)
-add_gsl_test(byte_tests) \ No newline at end of file
+add_gsl_test(byte_tests)