Blame winpr/include/CMakeLists.txt
|
Packit Service |
fa4841 |
# WinPR: Windows Portable Runtime
|
|
Packit Service |
fa4841 |
# winpr cmake build script
|
|
Packit Service |
fa4841 |
#
|
|
Packit Service |
fa4841 |
# Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
Packit Service |
fa4841 |
#
|
|
Packit Service |
fa4841 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit Service |
fa4841 |
# you may not use this file except in compliance with the License.
|
|
Packit Service |
fa4841 |
# You may obtain a copy of the License at
|
|
Packit Service |
fa4841 |
#
|
|
Packit Service |
fa4841 |
# http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit Service |
fa4841 |
#
|
|
Packit Service |
fa4841 |
# Unless required by applicable law or agreed to in writing, software
|
|
Packit Service |
fa4841 |
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit Service |
fa4841 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit Service |
fa4841 |
# See the License for the specific language governing permissions and
|
|
Packit Service |
fa4841 |
# limitations under the License.
|
|
Packit Service |
fa4841 |
|
|
Packit Service |
fa4841 |
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/winpr/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/winpr/version.h)
|
|
Packit Service |
fa4841 |
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/winpr/wtypes.h.in ${CMAKE_CURRENT_BINARY_DIR}/winpr/wtypes.h)
|
|
Packit Service |
fa4841 |
set(WINPR_INSTALL_INCLUDE_DIR include/winpr${WINPR_VERSION_MAJOR}/winpr)
|
|
Packit Service |
fa4841 |
|
|
Packit Service |
fa4841 |
file(GLOB WINPR_HEADERS "winpr/*.h")
|
|
Packit Service |
fa4841 |
install(FILES ${WINPR_HEADERS} DESTINATION ${WINPR_INSTALL_INCLUDE_DIR} COMPONENT headers)
|
|
Packit Service |
fa4841 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/winpr/version.h DESTINATION ${WINPR_INSTALL_INCLUDE_DIR} COMPONENT headers)
|
|
Packit Service |
fa4841 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/winpr/wtypes.h DESTINATION ${WINPR_INSTALL_INCLUDE_DIR} COMPONENT headers)
|
|
Packit Service |
fa4841 |
install(DIRECTORY winpr/tools DESTINATION ${WINPR_INSTALL_INCLUDE_DIR} COMPONENT headers FILES_MATCHING PATTERN "*.h")
|