Am 19.01.2016 um 17:15 schrieb Peter Kümmel:
I'll move them again out of the source tree.
But then users might have a problem. For example my git older for master
is D:\LyXGit\Master. It is forbidden to create a new folder in
D:\LyXGit
to assure that no folders can be deleted there. (E.g. that due to a bug
or whatever D:\LyXGit\Master is deleted.) Within master one can of
course write. I wrote this once somewhere and that is why I set up my
git folder this way.
But OK, your decision.
- I also added
RMDIR /S /Q %LYX_SOURCE%\build-result-5-2010
to assure a clean rebuild. Otherwise files that were removed or
renamed in Git or for a new LyX release could still be in the
LYX_INSTALLED folder.
This was already there.
But at the wrong position. It must be before
set LYX_BUILD=%LYX_SOURCE%\..\build-result-5-2010
Otherwise you get an error when compiling LyX with your script the
second time. because when executing the script the second time the
folder build-result-5-2010 already exists so the creation of it fails.
Th result is that LyX is then built inside the CMake folder and lots of
warnings - things that newbies won't understand and that is not the
desired behavior.
Just execute the script twice to the the problem.
Therefore please leave RMDIR before set LYX_BUILD.
----------
Could you nevertheless please look at the CMake bugs:
http://www.lyx.org/trac/ticket/9927
so that others won't have the same problems as I had?
many thanks and best regards
Uwe