summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 65661ff94..1b2c4976d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,6 +119,12 @@ ELSE()
ADD_LIBRARY(binaryen SHARED ${binaryen_SOURCES})
ENDIF()
TARGET_LINK_LIBRARIES(binaryen ${all_passes} wasm asmjs support)
+INSTALL(TARGETS binaryen DESTINATION lib)
+
+INSTALL(FILES src/binaryen-c.h DESTINATION include)
+INSTALL(FILES bin/wasm.js DESTINATION bin)
+INSTALL(FILES bin/binaryen.js DESTINATION bin)
+INSTALL(DIRECTORY src/js DESTINATION src)
SET(wasm-shell_SOURCES
src/tools/wasm-shell.cpp