source: externals/CMakeLists.txt@ 16cceaa

Last change on this file since 16cceaa was 16cceaa, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago
  • Added php-slim as an external (to use it, if enabled by the user; s. WITH_LOCAL_PHPSLIM variable in CMakeLists.txt)
    • Added CMake structure

Signed-off-by: Joachim Langenbach <joachim.langenbach@…>

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[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
22IF(WITH_LOCAL_PHPSLIM)
23 FILE(GLOB src_HTDOCS "php-slim/Slim/*.*")
24 ADD_CUSTOM_TARGET(php-slim ALL
25 COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/php-slim/Slim" "${WEB_OUTPUT_DIRECTORY}/webservice/Slim"
26 COMMENT "Preparing webclient"
27 SOURCES ${src_HTDOCS}
28 )
29ENDIF(WITH_LOCAL_PHPSLIM)
Note: See TracBrowser for help on using the repository browser.