Bo Peng wrote:
Now, manifest...
According to http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx
, mt.exe will embed manifest file to lyx.exe. This is exactly what
scons is doing, except that the manifest file is copied from
qtcore.dll.manifest.
I remove lyx.exe.manifest from the build directory and lyx.exe starts
fine so I do not think we need to worry about lyx.exe.manifest when
packaging lyx.exe.
BTW, running mt.exe triggers a full re-link of lyx.exe. The webpage
suggests a better, but much more complicated method, which I have no
time to implement.
Either CMake does it right or maybe it is delegating that stuff to
MSVC... in the first case, then you can maybe borrow some idea from it?
Here is what's written in the "Command line" section of the project
properties (in one line):
/nologo /out:".\lyx-qt4.dir\Debug\lyx-qt4.exe.embed.manifest" /notify_update
Abdel.