cmake: install header required to use openEMS library

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/17/head
Thorsten Liebig 2016-08-17 23:50:26 +02:00
parent bb3e73f6bf
commit 4adf0842c0
2 changed files with 5 additions and 0 deletions

View File

@ -158,6 +158,8 @@ set(SOURCES
openems.cpp
)
set(PUB_HEADERS openems.h)
# libs
ADD_SUBDIRECTORY( tools )
ADD_SUBDIRECTORY( FDTD )
@ -204,5 +206,6 @@ if (UNIX)
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
endif()
endif ()
INSTALL(FILES ${PUB_HEADERS} DESTINATION include/openEMS)
INSTALL( DIRECTORY matlab DESTINATION share/openEMS )
# TODO mpi, tarball, debug, release

View File

@ -47,5 +47,7 @@ TARGET_LINK_LIBRARIES(nf2ff_bin nf2ff)
INSTALL(TARGETS nf2ff_bin DESTINATION bin)
INSTALL(TARGETS nf2ff DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${HEADERS} DESTINATION include/openEMS)
#TODO tarball, debug, release