#
# Transform some cmake lists into a string that the old Makefile
# mechanism actually understands:
- #
- # TODO: Come up with an idea how to get the link line directly from
- # CMake...
- #
TO_STRING_AND_ADD_PREFIX(MAKEFILE_INCLUDE_DIRS "${CMAKE_INCLUDE_FLAG_CXX}"
${DEAL_II_USER_INCLUDE_DIRS}
${DEAL_II_USER_DEFINITIONS_${build}}
)
+ TO_STRING(MAKEFILE_TARGETS_${build}
+ ${MAKEFILE_LIBRARY_${build}}
+ ${DEAL_II_EXTERNAL_LIBRARIES}
+ ${DEAL_II_EXTERNAL_LIBRARIES_${build}}
+ )
+
+ #
+ # TODO: Come up with an idea how to get the link line directly from
+ # CMake...
+ #
FOREACH(_lib
${MAKEFILE_LIBRARY_${build}}
${DEAL_II_EXTERNAL_LIBRARIES}
COMPONENT compat_files
)
ENDIF()
+
# set paths to all the libraries we need:
-lib-deal2.o = ${DEAL_II_LIBRARIES_RELEASE}
-lib-deal2.g = ${DEAL_II_LIBRARIES_DEBUG}
+lib-deal2.o = ${MAKEFILE_TARGETS_RELEASE}
+lib-deal2.g = ${MAKEFILE_TARGETS_DEBUG}
# include paths as command line flags. while compilers allow a space between