--- /dev/null
+
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigureBbtkConfigXmlForBuildTree.cmake)
+
+
+FILE(GLOB BBTK_CMAKE_FILES "*.cmake" "*.in")
+#MESSAGE(STATUS "cmake files = ${BBTK_CMAKE_FILES}")
+FOREACH(file ${BBTK_CMAKE_FILES})
+ GET_FILENAME_COMPONENT(filename "${file}" NAME)
+ CONFIGURE_FILE(
+ ${file}
+ ${CMAKE_CURRENT_BINARY_DIR}/${filename}
+ COPYONLY
+ )
+ENDFOREACH(file ${BBTK_CMAKE_FILES})
+
+INSTALL(
+ FILES ${BBTK_CMAKE_FILES}
+ DESTINATION lib/bbtk/${BBTK_CMAKE_REL_PATH}
+ )