diff --git a/src/lib/base/CMakeLists.txt b/src/lib/base/CMakeLists.txt index cb2701950..d3e5a7c2b 100644 --- a/src/lib/base/CMakeLists.txt +++ b/src/lib/base/CMakeLists.txt @@ -1,4 +1,5 @@ # Deskflow -- mouse and keyboard sharing utility +# Copyright (C) 2024 Chris Rizzitello # Copyright (C) 2012-2024 Symless Ltd. # Copyright (C) 2009-2012 Nick Bolton # @@ -14,15 +15,41 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -file(GLOB headers "*.h") -file(GLOB sources "*.cpp") +add_library(base STATIC + ELevel.h + Event.cpp + Event.h + EventQueue.cpp + EventQueue.h + EventTypes.cpp + EventTypes.h + FunctionEventJob.cpp + FunctionEventJob.h + FunctionJob.cpp + FunctionJob.h + IEventJob.h + IEventQueue.h + IEventQueueBuffer.h + IJob.h + ILogOutputter.h + log_outputters.cpp + log_outputters.h + Log.cpp + Log.h + Path.cpp + Path.h + PriorityQueue.h + SimpleEventQueueBuffer.cpp + SimpleEventQueueBuffer.h + Stopwatch.cpp + Stopwatch.h + String.cpp + String.h + TMethodEventJob.h + TMethodJob.h + Unicode.cpp + Unicode.h + XBase.cpp + XBase.h +) -if(ADD_HEADERS_TO_SOURCES) - list(APPEND sources ${headers}) -endif() - -add_library(base STATIC ${sources}) - -if(UNIX) - target_link_libraries(base) -endif()