Fix changelog email address
[freerdp-ubuntu-pcb-backport.git] / channels / rdpdr / CMakeLists.txt
1 # FreeRDP: A Remote Desktop Protocol Client
2 # FreeRDP cmake build script
3 #
4 # Copyright 2011 O.S. Systems Software Ltda.
5 # Copyright 2011 Otavio Salvador <otavio@ossystems.com.br>
6 # Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
7 #
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #     http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19
20 set(RDPDR_SRCS
21         rdpdr_constants.h
22         rdpdr_types.h
23         rdpdr_capabilities.c
24         rdpdr_capabilities.h
25         devman.c
26         devman.h
27         irp.c
28         irp.h
29         rdpdr_main.c
30         rdpdr_main.h
31 )
32
33 add_library(rdpdr ${RDPDR_SRCS})
34 set_target_properties(rdpdr PROPERTIES PREFIX "")
35
36 target_link_libraries(rdpdr freerdp-utils)
37
38 install(TARGETS rdpdr DESTINATION ${FREERDP_PLUGIN_PATH})
39
40 add_subdirectory(disk)
41 add_subdirectory(printer)
42 add_subdirectory(parallel)
43 add_subdirectory(serial)
44
45 if(WITH_PCSC)
46         add_subdirectory(smartcard)
47 endif()