#!/bin/bash
# would need to switch this to go through each option tree
# OR put equivalent in common.gradle CONDITIONAL on the orginal nxm structure being present
# SYS
cp $NMROOT/sys/build/libs/main/shared/libnxm-sys_lin64.so $NMROOT/nxm/sys/test/test_cdefs_lin64.so
cp $NMROOT/sys/build/libs/main/shared/libnxm-sys_lin64.so $NMROOT/nxm/sys/lib/NTerminal_lin64.so
cp -R $NMROOT/sys/build/classes/java/main/* $NMROOT/
cp $NMROOT/sys/build/libs/main/shared/libnxm-sys_lin64.so $NMROOT/nxm/sys/lib/Native_lin64.so
cp -R $NMROOT/sys/build/classes/java/test/* $NMROOT/
# DSP
cp -R $NMROOT/dsp/build/classes/java/main/* $NMROOT/
cp -R $NMROOT/dsp/build/classes/java/test/* $NMROOT/

