Kornel Benko schreef op 26-3-2014 21:28:

Am Mittwoch, 26. März 2014 um 21:08:42, schrieb Vincent van Ravesteijn <v...@lyx.org>

> Kornel Benko schreef op 26-3-2014 20:59:

>

> > diff --git a/CMakeLists.txt b/CMakeLists.txt

> > index 023c3e1..037fb4a 100644

> > --- a/CMakeLists.txt

> > +++ b/CMakeLists.txt

> > @@ -6,7 +6,8 @@

> >

> > cmake_minimum_required(VERSION 2.6.4)

> >

> > -set(LYX_PROJECT LyX)

> > +#needed to distinguish from trunk, so we can install both simultaneously

> > +set(LYX_PROJECT lyx21)

> >

> > enable_testing()

>

> Isn't there a dynamic way to do this. Parse configure.py or something ?

>

> Vincent

You mean from configure.ac?

But project() is called before configure.ac is parsed.

Anyway, we are searching for the line '^AC_INIT(....)$',

and ATM master and branch would give the same results.


ATM branch does not yet exist.

Why can't you install two applications simultaneously if they have the same projectname. Wouldn't this be an option when running CMake ? Just like how you specify where to install, etc.

I'm not objecting, but it would be nice to have it more flexibel. Could be useful for people having more exciting branches.

Any possibility to have something nicer, like "LyX21x" (note the same capital letters as the master version) ?

Vincent

Reply via email to