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
34 # [ generated sources ]
35 # TODO: add procedure of automatic generation of the sources from the skeleton
36 # TODO: this will raise dependency of SimanIO on SIMAN (where skeleton file is)
37 # and Apache Axis2/Java (which is used to generate wrappings)
38 SET(_generated_SOURCES
42 CreateConfigFileResponse.cpp
47 SimanSalomeServiceStub.cpp
53 SimanIO_Configuration.cxx
58 # [ all sources to be compiled ]
65 ADD_LIBRARY(SimanIO SHARED ${SimanIO_SOURCES})
66 TARGET_LINK_LIBRARIES(SimanIO ${PLATFORM_LIBS} ${WSO2_LIBRARIES})
67 INSTALL(TARGETS SimanIO EXPORT ${PROJECT_NAME}Targets DESTINATION lib)
68 INSTALL(FILES ${SimanIO_HEADERS} DESTINATION include)
71 ADD_EXECUTABLE(TestCreateConfigFile TestCreateConfigFile.cpp)
72 TARGET_LINK_LIBRARIES(TestCreateConfigFile SimanIO)
73 INSTALL(TARGETS TestCreateConfigFile DESTINATION bin)