[CMake] Fixed out of source did for post build command copy and also for custom user project did auto detection