aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/Dockerfile2
-rw-r--r--server/lexer/CMakeLists.txt2
-rw-r--r--server/main/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/Dockerfile b/server/Dockerfile
index ae9fbc5..376cd76 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -1,7 +1,7 @@
# To build, run from the top-level directory:
# docker build -f server/Dockerfile -t egortensin/math-server .
-FROM alpine:3.17 AS base
+FROM alpine:3.18 AS base
ARG src_dir=/usr/src/math-server
diff --git a/server/lexer/CMakeLists.txt b/server/lexer/CMakeLists.txt
index 1f053a6..9ac332c 100644
--- a/server/lexer/CMakeLists.txt
+++ b/server/lexer/CMakeLists.txt
@@ -1,6 +1,6 @@
find_package(Boost REQUIRED COMPONENTS regex)
-file(GLOB_RECURSE lexer_src "*.cpp" "*.hpp")
+file(GLOB_RECURSE lexer_src CONFIGURE_DEPENDS "*.cpp" "*.hpp")
add_library(lexer ${lexer_src})
target_include_directories(lexer PUBLIC ..)
target_link_libraries(lexer PUBLIC common)
diff --git a/server/main/CMakeLists.txt b/server/main/CMakeLists.txt
index 6260275..3a23acf 100644
--- a/server/main/CMakeLists.txt
+++ b/server/main/CMakeLists.txt
@@ -5,7 +5,7 @@ find_package(Threads REQUIRED)
option(DEBUG_ASIO "enable debug output for Boost.Asio" OFF)
-file(GLOB server_src "*.cpp" "*.hpp")
+file(GLOB server_src CONFIGURE_DEPENDS "*.cpp" "*.hpp")
add_executable(server ${server_src})
set_target_properties(server PROPERTIES OUTPUT_NAME math-server)
if(DEBUG_ASIO)