Debian Codegraph @

channels/urbdrc/common/CMakeLists.txt

raw
1 # FreeRDP: A Remote Desktop Protocol Implementation
2 # FreeRDP cmake build script
3 #
4 # Copyright 2019 Armin Novak <[email protected]>
5 # Copyright 2019 Thincast Technologies GmbH
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 # http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18
19 set(SRCS urbdrc_types.h urbdrc_helpers.h urbdrc_helpers.c msusb.h msusb.c)
20
21 add_library(urbdrc-common STATIC ${SRCS})
22 set_property(TARGET urbdrc-common PROPERTY FOLDER "Channels/${CHANNEL_NAME}/Common")
23
24 freerdp_client_pc_add_library_private(urbdrc-common)
25 channel_install(urbdrc-common ${FREERDP_ADDIN_PATH} "FreeRDPTargets")
26
27 if(BUILD_TESTING_INTERNAL OR BUILD_TESTING)
28 add_subdirectory(test)
29 endif()