This commit updates the examples/build_system/cmake/idf_as_lib example for the new build system and adds the newly created example at examples/build_system/cmakev2/features/idf_as_lib.