Hmm, you may be right. I've looked more closely at the script and there are some things still wrong, e.g. "deploy" option is not implemented but advertised as a command line option. I admit, I don't like the fact that the script needs to be edited either.

If there is interest in this, I am willing to revamp this script to do a proper build + install and properly treat arguments with no editing of the script required -- either pass paths as options or use a small conf file. That way new versions of the script can always be pulled.

I still don't see the added value of this script. The script is doing nothing else than calling cmake with predefined arguments. You said you want to automate the detection of the arguments, but this is not what the build script does, this is what is CMake does.

The small conf file is not the ideal solution either. You want CMake to try to find all relevant paths first, and if it an't find a certain path, you need to supply it manually. Using a small conf file means that you have to supply _all_ paths manually, which seems like more annoying to me.

Please try the CMake GUI and give feedback on what can be improved. Note that once you have run the CMake GUI to configure, you can compile LyX from the comand line very easily if you want, because the configuration parameters are cached.

Vincent

Reply via email to