aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 20:48:20 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 20:48:20 +0200
commita746e75a645f9ff00de03863bcba4add23a9c48e (patch)
treef223ec4e49281d7314a08b02767ad2b15adad6da /test/unit_tests
parentcmake: treat warnings as error (diff)
downloadmath-server-a746e75a645f9ff00de03863bcba4add23a9c48e.tar.gz
math-server-a746e75a645f9ff00de03863bcba4add23a9c48e.zip
cmake: prettify CMakeLists.txt files
Diffstat (limited to 'test/unit_tests')
-rw-r--r--test/unit_tests/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt
index cf348f7..390d223 100644
--- a/test/unit_tests/CMakeLists.txt
+++ b/test/unit_tests/CMakeLists.txt
@@ -6,7 +6,8 @@ set_target_properties(unit_tests PROPERTIES OUTPUT_NAME math-server-unit-tests)
target_link_libraries(unit_tests PRIVATE lexer parser)
target_link_libraries(unit_tests PRIVATE
Boost::disable_autolinking
- Boost::unit_test_framework)
+ Boost::unit_test_framework
+)
install(TARGETS unit_tests RUNTIME DESTINATION bin)
if(MSVC)
install(FILES $<TARGET_PDB_FILE:unit_tests> DESTINATION bin OPTIONAL)
@@ -20,4 +21,5 @@ add_test(NAME unit_tests COMMAND Python3::Interpreter
--pass-regex [=[^\*\*\* No errors detected$]=]
--
"$<TARGET_FILE:unit_tests>"
- --no_color_output)
+ --no_color_output
+)