wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

"header files" missed while building and installing wamr in "product-mini/platforms/{x}"

Open yaozhongxiao opened this issue 3 years ago • 2 comments

When I build and install wamr runtime in ${WAMR_ROOT}/product-mini/platforms/{x} the "include" directory had been missed; IMHO, is it better to place the "install" to a shared module, such as runtime_install.cmake

yaozhongxiao avatar Jun 07 '22 03:06 yaozhongxiao

Hi, the file CMakeLists.txt under product-mini/platforms/{x} is to build the files for that platform only. Could you please try using the file CMakeLists.txt under ${WAMR_ROOT}?

wenyongh avatar Jun 09 '22 04:06 wenyongh

Hi, the file CMakeLists.txt under product-mini/platforms/{x} is to build the files for that platform onl

thanks for your reply.

IMHO, Even if the file CMakeLists.txt under product-mini/platforms/{x} is to build the files for that platform only, but it supports the install command, does it need to guarantee either full features or nothing? I can install the mini product for libs(.so, .a), but the headers are missed which leads to the installed artifacts is not integrated to be used.

All the above is just my concern, thanks all the same.

yaozhongxiao avatar Jun 09 '22 07:06 yaozhongxiao