Add sdld to cmake
Some progress towards a working sdld