On 06/05/2011 10:28, Stephan Witt wrote:
Am 06.05.2011 um 10:15 schrieb Kornel:

Am Freitag, 6. Mai 2011 schrieb Stephan Witt:
Am 06.05.2011 um 09:08 schrieb Kornel:
Am Freitag, 6. Mai 2011 schrieb Stephan Witt:
Bug fixing
* Run in place, without using LYX_DIR_20x

    copy the resources (bind/ ui/ layouts/ dicts/ thes/ ...) to the
    build

stage (?) This is what I do: copy them from an autotools install into
the cmake project.
We may as well try to find the appropriate files also from the source
tree. As it is now, lyx assumes to be installed relative to this files,
but at compile time we know, where the data is.
Of course this would be the best option, but I don't know if this would
work as it should. Are you sure the install does not change the structure
of the resource tree? But I can give it a try, if you want...
Otherwise calling with '-sysdir ...' would not work, I think.
Try it. I will be there in case of cmake problems.
The cmake part of the problem is:
I have to add -sysdir manually in the XCode GUI again and again after I've 
called cmake.
This is not acceptable. That's why I've made a script which:
* calls cmake with the switches I need
* copies the resources into the created cmake project

The solution would be to create the XCode project with the -sysdir arguments at 
first.
Then the copy wouldn't be necessary. Or any other idea would be fine.
Unfortunately cmake recreates the XCode projects from scratch every time, AFAIK.

Then use QtCreator ;-)

Abdel.

Reply via email to