aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/main
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:34:02 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:34:02 +0300
commit6b009273e76711fd484d436d0b6835cc6aa32089 (patch)
tree5cf230ee2a854247deb6c66eeb2595363d7ab60e /server/main
parentAppVeyor: reorder images, VS 2019 first (diff)
downloadmath-server-6b009273e76711fd484d436d0b6835cc6aa32089.tar.gz
math-server-6b009273e76711fd484d436d0b6835cc6aa32089.zip
cmake: files are per-directory, not per-extension
Diffstat (limited to 'server/main')
-rw-r--r--server/main/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/main/CMakeLists.txt b/server/main/CMakeLists.txt
index 5457c7b..0111e4b 100644
--- a/server/main/CMakeLists.txt
+++ b/server/main/CMakeLists.txt
@@ -1,8 +1,7 @@
option(DEBUG_ASIO "enable debug output for Boost.Asio" OFF)
-file(GLOB server_cpp "*.cpp")
-file(GLOB server_hpp "*.hpp")
-add_executable(server ${server_cpp} ${server_hpp})
+file(GLOB server_src "*.cpp" "*.hpp")
+add_executable(server ${server_src})
set_target_properties(server PROPERTIES OUTPUT_NAME math-server)
if(DEBUG_ASIO)
target_compile_definitions(server PRIVATE BOOST_ASIO_ENABLE_HANDLER_TRACKING)