mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
[#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.
This commit is contained in:
parent
a14f27474f
commit
1e95421889
@ -35,9 +35,6 @@ endif()
|
|||||||
function(add_gsl_test name)
|
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)
|
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++)
|
target_link_libraries(${name} UnitTest++)
|
||||||
install(TARGETS ${name}
|
|
||||||
RUNTIME DESTINATION bin
|
|
||||||
)
|
|
||||||
add_test(
|
add_test(
|
||||||
${name}
|
${name}
|
||||||
${name}
|
${name}
|
||||||
@ -54,4 +51,4 @@ add_gsl_test(notnull_tests)
|
|||||||
add_gsl_test(assertion_tests)
|
add_gsl_test(assertion_tests)
|
||||||
add_gsl_test(utils_tests)
|
add_gsl_test(utils_tests)
|
||||||
add_gsl_test(owner_tests)
|
add_gsl_test(owner_tests)
|
||||||
add_gsl_test(byte_tests)
|
add_gsl_test(byte_tests)
|
||||||
|
Loading…
Reference in New Issue
Block a user