summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f4554465..be3eb3d6d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,7 @@ ENDIF()
SET(support_SOURCES
src/support/colors.cpp
src/support/command-line.cpp
+ src/support/file.cpp
)
ADD_LIBRARY(support STATIC ${support_SOURCES})
@@ -35,6 +36,7 @@ SET(binaryen-shell_SOURCES
src/passes/LowerIfElse.cpp
src/passes/NameManager.cpp
src/passes/RemoveImports.cpp
+ src/passes/RemoveUnusedNames.cpp
)
ADD_EXECUTABLE(binaryen-shell
${binaryen-shell_SOURCES})
@@ -45,6 +47,8 @@ INSTALL(TARGETS binaryen-shell DESTINATION bin)
SET(asm2wasm_SOURCES
src/asm2wasm-main.cpp
+ src/pass.cpp
+ src/passes/RemoveUnusedNames.cpp
src/emscripten-optimizer/parser.cpp
src/emscripten-optimizer/simple_ast.cpp
src/emscripten-optimizer/optimizer-shared.cpp