#Specify where  the header files for code files
include_directories(${HEADER_DIRS})

#Create variable SRCFiles containing a list of all code files in this directory
file(GLOB SRCFiles *.cpp)

#Add library and make shared
add_library(${PROJECT_NAME} SHARED ${SRCFiles})

#Installation of the program
INSTALL(TARGETS ${PROJECT_NAME}
         DESTINATION lib
         PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)