cmake - Nuget add custom variables into .nuspec file compatible to XSD scheme -


nuget obtains packages our own gallery server. script creates cmake script global variables each package location. want add package specific variables boost_includedir or boost_librarypath package relative pathes .nuspec file of package. however, variables shall usable in cmake later.

the .nuspec xsd schema not allow additional properties. there solution ?

here example of need:

<?xml version="1.0"?> <package>   <metadata>     <id>boost_x86_src</id>     <version>1.55.0</version>     <authors>fabian stern</authors>     <owners>fabian stern</owners>     <requirelicenseacceptance>false</requirelicenseacceptance>     <description>test package</description>     <dependencies />     <frameworkassemblies />     <references>       <reference file="signature.sig" />     </references>     <properties>         <add key="boost_includedir" value="include/win32" />         <add key="boost_librarypath" value="libs/win32" />     </properties>   </metadata> </package> 


Comments