1 # Copyright (C) 2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 # [ additional include dirs ]
23 ${CMAKE_CURRENT_SOURCE_DIR}
26 # [ headers to be installed ]
29 SimanIO_Configuration.hxx
35 # [ generated sources ]
36 # TODO: add procedure of automatic generation of the sources from the skeleton
37 # TODO: this will raise dependency of SimanIO on SIMAN (where skeleton file is)
38 # and Apache Axis2/Java (which is used to generate wrappings)
39 SET(_generated_SOURCES
43 CreateConfigFileResponse.cpp
48 SimanSalomeServiceStub.cpp
54 SimanIO_Configuration.cxx
59 # [ all sources to be compiled ]
66 ADD_LIBRARY(SimanIO SHARED ${SimanIO_SOURCES})
67 TARGET_LINK_LIBRARIES(SimanIO ${PLATFORM_LIBS} ${WSO2_LIBRARIES})
68 SET_TARGET_PROPERTIES(SimanIO PROPERTIES COMPILE_DEFINITIONS "AXIS2_DECLARE_EXPORT")
69 #SET_TARGET_PROPERTIES(SimanIO PROPERTIES COMPILE_DEFINITIONS "AXIS2_SVR_MULTI_THREADED")
70 INSTALL(TARGETS SimanIO EXPORT ${PROJECT_NAME}Targets DESTINATION lib)
71 INSTALL(FILES ${SimanIO_HEADERS} DESTINATION include)
74 #ADD_EXECUTABLE(TestCreateConfigFile TestCreateConfigFile.cpp)
75 #TARGET_LINK_LIBRARIES(TestCreateConfigFile SimanIO)
76 #SET_TARGET_PROPERTIES(SimanIO PROPERTIES COMPILE_DEFINITIONS "AXIS2_DECLARE_EXPORT")
77 ##SET_TARGET_PROPERTIES(SimanIO PROPERTIES COMPILE_DEFINITIONS "AXIS2_SVR_MULTI_THREADED")
78 #INSTALL(TARGETS TestCreateConfigFile DESTINATION bin)