Salome HOME
add method NameChanged to update title name
[modules/kernel.git] / src / DF / CMakeLists.txt
index 6dfba2a5f27b194af67dc0657e1adbf700966732..a3a2117c3b218a7cd09590e367c035b3996461cc 100755 (executable)
@@ -1,9 +1,9 @@
-# Copyright (C) 2012  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2016  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
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# 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
@@ -18,7 +18,7 @@
 #
 
 INCLUDE_DIRECTORIES(
-  ${Boost_INCLUDE_DIRS}
+  ${Boost_INCLUDE_DIR}
 )
 ADD_DEFINITIONS(${BOOST_DEFINITIONS})
 
@@ -29,21 +29,14 @@ SET(DF_SOURCES
   DF_Application.cxx
   DF_ChildIterator.cxx
   DF_Container.cxx
-  DF_Attribute.hxx
-  DF_Label.hxx
-  DF_Application.hxx
-  DF_Document.hxx
-  DF_ChildIterator.hxx
-  DF_Container.hxx
-  DF_definitions.hxx
 )
 
 ADD_LIBRARY(DF ${DF_SOURCES})
-INSTALL(TARGETS DF DESTINATION ${KERNEL_salomelib_LIBS})
+INSTALL(TARGETS DF EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 ADD_EXECUTABLE(testDF testDF.cxx)
 TARGET_LINK_LIBRARIES(testDF DF)
-INSTALL(TARGETS testDF DESTINATION ${KERNEL_salomebin_BINS})
+INSTALL(TARGETS testDF DESTINATION ${SALOME_INSTALL_BINS})
 
 FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
-INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${KERNEL_salomeinclude_HEADERS})
+INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})