Skip to content

Commit 1ab648e

Browse files
casarolikr-t
authored andcommitted
build: install files
We will want these files to be installed when ocre is installed as a system library. We also need this to use Ocre Runtime cmake project in standard Makefile projects. We keep this in place for now, and later we will also install the supervisor. Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent 46fa733 commit 1ab648e

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/ocre/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,9 @@ include (../../cmake/state_information.cmake)
7676
if(OCRE_IMAGES)
7777
add_dependencies(OcreCore ${OCRE_IMAGES})
7878
endif()
79+
80+
install(TARGETS OcreCore DESTINATION lib)
81+
install(FILES include/ocre/container.h DESTINATION include/ocre)
82+
install(FILES include/ocre/library.h DESTINATION include/ocre)
83+
install(FILES include/ocre/context.h DESTINATION include/ocre)
84+
install(FILES include/ocre/ocre.h DESTINATION include/ocre)

src/runtime/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ target_include_directories(OcreRuntime
1414
INTERFACE
1515
include
1616
)
17+
18+
install(FILES include/ocre/runtime/vtable.h DESTINATION include/ocre/runtime)

0 commit comments

Comments
 (0)