build(lib/client): Explicit Sources
This commit is contained in:
parent
ba97d63403
commit
10f7b05a73
1 changed files with 9 additions and 8 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
# Deskflow -- mouse and keyboard sharing utility
|
# Deskflow -- mouse and keyboard sharing utility
|
||||||
|
# Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
|
||||||
# Copyright (C) 2012-2024 Symless Ltd.
|
# Copyright (C) 2012-2024 Symless Ltd.
|
||||||
# Copyright (C) 2009-2012 Nick Bolton
|
# Copyright (C) 2009-2012 Nick Bolton
|
||||||
#
|
#
|
||||||
|
|
@ -14,14 +15,14 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
file(GLOB headers "*.h")
|
add_library(client STATIC
|
||||||
file(GLOB sources "*.cpp")
|
Client.cpp
|
||||||
|
Client.h
|
||||||
if(ADD_HEADERS_TO_SOURCES)
|
HelloBack.cpp
|
||||||
list(APPEND sources ${headers})
|
HelloBack.h
|
||||||
endif()
|
ServerProxy.cpp
|
||||||
|
ServerProxy.h
|
||||||
add_library(client STATIC ${sources})
|
)
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_link_libraries(client app io)
|
target_link_libraries(client app io)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue