Salome HOME
New CMake procedure.
[modules/kernel.git] / src / SALOMEDSImpl / CMakeLists.txt
index c98ef85b9d972a62d5c19238228b71baa2eb0851..9a22e8c43f6784ea6f5e4ee005a3acf67b20173b 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -90,66 +90,15 @@ SET(SalomeDSImpl_SOURCES
   SALOMEDSImpl_TMPFile.cxx
   SALOMEDSImpl_GenericVariable.cxx
   SALOMEDSImpl_ScalarVariable.cxx
-  SALOMEDSImpl_AttributeComment.hxx
-  SALOMEDSImpl_AttributeDrawable.hxx
-  SALOMEDSImpl_AttributeExpandable.hxx
-  SALOMEDSImpl_AttributeExternalFileDef.hxx
-  SALOMEDSImpl_AttributeFileType.hxx
-  SALOMEDSImpl_AttributeFlags.hxx
-  SALOMEDSImpl_AttributeGraphic.hxx
-  SALOMEDSImpl_AttributeInteger.hxx
-  SALOMEDSImpl_AttributeIOR.hxx
-  SALOMEDSImpl_AttributeLocalID.hxx
-  SALOMEDSImpl_AttributeName.hxx
-  SALOMEDSImpl_AttributeOpened.hxx
-  SALOMEDSImpl_AttributePersistentRef.hxx
-  SALOMEDSImpl_AttributePixMap.hxx
-  SALOMEDSImpl_AttributePythonObject.hxx
-  SALOMEDSImpl_AttributeReal.hxx
-  SALOMEDSImpl_AttributeReference.hxx
-  SALOMEDSImpl_AttributeSelectable.hxx
-  SALOMEDSImpl_AttributeSequenceOfInteger.hxx
-  SALOMEDSImpl_AttributeSequenceOfReal.hxx
-  SALOMEDSImpl_Attributes.hxx
-  SALOMEDSImpl_AttributeStudyProperties.hxx
-  SALOMEDSImpl_AttributeTable.hxx
-  SALOMEDSImpl_AttributeTableOfInteger.hxx
-  SALOMEDSImpl_AttributeTableOfReal.hxx
-  SALOMEDSImpl_AttributeTableOfString.hxx
-  SALOMEDSImpl_AttributeTarget.hxx
-  SALOMEDSImpl_AttributeTextColor.hxx
-  SALOMEDSImpl_AttributeTextHighlightColor.hxx
-  SALOMEDSImpl_AttributeTreeNode.hxx
-  SALOMEDSImpl_AttributeUserID.hxx
-  SALOMEDSImpl_AttributeParameter.hxx
-  SALOMEDSImpl_AttributeString.hxx
-  SALOMEDSImpl_Callback.hxx
-  SALOMEDSImpl_ChildIterator.hxx
-  SALOMEDSImpl_ChildNodeIterator.hxx
-  SALOMEDSImpl_Defines.hxx
-  SALOMEDSImpl_Driver.hxx
-  SALOMEDSImpl_GenericAttribute.hxx
-  SALOMEDSImpl_SComponent.hxx
-  SALOMEDSImpl_SComponentIterator.hxx
-  SALOMEDSImpl_SObject.hxx
-  SALOMEDSImpl_StudyBuilder.hxx
-  SALOMEDSImpl_StudyHandle.hxx
-  SALOMEDSImpl_Study.hxx
-  SALOMEDSImpl_StudyManager.hxx
-  SALOMEDSImpl_Tool.hxx
-  SALOMEDSImpl_UseCaseBuilder.hxx
-  SALOMEDSImpl_UseCaseIterator.hxx
-  SALOMEDSImpl_GenericVariable.hxx
-  SALOMEDSImpl_ScalarVariable.hxx
 ) 
 
 ADD_LIBRARY(SalomeDSImpl ${SalomeDSImpl_SOURCES})
 TARGET_LINK_LIBRARIES(SalomeDSImpl SALOMELocalTrace ${COMMON_LIBS} ${PLATFORM_LIBS})
-INSTALL(TARGETS SalomeDSImpl DESTINATION ${KERNEL_salomelib_LIBS})
+INSTALL(TARGETS SalomeDSImpl DESTINATION ${SALOME_INSTALL_LIBS})
 
 ADD_EXECUTABLE(testDS testDS.cxx)
 TARGET_LINK_LIBRARIES(testDS SalomeDSImpl ${COMMON_LIBS} ${PLATFORM_LIBS})
-INSTALL(TARGETS testDS DESTINATION ${KERNEL_salomebin_BINS})
+INSTALL(TARGETS testDS DESTINATION ${SALOME_INSTALL_BINS})
 
 FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 SET(NOINST_HEADERS_HXX
@@ -159,4 +108,4 @@ SET(NOINST_HEADERS_HXX
 FOREACH(HEADER ${NOINST_HEADERS_HXX})
   LIST(REMOVE_ITEM COMMON_HEADERS_HXX ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER})
 ENDFOREACH(HEADER ${NOINST_HEADERS_HXX})
-INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${KERNEL_salomeinclude_HEADERS})
+INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})