From 354ed1ac85eeb50c6ae2f058b16a09d4fdd2f89c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 13 Dec 2019 00:27:25 +0300 Subject: rename executables --- server/Dockerfile | 4 ++-- server/main/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/Dockerfile b/server/Dockerfile index 9c9adea..322c07f 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -27,6 +27,6 @@ RUN "$src_dir/cmake/build/build.py" \ --clean \ --configuration Release \ -- -DENABLE_TESTS=ON \ - && /usr/local/bin/test/unit_tests --log_level=all + && /usr/local/bin/math-server-unit-tests --log_level=all -CMD ["/usr/local/bin/server"] +CMD ["/usr/local/bin/math-server"] diff --git a/server/main/CMakeLists.txt b/server/main/CMakeLists.txt index d1d06b0..25ca7be 100644 --- a/server/main/CMakeLists.txt +++ b/server/main/CMakeLists.txt @@ -18,4 +18,6 @@ if(DEBUG_ASIO) target_compile_definitions(server PRIVATE BOOST_ASIO_ENABLE_HANDLER_TRACKING) endif() +set_target_properties(server PROPERTIES OUTPUT_NAME math-server) + install(TARGETS server RUNTIME DESTINATION bin) -- cgit v1.2.3