close Warning: AdminModule failed with TracError: Unable to instantiate component <class 'trac.admin.web_ui.BasicsAdminPanel'> (super(type, obj): obj (type BasicsAdminPanel) is not an instance or subtype of type (Markup).)

source: src/testing/CMakeLists.txt@ 915dc18

Last change on this file since 915dc18 was 915dc18, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago
  • 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
  • Property mode set to 100644
File size: 2.4 KB
Line 
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
22SET(files_UI
23)
24
25SET(files_CPP
26 webserverprocess.cpp
27 private/webserverrunner.cpp
28)
29
30INCLUDE_DIRECTORIES(
31 ${CMAKE_CURRENT_BINARY_DIR}
32 ${CMAKE_CURRENT_SOURCE_DIR}
33 ${CMAKE_CURRENT_BINARY_DIR}/private
34 ${CMAKE_CURRENT_SOURCE_DIR}/private
35)
36ADD_DEFINITIONS(-DSI_BUILD_TESTING)
37SET(LINK_LIBRARIES ${QT_LIBRARIES})
38SET(LIBOUTDIR ${LIBRARY_OUTPUT_PATH})
39SET(SHAREDIR ${share_DIR})
40SET(WEBSERVICE_SERVER_DOCROOT ${WEB_OUTPUT_DIRECTORY})
41CONFIGURE_FILE(
42 ${CMAKE_CURRENT_SOURCE_DIR}/sitestingconfig.h.in
43 ${CMAKE_CURRENT_BINARY_DIR}/sitestingconfig.h
44)
45
46# QT5_WRAP_UI(libengsas_UI_H ${libengsas_UI})
47# QT5_ADD_TRANSLATION(libengsas_TRANS ${libengsas_TS})
48
49ADD_LIBRARY(libsiweather_testing SHARED
50 ${files_CPP}
51# ${files_UI_H}
52# ${files_TRANS}
53)
54
55TARGET_LINK_LIBRARIES(libsiweather_testing
56 ${LINK_LIBRARIES}
57)
58
59qt5_use_modules(libsiweather_testing Core Network)
60
61SET_TARGET_PROPERTIES(libsiweather_testing PROPERTIES
62 OUTPUT_NAME "siweather-testing"
63 VERSION ${TARGET_VERSION_MAJOR}.${TARGET_VERSION_MINOR}.${${PROJECT_NAME}_PATCH_LEVEL}
64 SOVERSION ${TARGET_VERSION_MAJOR})
65
66# INSTALL(
67# FILES ${files_TRANS}
68# DESTINATION ${qm_DIR}
69# COMPONENT library
70# )
71
72# SET(LIBENGSAS_VERSION ${${PROJECT_NAME}_VERSION})
73# SET(QTVERSION "${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
74# SET(depends_XML ${CMAKE_BINARY_DIR}/depends/libengsas-core.xml)
75# CONFIGURE_FILE(libengsas-core.xml.in ${depends_XML})
76# INSTALL(
77# FILES ${depends_XML}
78# DESTINATION ${depends_DIR}
79# COMPONENT library
80# )
Note: See TracBrowser for help on using the repository browser.