list(APPEND mesh_LIB_INCLUDES 
        AbstractMesh.cpp
        Edge.cpp
        AbstractFace.cpp
        QuadFace.cpp
        TriFace.cpp
        Node.cpp
        QuadMesh.cpp
        TriMesh.cpp
        FaceMesh.cpp
        LineMesh.cpp
        MeshPrimitives.cpp
        MeshBuilder.cpp)
        

# add the library
add_library(mesh SHARED ${mesh_LIB_INCLUDES})
target_link_libraries(mesh core geometry)

target_include_directories(mesh PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/")

set_target_properties( mesh PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )                          
set_property(TARGET mesh PROPERTY FOLDER src)
