Changeset 915dc18 for CMakeLists.txt


Ignore:
Timestamp:
Sep 17, 2015, 9:11:21 PM (11 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
master
Children:
a2330fc
Parents:
e498070
Message:
  • Working c++ library webserviceclient class, which allows to register a station
    • Added tests for the webserviceclient class
    • Improved build system
    • Fixed some errors in Webservice Location.php and WebserviceApi.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    re498070 r915dc18  
    4646SET(WEBSERVICE_GEONAMES_USERNAME "" CACHE TYPE STRING)
    4747SET(WEBSERVICE_BASE_URL "/webservice/${WEBSERVICE_API_VERSION}")
     48SET(WEBSERVICE_BASE_URL_COMPLETE "http://@WEBSERVICE_SERVER_HOST@:@WEBSERVICE_SERVER_PORT@@WEBSERVICE_BASE_URL@")
    4849
    4950SET(BUILD_DEBUG_WANTED ${BUILD_DEBUG})
    … …  
    114115CONFIGURE_FILE("phpunit.xml.in" "${CMAKE_BINARY_DIR}/phpunit.xml")
    115116
     117SET(libsiweather_SOURCE_DIR "${CMAKE_SOURCE_DIR}/src/lib/")
     118SET(libsiweather_BINARY_DIR "${CMAKE_BINARY_DIR}/src/lib/")
     119SET(libsiweather_testing_SOURCE_DIR "${CMAKE_SOURCE_DIR}/src/testing/")
     120SET(libsiweather_testing_BINARY_DIR "${CMAKE_BINARY_DIR}/src/testing/")
     121
     122IF(BUILD_TESTING)
     123        FIND_PACKAGE(Php REQUIRED)
     124ENDIF()
     125
    116126ADD_SUBDIRECTORY(src)
    117127ADD_SUBDIRECTORY(externals)
Note: See TracChangeset for help on using the changeset viewer.