FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/algorithms/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/distributed/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/dofs/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/fe/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/grid/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/hp/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/lac/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/matrix_free/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/meshworker/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/multigrid/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
- ${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}.*.inst.in
)
DEAL_II_ADD_LIBRARY(obj_multigrid OBJECT ${_src} ${_header} ${_inst})
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/numerics/*.h
)
-FILE(GLOB _src
+FILE(GLOB _src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
)
-FILE(GLOB _inst
+FILE(GLOB _inst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.inst.in
)