aboutsummaryrefslogtreecommitdiff
path: root/server-v1/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-07-01 19:47:14 +0000
committerrtk0c <[email protected]>2022-07-01 19:47:14 +0000
commit7f4172d1696ebec6078188ec8dbd9e23ed075aa3 (patch)
treed18658f0e22e905d9d3cfae7eb2fb48fe00eed38 /server-v1/CMakeLists.txt
parent530cfc096962be4d7114335466c449420896ff13 (diff)
Convert server-v1 to use file(GLOB)
git-svn-id: file:///home/arch/svn/epistmool/trunk@11 71f44415-077c-4ad7-a976-72ddbf76608f
Diffstat (limited to 'server-v1/CMakeLists.txt')
-rw-r--r--server-v1/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/server-v1/CMakeLists.txt b/server-v1/CMakeLists.txt
index d869f82..517de35 100644
--- a/server-v1/CMakeLists.txt
+++ b/server-v1/CMakeLists.txt
@@ -10,12 +10,12 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 6.2 COMPONENTS Core Network Sql REQUIRED)
find_package(doctest REQUIRED)
+file(GLOB_RECURSE EpistmoolServer_SRC_HPP_FILES source/*.hpp)
+file(GLOB_RECURSE EpistmoolServer_SRC_CPP_FILES source/*.cpp)
qt_add_executable(EpistmoolServer
- source/all_fwd.hpp
- source/header_only.cpp
- source/main.cpp
+ ${EpistmoolServer_SRC_HPP_FILES}
+ ${EpistmoolServer_SRC_CPP_FILES}
)
-add_subdirectory(source/EpistmoolServer)
target_include_directories(EpistmoolServer PRIVATE source)
target_compile_definitions(EpistmoolServer PRIVATE