1 # Copyright (C) 2012 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
19 INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/UseQT4EXT.cmake)
22 ${OMNIORB_INCLUDE_DIRS}
24 ${CMAKE_CURRENT_BINARY_DIR}
25 ${KERNEL_ROOT_DIR}/include/salome
26 ${CMAKE_SOURCE_DIR}/src/GuiHelpers
27 ${CMAKE_SOURCE_DIR}/src/TreeData
35 ${SalomeLifeCycleCORBA}
36 ${SalomeKernelHelpers}
39 SET(GUI_HEADERS mainwindow.hxx)
40 QT4_WRAP_CPP(GUI_HEADERS ${GUI_HEADERS})
41 SET(GUI_FORMS mainwindow.ui)
42 QT4_WRAP_UI(GUI_FORMS_HEADERS ${GUI_FORMS})
44 SET(TreeData_guitester_SOURCES
54 ADD_EXECUTABLE(TreeData_guitester ${TreeData_guitester_SOURCES} ${GUI_HEADERS} ${GUI_FORMS_HEADERS})
55 SET_TARGET_PROPERTIES(TreeData_guitester PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS} ${QT_DEFINITIONS} ${PLATFORM_DEFINITIONS}")
56 TARGET_LINK_LIBRARIES(TreeData_guitester ${COMMON_LIBS})
58 SET(TreeData_tester_SOURCES
63 ADD_EXECUTABLE(TreeData_tester ${TreeData_tester_SOURCES})
64 SET_TARGET_PROPERTIES(TreeData_tester PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS} ${QT_DEFINITIONS} ${PLATFORM_DEFINITIONS}")
65 TARGET_LINK_LIBRARIES(TreeData_tester ${COMMON_LIBS})
67 INSTALL(TARGETS TreeData_guitester TreeData_tester DESTINATION ${GUI_salomebin_BINS})