Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
/.vscode/
node_modules
*.so
*.dylib
package-lock.json
8 changes: 4 additions & 4 deletions src/starkware/crypto/ffi/js/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
add_custom_command(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/libcrypto_c_exports.so
OUTPUT libcrypto${CMAKE_SHARED_LIBRARY_SUFFIX}
COMMAND
${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_BINARY_DIR}/../libcrypto_c_exports.so
${CMAKE_CURRENT_SOURCE_DIR}/libcrypto_c_exports.so
${CMAKE_CURRENT_BINARY_DIR}/../libcrypto_c_exports${CMAKE_SHARED_LIBRARY_SUFFIX}
${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS crypto_c_exports
)

add_custom_target(js_test ALL
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libcrypto_c_exports.so
DEPENDS libcrypto${CMAKE_SHARED_LIBRARY_SUFFIX}
)

add_test(
Expand Down