cmake - How do I install shared data on Windows with CPack? -


i'm trying install data shared between few different programs make. signs seem point c:\programdata\${companyname}, fine, of course cpack objects absolute paths.

in case, i'm targeting wix installer.

i can't seem find documentation says ought using.

install (files ../config/netstat_protocol.xml destination ${install_ocu_dir} )

if want install_ocu_dir resolve c:\programdata\mycompanyname\ocu, what's right way?


here lines last tried:

set(install_ocu_dir "%programdata%/cyphy/ocu") install(directory destination ${install_ocu_dir} directory_permissions world_read world_write world_execute) install (files ../config/netstat_protocol.xml destination ${install_ocu_dir} )

this results in error: executing op:

settargetfolder(folder=c:\program files\cyocu 2.0.0\%programdata%\cyphy\ocu\) 


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -