add_executable( FEM4EllipticPDE_bhmag FEM4EllipticPDE_bhmag.cpp ) target_link_libraries( FEM4EllipticPDE_bhmag "lemmacore" "fem4ellipticpde") #add_executable( FEM4EllipticPDE FEM4EllipticPDE.cpp ) #target_link_libraries( FEM4EllipticPDE "lemmacore" "fem4ellipticpde") add_executable( merge merge.cpp ) target_link_libraries( merge "lemmacore" "fem4ellipticpde") add_executable( VTKDC VTKDC.cpp ) target_link_libraries( VTKDC "lemmacore" "fem4ellipticpde") add_executable( VTKEdgeG VTKEdgeG.cpp ) target_link_libraries( VTKEdgeG "lemmacore" "fem4ellipticpde") add_executable( VTKEdgeGsphere VTKEdgeGsphere.cpp ) target_link_libraries( VTKEdgeGsphere "lemmacore" "fem4ellipticpde") add_executable( setupGravSphere setupGravSphere.cpp ) target_link_libraries( setupGravSphere "lemmacore" "fem4ellipticpde") add_executable( ResampleWithDataset ResampleWithDataset.cpp ) target_link_libraries( ResampleWithDataset "lemmacore" "fem4ellipticpde") #add_executable( LinearMag_Sphere LinearMag/Sphere.cpp ) #target_link_libraries( LinearMag_Sphere "lemmacore" "fem4ellipticpde" ) add_subdirectory(LinearMag) install(DIRECTORY "LinearMag" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/FEM4EllipticPDE/" PATTERN "*.cpp" EXCLUDE PATTERN "CMakeLists.txt" EXCLUDE ) INSTALL_TARGETS( "/share/FEM4EllipticPDE/" FEM4EllipticPDE_bhmag merge VTKDC VTKEdgeG VTKEdgeGsphere ResampleWithDataset ) INSTALL_TARGETS( "/share/FEM4EllipticPDE/grav" setupGravSphere ) install( DIRECTORY "borehole" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/FEM4EllipticPDE/" PATTERN .svn EXCLUDE ) install( DIRECTORY "grav" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/FEM4EllipticPDE/" PATTERN .svn EXCLUDE ) install( DIRECTORY "magnet" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/FEM4EllipticPDE/" PATTERN .svn EXCLUDE ) install( DIRECTORY "DC" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/FEM4EllipticPDE/" PATTERN .svn EXCLUDE )