first commit - migrated from codeberg
This commit is contained in:
commit
5ead03e1f7
567 changed files with 102721 additions and 0 deletions
19
scripts/build_statistics_linux.sh
Executable file
19
scripts/build_statistics_linux.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
# Script to build the health analytics C++ library for Linux
|
||||
|
||||
# Create build directory
|
||||
mkdir -p build/linux/lib
|
||||
|
||||
# Compile the C++ library
|
||||
g++ -std=c++17 -shared -fPIC \
|
||||
-o build/linux/lib/libhealth_analytics.so \
|
||||
native/statistics/health_analytics.cpp \
|
||||
-I native/statistics
|
||||
|
||||
# Copy the library to all locations where it might be needed
|
||||
mkdir -p build/linux/x64/debug/bundle/lib
|
||||
cp build/linux/lib/libhealth_analytics.so build/linux/x64/debug/bundle/lib/
|
||||
cp build/linux/lib/libhealth_analytics.so build/linux/x64/debug/bundle/
|
||||
cp build/linux/lib/libhealth_analytics.so ./
|
||||
|
||||
echo "Health Analytics C++ library built successfully!"
|
Loading…
Add table
Add a link
Reference in a new issue