aboutsummaryrefslogtreecommitdiff
path: root/test/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/CMakeLists.txt')
-rw-r--r--test/common/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/common/CMakeLists.txt b/test/common/CMakeLists.txt
index d2351b38..61222a68 100644
--- a/test/common/CMakeLists.txt
+++ b/test/common/CMakeLists.txt
@@ -10,6 +10,19 @@ add_executable(CruBaseTest
)
target_link_libraries(CruBaseTest PRIVATE CruBase CruTestBase)
+add_executable(CruTestHelperEcho
+ SubProcessHelper/CruEcho.cpp
+)
+
+add_executable(CruTestHelperTee
+ SubProcessHelper/CruTee.cpp
+)
+
+target_compile_definitions(CruBaseTest PRIVATE
+ CRU_TEST_HELPER_ECHO_LOCATION="$<TARGET_FILE:CruTestHelperEcho>"
+ CRU_TEST_HELPER_TEE_LOCATION="$<TARGET_FILE:CruTestHelperTee>"
+)
+
if (UNIX AND NOT EMSCRIPTEN)
target_sources(CruBaseTest PRIVATE
platform/unix/UnixFileStreamTest.cpp