cmake: install header required to use openEMS library
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/17/head
parent
bb3e73f6bf
commit
4adf0842c0
|
@ -158,6 +158,8 @@ set(SOURCES
|
||||||
openems.cpp
|
openems.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(PUB_HEADERS openems.h)
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
ADD_SUBDIRECTORY( tools )
|
ADD_SUBDIRECTORY( tools )
|
||||||
ADD_SUBDIRECTORY( FDTD )
|
ADD_SUBDIRECTORY( FDTD )
|
||||||
|
@ -204,5 +206,6 @@ if (UNIX)
|
||||||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
|
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
|
||||||
endif()
|
endif()
|
||||||
endif ()
|
endif ()
|
||||||
|
INSTALL(FILES ${PUB_HEADERS} DESTINATION include/openEMS)
|
||||||
INSTALL( DIRECTORY matlab DESTINATION share/openEMS )
|
INSTALL( DIRECTORY matlab DESTINATION share/openEMS )
|
||||||
# TODO mpi, tarball, debug, release
|
# TODO mpi, tarball, debug, release
|
||||||
|
|
|
@ -47,5 +47,7 @@ TARGET_LINK_LIBRARIES(nf2ff_bin nf2ff)
|
||||||
INSTALL(TARGETS nf2ff_bin DESTINATION bin)
|
INSTALL(TARGETS nf2ff_bin DESTINATION bin)
|
||||||
INSTALL(TARGETS nf2ff DESTINATION lib${LIB_SUFFIX})
|
INSTALL(TARGETS nf2ff DESTINATION lib${LIB_SUFFIX})
|
||||||
|
|
||||||
|
INSTALL(FILES ${HEADERS} DESTINATION include/openEMS)
|
||||||
|
|
||||||
|
|
||||||
#TODO tarball, debug, release
|
#TODO tarball, debug, release
|
||||||
|
|
Loading…
Reference in New Issue