Open thesmartwon opened 1 month ago
I'm interested in building your project on Windows. Would you be interested in replacing Makefile with CMakeLists.txt? If so, I could pick up the work.
Makefile
CMakeLists.txt
As an aside, to build WASM on Linux, I had to add -I/usr/include to emcc:
-I/usr/include
emcc
$(TARGET_WASM_LIB): examples/wasm/wasm.c sqlite-vec.c $(BUILD_DIR) $(WASM_DIR) - emcc -O3 -I./ -Ivendor -DSQLITE_CORE -c examples/wasm/wasm.c -o $(BUILD_DIR)/wasm.wasm.o - emcc -O3 -I./ -Ivendor -DSQLITE_CORE -c sqlite-vec.c -o $(BUILD_DIR)/sqlite-vec.wasm.o + emcc -O3 -I./ -Ivendor -I/usr/include -DSQLITE_CORE -c examples/wasm/wasm.c -o $(BUILD_DIR)/wasm.wasm.o + emcc -O3 -I./ -Ivendor -I/usr/include -DSQLITE_CORE -c sqlite-vec.c -o $(BUILD_DIR)/sqlite-vec.wasm.o emar rcs $@ $(BUILD_DIR)/wasm.wasm.o $(BUILD_DIR)/sqlite-vec.wasm.o
I'm interested in building your project on Windows. Would you be interested in replacing
Makefile
withCMakeLists.txt
? If so, I could pick up the work.As an aside, to build WASM on Linux, I had to add
-I/usr/include
toemcc
: