diff options
author | Oleg Morozenkov <o.morozenkov@corp.mail.ru> | 2022-11-01 19:43:42 +0300 |
---|---|---|
committer | Oleg Morozenkov <o.morozenkov@corp.mail.ru> | 2022-11-01 19:43:42 +0300 |
commit | e96d3a3d4f023dc0d5d4e60fb8efb5a40ce7a71d (patch) | |
tree | f57f44b1448204120229bd83f3654b32e3df79ed /samples/echobot-curl-client | |
parent | 30136601c6755e5d7c2174ebd4ed49595e10a54b (diff) | |
parent | 7abb2509b87ef1344da97ae734211715f291cfa2 (diff) |
Merge remote-tracking branch 'llnulldisk/master' into merge-228
Diffstat (limited to 'samples/echobot-curl-client')
-rw-r--r-- | samples/echobot-curl-client/CMakeLists.txt | 6 | ||||
-rw-r--r-- | samples/echobot-curl-client/Dockerfile | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/samples/echobot-curl-client/CMakeLists.txt b/samples/echobot-curl-client/CMakeLists.txt index 75d9c58..74b45c5 100644 --- a/samples/echobot-curl-client/CMakeLists.txt +++ b/samples/echobot-curl-client/CMakeLists.txt @@ -1,7 +1,9 @@ -cmake_minimum_required(VERSION 2.8.4) +cmake_minimum_required(VERSION 3.10.2) project(echobot-curl-client) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") +set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") set(Boost_USE_MULTITHREADED ON) find_package(Threads REQUIRED) diff --git a/samples/echobot-curl-client/Dockerfile b/samples/echobot-curl-client/Dockerfile index a7aa61a..2954ceb 100644 --- a/samples/echobot-curl-client/Dockerfile +++ b/samples/echobot-curl-client/Dockerfile @@ -1,8 +1,8 @@ FROM reo7sp/tgbot-cpp MAINTAINER Oleg Morozenkov <a@reo7sp.ru> -WORKDIR /usr/src/echobot +WORKDIR /usr/src/echobot-curl-client COPY . . RUN cmake . RUN make -j4 -CMD ./echobot +CMD ./echobot-curl-client |