Get rid of the AddTarget* modules
Use PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_(SOURCE|BINARY)_DIR

The CMAKE_* variables give incorrect directory when sampgdk is included
as a subdirectory into another project while the PROJECT_* ones are
related to the current project regardless of whether the project is on
top of the build tree.