aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:34:02 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:34:02 +0300
commit6b009273e76711fd484d436d0b6835cc6aa32089 (patch)
tree5cf230ee2a854247deb6c66eeb2595363d7ab60e /test
parentAppVeyor: reorder images, VS 2019 first (diff)
downloadmath-server-6b009273e76711fd484d436d0b6835cc6aa32089.tar.gz
math-server-6b009273e76711fd484d436d0b6835cc6aa32089.zip
cmake: files are per-directory, not per-extension
Diffstat (limited to 'test')
-rw-r--r--test/benchmarks/CMakeLists.txt4
-rw-r--r--test/unit_tests/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt
index 340dbcc..0e168cc 100644
--- a/test/benchmarks/CMakeLists.txt
+++ b/test/benchmarks/CMakeLists.txt
@@ -1,5 +1,5 @@
-file(GLOB benchmarks_cpp "*.cpp")
-add_executable(benchmarks ${benchmarks_cpp})
+file(GLOB benchmarks_src "*.cpp")
+add_executable(benchmarks ${benchmarks_src})
set_target_properties(benchmarks PROPERTIES OUTPUT_NAME math-server-benchmarks)
target_link_libraries(benchmarks PRIVATE lexer)
diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt
index d84829d..099fc2c 100644
--- a/test/unit_tests/CMakeLists.txt
+++ b/test/unit_tests/CMakeLists.txt
@@ -1,5 +1,5 @@
-file(GLOB unit_tests_cpp "*.cpp")
-add_executable(unit_tests ${unit_tests_cpp})
+file(GLOB unit_tests_src "*.cpp")
+add_executable(unit_tests ${unit_tests_src})
set_target_properties(unit_tests PROPERTIES OUTPUT_NAME math-server-unit-tests)
target_link_libraries(unit_tests PRIVATE lexer parser)