I am trying to create a NuGet package using CPack and want to pack files starting with '.'. I couldn't find any CPack variable to pass option NoDefaultExcludes. Also there is no variable to modify CPack generated nuspec file to add file tag.
Is there a way to resolve this just using CPack?