geom/src/GEOMToolsGUI/CMakeLists.txt

119 lines
3.2 KiB
CMake
Raw Normal View History

2014-02-18 12:44:41 +06:00
# Copyright (C) 2012-2014 CEA/DEN, EDF R&D, OPEN CASCADE
2013-09-10 18:47:38 +06:00
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
2014-02-18 12:44:41 +06:00
# version 2.1 of the License, or (at your option) any later version.
2013-09-10 18:47:38 +06:00
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
INCLUDE(${QT_USE_FILE})
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
2013-09-17 18:52:41 +06:00
${PTHREAD_INCLUDE_DIR}
2013-09-10 18:47:38 +06:00
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${GUI_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}/idl
${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}/src/OBJECT
${PROJECT_SOURCE_DIR}/src/GEOMClient
${PROJECT_SOURCE_DIR}/src/GEOMImpl
${PROJECT_SOURCE_DIR}/src/GEOMGUI
${PROJECT_SOURCE_DIR}/src/GEOMBase
${PROJECT_SOURCE_DIR}/src/Material
2014-05-21 19:42:20 +06:00
${PROJECT_SOURCE_DIR}/src/DependencyTree
2014-05-23 14:09:19 +06:00
${PROJECT_SOURCE_DIR}/src/GEOMUtils
2013-09-10 18:47:38 +06:00
${CMAKE_CURRENT_SOURCE_DIR}
)
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
${CAS_DEFINITIONS}
${OMNIORB_DEFINITIONS}
${QT_DEFINITIONS}
)
# libraries to link to
SET(_link_LIBRARIES
GEOMObject
GEOMClient
GEOMImpl
GEOM
GEOMBase
Material
2014-05-21 19:42:20 +06:00
DependencyTree
2013-09-10 18:47:38 +06:00
)
# --- headers ---
SET(GEOMToolsGUI_HEADERS
GEOMToolsGUI.h
GEOM_ToolsGUI.hxx
GEOMToolsGUI_NbIsosDlg.h
GEOMToolsGUI_DeflectionDlg.h
GEOMToolsGUI_TransparencyDlg.h
GEOMToolsGUI_DeleteDlg.h
GEOMToolsGUI_MarkerDlg.h
GEOMToolsGUI_PublishDlg.h
GEOMToolsGUI_MaterialPropertiesDlg.h
GEOMToolsGUI_LineWidthDlg.h
GEOMToolsGUI_ReduceStudyDlg.h
2013-09-10 18:47:38 +06:00
)
# header files / to be processed by moc
SET(_moc_HEADERS
GEOMToolsGUI_TransparencyDlg.h
GEOMToolsGUI_NbIsosDlg.h
GEOMToolsGUI_DeflectionDlg.h
GEOMToolsGUI_DeleteDlg.h
GEOMToolsGUI_MarkerDlg.h
GEOMToolsGUI_PublishDlg.h
GEOMToolsGUI_MaterialPropertiesDlg.h
GEOMToolsGUI_LineWidthDlg.h
GEOMToolsGUI_ReduceStudyDlg.h
2013-09-10 18:47:38 +06:00
)
# --- sources ---
# sources / moc wrappings
QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
SET(GEOMToolsGUI_SOURCES
GEOMToolsGUI.cxx
GEOMToolsGUI_1.cxx
GEOMToolsGUI_TransparencyDlg.cxx
GEOMToolsGUI_NbIsosDlg.cxx
GEOMToolsGUI_DeflectionDlg.cxx
GEOMToolsGUI_DeleteDlg.cxx
GEOMToolsGUI_MarkerDlg.cxx
GEOMToolsGUI_PublishDlg.cxx
GEOMToolsGUI_MaterialPropertiesDlg.cxx
GEOMToolsGUI_LineWidthDlg.cxx
GEOMToolsGUI_ReduceStudyDlg.cxx
2013-09-10 18:47:38 +06:00
${_moc_SOURCES}
)
# --- rules ---
ADD_LIBRARY(GEOMToolsGUI ${GEOMToolsGUI_SOURCES})
TARGET_LINK_LIBRARIES(GEOMToolsGUI ${_link_LIBRARIES})
INSTALL(TARGETS GEOMToolsGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
2014-05-14 21:49:24 +06:00
INSTALL(FILES ${GEOMToolsGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})