FreeRDP/cunit/CMakeLists.txt

69 lines
1.8 KiB
CMake
Raw Normal View History

2011-07-02 21:58:55 +04:00
# FreeRDP: A Remote Desktop Protocol Client
# cunit cmake build script
#
# Copyright 2011 O.S. Systems Software Ltda.
# Copyright 2011 Otavio Salvador <otavio@ossystems.com.br>
# Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2011-07-01 06:12:54 +04:00
include_directories(${CUNIT_INCLUDE_DIRS})
include_directories(${CMAKE_SOURCE_DIR}) # for some internal tests
2011-07-03 11:54:32 +04:00
include_directories(../libfreerdp-core)
2011-07-01 06:12:54 +04:00
include_directories(../libfreerdp-gdi)
include_directories(../libfreerdp-cache)
2011-07-01 06:12:54 +04:00
add_executable(test_freerdp
test_per.c
test_per.h
test_ber.c
test_ber.h
test_gcc.c
test_gcc.h
test_mcs.c
test_mcs.h
2011-07-01 06:12:54 +04:00
test_color.c
test_color.h
2011-07-10 08:24:09 +04:00
test_bitmap.c
test_bitmap.h
2011-07-01 06:12:54 +04:00
test_libgdi.c
test_libgdi.h
test_list.c
test_list.h
2011-08-04 03:15:37 +04:00
test_orders.c
test_orders.h
2011-07-13 19:40:19 +04:00
test_license.c
test_license.h
2011-07-02 21:58:55 +04:00
test_stream.c
test_stream.h
2011-07-08 07:26:38 +04:00
test_utils.c
test_utils.h
test_chanman.c
test_chanman.h
test_cliprdr.c
test_cliprdr.h
test_drdynvc.c
test_drdynvc.h
2011-07-01 06:12:54 +04:00
test_freerdp.c
test_freerdp.h)
target_link_libraries(test_freerdp ${CUNIT_LIBRARIES})
2011-07-01 06:12:54 +04:00
2011-07-03 11:54:32 +04:00
target_link_libraries(test_freerdp freerdp-core)
2011-07-01 06:12:54 +04:00
target_link_libraries(test_freerdp freerdp-gdi)
target_link_libraries(test_freerdp freerdp-utils)
target_link_libraries(test_freerdp freerdp-chanman)
2011-07-01 06:12:54 +04:00
add_test(CUnitTests ${EXECUTABLE_OUTPUT_PATH}/test_freerdp)