diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/lexer/CMakeLists.txt | 5 | ||||
-rw-r--r-- | server/main/CMakeLists.txt | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/server/lexer/CMakeLists.txt b/server/lexer/CMakeLists.txt index fffb5a3..68914d9 100644 --- a/server/lexer/CMakeLists.txt +++ b/server/lexer/CMakeLists.txt @@ -1,6 +1,5 @@ -file(GLOB_RECURSE lexer_cpp "*.cpp") -file(GLOB_RECURSE lexer_hpp "*.hpp") -add_library(lexer ${lexer_cpp} ${lexer_hpp}) +file(GLOB_RECURSE lexer_src "*.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 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) |