i think you should add pas files into Environment options ->library

i never used project option to add extra units