
include_directories(${CMAKE_SOURCE_DIR}/src/tools ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )


########### next target ###############

set(kryomolecule_LIB_SRCS coordinate.cpp molecule.cpp atom.cpp)

kde4_add_library(kryomolecule SHARED ${kryomolecule_LIB_SRCS})

target_link_libraries(kryomolecule kryotools ${KDE4_KDECORE_LIBS}  )

set_target_properties(kryomolecule PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )

install(TARGETS kryomolecule ${INSTALL_TARGETS_DEFAULT_ARGS})


########### install files ###############




#original Makefile.am contents follow:

#
#lib_LTLIBRARIES = libkryomolecule.la
#
#INCLUDES = -I$(top_srcdir)/src/tools $(all_includes)
#
#libkryomolecule_la_CXXFLAGS = -fPIC
#
#noinst_HEADERS = coordinate.h frequency.h threshold.h aim.h atom.h molecule.h
#
#libkryomolecule_la_SOURCES = coordinate.cpp molecule.cpp atom.cpp
#
