From 288d0b363bdb6328e483530c59a6509a7f545e5e Mon Sep 17 00:00:00 2001 From: Ludovic 'Archivist' Lagouardette Date: Wed, 12 Jul 2023 17:37:44 +0200 Subject: [PATCH] Remove generic executable name for a less generic one --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d410da5..4162a35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,10 +27,10 @@ add_executable(ushell script_exe/main.cpp) target_link_libraries(ushell PUBLIC UserScript) include_directories(include) -add_executable(tests tests/lexer_test.cpp tests/parser_test.cpp) -target_link_libraries(tests PUBLIC UserScript Catch2::Catch2WithMain) +add_executable(userscript_tests tests/lexer_test.cpp tests/parser_test.cpp) +target_link_libraries(userscript_tests PUBLIC UserScript Catch2::Catch2WithMain) -catch_discover_tests(tests) +catch_discover_tests(userscript_tests) function(add_script_test [testname filename resultname]) message("Added test: ${ARGV0}")