Debian Codegraph @

winpr/libwinpr/library/test/TestLibraryB/CMakeLists.txt

raw
1 # WinPR: Windows Portable Runtime
2 # libwinpr-library cmake build script
3 #
4 # Copyright 2012 Marc-Andre Moreau <[email protected]>
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17
18 set(MODULE_NAME "TestLibraryB")
19 set(MODULE_PREFIX "TEST_LIBRARY_B")
20
21 set(SRCS TestLibraryB.c)
22
23 add_library(${MODULE_NAME} SHARED ${SRCS})
24
25 set_target_properties(${MODULE_NAME} PROPERTIES PREFIX "")
26 set_target_properties(
27 ${MODULE_NAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${TESTING_OUTPUT_DIRECTORY}" RUNTIME_OUTPUT_DIRECTORY
28 "${TESTING_OUTPUT_DIRECTORY}"
29 )
30
31 set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Test/Extra")