aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-13 00:27:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-13 00:30:00 +0300
commit354ed1ac85eeb50c6ae2f058b16a09d4fdd2f89c (patch)
tree5768f6d2e43efa0ceeb10909480ad9ff5f8e581e /server
parentAppVeyor: package artifacts (diff)
downloadmath-server-354ed1ac85eeb50c6ae2f058b16a09d4fdd2f89c.tar.gz
math-server-354ed1ac85eeb50c6ae2f058b16a09d4fdd2f89c.zip
rename executables
Diffstat (limited to 'server')
-rw-r--r--server/Dockerfile4
-rw-r--r--server/main/CMakeLists.txt2
2 files changed, 4 insertions, 2 deletions
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)