diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-04-16 21:58:02 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-04-25 16:14:00 (GMT) |
commit | c74698cb75b9923517f7f87eacf04ca0eefc8e72 (patch) | |
tree | 890d752d404fe359c616ccf8bfa33e426fe46327 /Tests/CMakeLib/CMakeLists.txt | |
parent | 8cfd25db711c22f9478e565a496145577df24d77 (diff) | |
download | CMake-c74698cb75b9923517f7f87eacf04ca0eefc8e72.zip CMake-c74698cb75b9923517f7f87eacf04ca0eefc8e72.tar.gz CMake-c74698cb75b9923517f7f87eacf04ca0eefc8e72.tar.bz2 |
cmUVStreambuf: Add std::streambuf implementation for uv_stream_t
This will allow std::istream/std::ostream-based interaction with
processes spawned by libuv.
Diffstat (limited to 'Tests/CMakeLib/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLib/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CMakeLib/CMakeLists.txt b/Tests/CMakeLib/CMakeLists.txt index 031ab01..e04bba2 100644 --- a/Tests/CMakeLib/CMakeLists.txt +++ b/Tests/CMakeLib/CMakeLists.txt @@ -16,9 +16,11 @@ set(CMakeLib_TESTS testXMLSafe.cxx testFindPackageCommand.cxx testUVRAII.cxx + testUVStreambuf.cxx ) set(testRST_ARGS ${CMAKE_CURRENT_SOURCE_DIR}) +set(testUVStreambuf_ARGS $<TARGET_FILE:cmake>) if(WIN32) list(APPEND CMakeLib_TESTS @@ -43,7 +45,7 @@ target_link_libraries(testEncoding cmsys) foreach(testfile ${CMakeLib_TESTS}) get_filename_component(test "${testfile}" NAME_WE) - add_test(CMakeLib.${test} CMakeLibTests ${test} ${${test}_ARGS}) + add_test(NAME CMakeLib.${test} COMMAND CMakeLibTests ${test} ${${test}_ARGS}) endforeach() if(TEST_CompileCommandOutput) |