2012-06-10 16:50:54 +00:00
|
|
|
# synergy -- mouse and keyboard sharing utility
|
2012-09-04 02:09:56 +00:00
|
|
|
# Copyright (C) 2012 Bolton Software Ltd.
|
|
|
|
|
# Copyright (C) 2009 Nick Bolton
|
2012-06-10 16:50:54 +00:00
|
|
|
#
|
|
|
|
|
# This package is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
|
# found in the file COPYING that should have accompanied this file.
|
|
|
|
|
#
|
|
|
|
|
# This package is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2014-02-26 17:46:02 +00:00
|
|
|
set(sources
|
2012-06-10 16:50:54 +00:00
|
|
|
CArch.cpp
|
|
|
|
|
IArchString.cpp
|
|
|
|
|
XArch.cpp
|
|
|
|
|
CArchConsoleStd.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
|
|
2014-02-26 17:46:02 +00:00
|
|
|
set(headers
|
2014-02-05 12:47:26 +00:00
|
|
|
CArch.h
|
2012-06-10 16:50:54 +00:00
|
|
|
CArchConsoleWindows.h
|
|
|
|
|
CArchDaemonWindows.h
|
|
|
|
|
CArchFileWindows.h
|
|
|
|
|
CArchLogWindows.h
|
|
|
|
|
CArchMiscWindows.h
|
|
|
|
|
CArchMultithreadWindows.h
|
|
|
|
|
CArchNetworkWinsock.h
|
|
|
|
|
CArchSleepWindows.h
|
|
|
|
|
CArchStringWindows.h
|
|
|
|
|
CArchSystemWindows.h
|
|
|
|
|
CArchTaskBarWindows.h
|
|
|
|
|
CArchTimeWindows.h
|
|
|
|
|
CArchConsoleStd.h
|
|
|
|
|
XArchWindows.h
|
|
|
|
|
CMultibyte.h
|
|
|
|
|
vsnprintf.h
|
|
|
|
|
XArch.h
|
|
|
|
|
IArchPlugin.h
|
|
|
|
|
CArchPluginWindows.h
|
2014-02-04 19:41:29 +00:00
|
|
|
CArchInternetWindows.h
|
2012-06-10 16:50:54 +00:00
|
|
|
)
|
|
|
|
|
|
2014-02-26 17:46:02 +00:00
|
|
|
list(APPEND sources
|
|
|
|
|
${headers}
|
2012-06-10 16:50:54 +00:00
|
|
|
CArchConsoleWindows.cpp
|
|
|
|
|
CArchDaemonWindows.cpp
|
|
|
|
|
CArchFileWindows.cpp
|
|
|
|
|
CArchLogWindows.cpp
|
|
|
|
|
CArchMiscWindows.cpp
|
|
|
|
|
CArchMultithreadWindows.cpp
|
|
|
|
|
CArchNetworkWinsock.cpp
|
|
|
|
|
CArchSleepWindows.cpp
|
|
|
|
|
CArchStringWindows.cpp
|
|
|
|
|
CArchSystemWindows.cpp
|
|
|
|
|
CArchTaskBarWindows.cpp
|
|
|
|
|
CArchTimeWindows.cpp
|
|
|
|
|
XArchWindows.cpp
|
|
|
|
|
CArchPluginWindows.cpp
|
2014-02-04 19:41:29 +00:00
|
|
|
CArchInternetWindows.cpp
|
2012-06-10 16:50:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
elseif (UNIX)
|
|
|
|
|
|
2014-02-26 17:46:02 +00:00
|
|
|
list(APPEND sources
|
2012-06-10 16:50:54 +00:00
|
|
|
CArchConsoleUnix.cpp
|
|
|
|
|
CArchDaemonUnix.cpp
|
|
|
|
|
CArchFileUnix.cpp
|
|
|
|
|
CArchLogUnix.cpp
|
|
|
|
|
CArchMultithreadPosix.cpp
|
|
|
|
|
CArchNetworkBSD.cpp
|
|
|
|
|
CArchSleepUnix.cpp
|
|
|
|
|
CArchStringUnix.cpp
|
|
|
|
|
CArchSystemUnix.cpp
|
|
|
|
|
CArchTaskBarXWindows.cpp
|
|
|
|
|
CArchTimeUnix.cpp
|
|
|
|
|
XArchUnix.cpp
|
|
|
|
|
CArchDaemonNone.cpp
|
|
|
|
|
CArchPluginUnix.cpp
|
2014-02-04 19:41:29 +00:00
|
|
|
CArchInternetUnix.cpp
|
2012-06-10 16:50:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
2014-02-26 17:46:02 +00:00
|
|
|
include_directories(
|
2012-06-10 16:50:54 +00:00
|
|
|
../base
|
|
|
|
|
../common
|
|
|
|
|
../mt
|
|
|
|
|
../platform
|
|
|
|
|
../synergy
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if (UNIX)
|
2014-02-26 17:46:02 +00:00
|
|
|
include_directories(
|
2012-06-10 16:50:54 +00:00
|
|
|
../../..
|
|
|
|
|
../arch
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
2014-02-26 17:46:02 +00:00
|
|
|
add_library(arch STATIC ${sources})
|