-## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+## Copyright (C) 2014-2017 CEA/DEN, EDF R&D
+##
+## 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
+## version 2.1 of the License, or (at your option) any later version.
+##
+## 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<mailto:webmaster.salome@opencascade.com>
+##
INCLUDE(Common)
Model_AttributeBoolean.h
Model_AttributeIntArray.h
Model_AttributeString.h
+ Model_AttributeStringArray.h
Model_AttributeInteger.h
Model_AttributeSelection.h
Model_AttributeSelectionList.h
+ Model_AttributeTables.h
Model_BodyBuilder.h
Model_Events.h
Model_Expression.h
Model_ResultCompSolid.h
Model_ResultConstruction.h
Model_ResultPart.h
+ Model_ResultField.h
Model_ResultGroup.h
Model_ResultParameter.h
Model_FeatureValidator.h
Model_AttributeBoolean.cpp
Model_AttributeIntArray.cpp
Model_AttributeString.cpp
+ Model_AttributeStringArray.cpp
Model_AttributeInteger.cpp
Model_AttributeSelection.cpp
Model_AttributeSelectionList.cpp
+ Model_AttributeTables.cpp
Model_BodyBuilder.cpp
Model_Events.cpp
Model_Expression.cpp
Model_ResultCompSolid.cpp
Model_ResultConstruction.cpp
Model_ResultPart.cpp
+ Model_ResultField.cpp
Model_ResultGroup.cpp
Model_ResultParameter.cpp
Model_FeatureValidator.cpp
${CAS_SHAPE}
${CAS_TKBO}
)
-
-
-
-ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
-ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
-
-INCLUDE_DIRECTORIES(
+SET(PROJECT_INCLUDES
../ModelAPI
../Events
../Config
${CAS_INCLUDE_DIRS}
)
+
+IF(TKTInspector)
+ ADD_DEFINITIONS(-DTINSPECTOR)
+ENDIF()
+
+ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
+ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
+TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
+
+INCLUDE_DIRECTORIES(${PROJECT_INCLUDES})
+
INSTALL(TARGETS Model DESTINATION ${SHAPER_INSTALL_BIN})