| [16cceaa] | 1 | ######################
|
|---|
| 2 | #
|
|---|
| 3 | # Copyright (C) 2015 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
|
|---|
| 4 | #
|
|---|
| 5 | # This library is free software; you can redistribute it and/or
|
|---|
| 6 | # modify it under the terms of the GNU Lesser General Public
|
|---|
| 7 | # License as published by the Free Software Foundation; either
|
|---|
| 8 | # version 2.1 of the License, or (at your option) any later version.
|
|---|
| 9 | #
|
|---|
| 10 | # This library is distributed in the hope that it will be useful,
|
|---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|---|
| 13 | # Lesser General Public License for more details.
|
|---|
| 14 | #
|
|---|
| 15 | # You should have received a copy of the GNU Lesser General Public
|
|---|
| 16 | # License along with this library; if not, write to the Free Software
|
|---|
| 17 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|---|
| 18 | # MA 02110-1301 USA.
|
|---|
| 19 | #
|
|---|
| 20 | ######################
|
|---|
| 21 |
|
|---|
| 22 | SET(WEBSERVICE_OUTPUT_DIRECTORY ${WEB_OUTPUT_DIRECTORY}/webservice)
|
|---|
| 23 |
|
|---|
| 24 | # ADD_CUSTOM_COMMAND(
|
|---|
| 25 | # OUTPUT
|
|---|
| 26 | # "${WEBCLIENT_OUTPUT_DIRECTORY}/${STAFF_WSDL_FILE}"
|
|---|
| 27 | # COMMAND ${CMAKE_COMMAND} -E copy_directory ${STAFF_WSDL_PATH} ${WEBSERVICE_OUTPUT_DIRECTORY}
|
|---|
| 28 | # WORKING_DIRECTORY "${STAFF_WSDL_PATH}"
|
|---|
| 29 | # )
|
|---|
| 30 |
|
|---|
| 31 | FILE(GLOB src_HTDOCS "htdocs/*.*")
|
|---|
| 32 | ADD_CUSTOM_TARGET(webservice ALL
|
|---|
| 33 | COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/htdocs" "${WEBSERVICE_OUTPUT_DIRECTORY}"
|
|---|
| 34 | # DEPENDS "${WEBSERVICE_OUTPUT_DIRECTORY}/${STAFF_WSDL_FILE}"
|
|---|
| 35 | COMMENT "Preparing webclient"
|
|---|
| 36 | SOURCES ${src_HTDOCS}
|
|---|
| 37 | )
|
|---|