build(lib/base): Explicit Sources
This commit is contained in:
parent
da4b85b3fb
commit
ba97d63403
1 changed files with 38 additions and 11 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# Deskflow -- mouse and keyboard sharing utility
|
||||
# Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue