Do not use directory name as application name, get from CMakeLists.txt instead.
Always generate plugins.cmake when resolving dependencies