2011-01-28 19:00:01 +00:00
|
|
|
# synergy -- mouse and keyboard sharing utility
|
|
|
|
# Copyright (C) 2009 Chris Schoeneman, Nick Bolton, Sorin Sbarnea
|
|
|
|
#
|
|
|
|
# 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/>.
|
|
|
|
|
2011-02-15 07:44:21 +00:00
|
|
|
# Include all files that have unit tests
|
2011-04-22 20:32:29 +00:00
|
|
|
SET(tests
|
|
|
|
${root_dir}/src/unittest/synergy/CClipboardTests.cpp
|
|
|
|
${root_dir}/src/unittest/synergy/HelloWorldTests.cpp
|
2011-02-15 07:44:21 +00:00
|
|
|
)
|
|
|
|
|
2011-04-22 20:32:29 +00:00
|
|
|
SET(inc
|
2011-01-28 19:00:01 +00:00
|
|
|
${root_dir}
|
|
|
|
${root_dir}/lib
|
|
|
|
${root_dir}/lib/arch
|
|
|
|
${root_dir}/lib/base
|
|
|
|
${root_dir}/lib/client
|
|
|
|
${root_dir}/lib/common
|
|
|
|
${root_dir}/lib/io
|
|
|
|
${root_dir}/lib/mt
|
|
|
|
${root_dir}/lib/net
|
|
|
|
${root_dir}/lib/platform
|
|
|
|
${root_dir}/lib/synergy
|
|
|
|
${root_dir}/third_party/gtest
|
|
|
|
${root_dir}/third_party/gtest/include
|
|
|
|
)
|
|
|
|
|
2011-04-22 20:32:29 +00:00
|
|
|
INCLUDE_DIRECTORIES(${inc})
|
|
|
|
ADD_EXECUTABLE(tests ${root_dir}/third_party/gtest/src/gtest_main.cc ${tests})
|
2011-02-15 07:44:14 +00:00
|
|
|
TARGET_LINK_LIBRARIES(tests synergy gtest ${libs})
|