visual c++ - cmake and isolated applications on windows -


considering plugin system following installation pattern:

/install_prefix/main.exe /install_prefix/plugins/plugin.dll 

if plugin depends on library compiled shared, dll should installed in exe path:

/install_prefix/main.exe /install_prefix/plugin_dependency.dll /install_prefix/plugins/plugin.dll 

i found isolated applications can used keep dependency side side plugin follows:

/install_prefix/main.exe /install_prefix/plugins/plugin_dependency.dll /install_prefix/plugins/plugin.dll 

this relies on manifest file generated visual. using cmake generate projects , can't find reference on "good" way handle isolated applications in cmake file.

did have use case?

edit:

this question propose answers on how embed existing manifest file. way generate manifest file in build process, in perfect world simple installing exports. like:

install(     targets target_name     manifest target_name.manifest ) 

this generate manifest file , embed target.


Comments