Merging with subprojects

PROJECT_SOURCE_DIR  should be done in Common.