Re: Problem with CMake and package.C

2006-12-21 Thread Bo Peng
> If you change all @VAR@ to $VAR$ or vise vesa, autotools may have to > be changed as well, so ask Georg first. Scons handled both cases with > a little bit work. So IIUC there's nothing to do with Scons right? Right now, scons can handle both % and @, I will remove one of them. Bo

Re: Problem with CMake and package.C

2006-12-21 Thread Abdelrazak Younes
Bo Peng wrote: > Additionally cmake needs @VAR@ instead of %VAR% to > get VAR replaced with its value. > Doesn't configure also work with @? Then please commit > attached patch. If you change all @VAR@ to $VAR$ or vise vesa, autotools may have to be changed as well, so ask Georg first. Scons ha

Re: Problem with CMake and package.C

2006-12-21 Thread Abdelrazak Younes
Georg Baum wrote: Am Donnerstag, 21. Dezember 2006 08:52 schrieb Peter Kümmel: Bo Peng wrote: Additionally cmake needs @VAR@ instead of %VAR% to get VAR replaced with its value. Doesn't configure also work with @? Then please commit attached patch. If you change all @VAR@ to $VAR$ or vise vesa

Re: Problem with CMake and package.C

2006-12-21 Thread Georg Baum
Am Donnerstag, 21. Dezember 2006 08:52 schrieb Peter Kümmel: > Bo Peng wrote: > >> > Additionally cmake needs @VAR@ instead of %VAR% to > >> > get VAR replaced with its value. > >> > Doesn't configure also work with @? Then please commit > >> > attached patch. > > > > If you change all @VAR@ to $V

Re: Problem with CMake and package.C

2006-12-20 Thread Peter Kümmel
Bo Peng wrote: >> > Additionally cmake needs @VAR@ instead of %VAR% to >> > get VAR replaced with its value. >> > Doesn't configure also work with @? Then please commit >> > attached patch. > > If you change all @VAR@ to $VAR$ or vise vesa, autotools may have to > be changed as well, so ask Georg

Re: Problem with CMake and package.C

2006-12-20 Thread Bo Peng
> Additionally cmake needs @VAR@ instead of %VAR% to > get VAR replaced with its value. > Doesn't configure also work with @? Then please commit > attached patch. If you change all @VAR@ to $VAR$ or vise vesa, autotools may have to be changed as well, so ask Georg first. Scons handled both cases

Re: Problem with CMake and package.C

2006-12-20 Thread Abdelrazak Younes
Peter Kümmel wrote: I've applied this patch: Index: CMakeLists.txt === --- CMakeLists.txt (revision 16341) +++ CMakeLists.txt (working copy) @@ -83,6 +83,17 @@ endif(noconsole) endif(WIN32) +set(LYX_DIR "

Re: Problem with CMake and package.C

2006-12-20 Thread Peter Kümmel
Abdelrazak Younes wrote: > Hi Peter, > > package.C contains the following: > > string const top_srcdir() > { > static string const dir("%TOP_SRCDIR%"); > return dir; > } > > > string const hardcoded_localedir() > { > return string("%LOCALEDIR%"); > } > > > string const hardcoded_s