Am 09.01.2013 um 15:54 schrieb Kornel Benko <[email protected]>:
> Am Mittwoch, 9. Januar 2013 um 15:38:16, schrieb Stephan Witt
> <[email protected]>
> > Am 09.01.2013 um 15:24 schrieb Kornel Benko <[email protected]>:
> >
> > > Am Mittwoch, 9. Januar 2013 um 15:01:09, schrieb Stephan Witt
> > > <[email protected]>
> > > > > Do you use 'make -jxxxx' ? I am unsure about the parallel compilation
> > > > > …
> > > >
> > > > I'm having this problem too with Xcode and it's using definitively all
> > > > (8) cpus for parallel compilation.
> > >
> > > And it is only with a fresh build-tree?
> >
> > Im building out-of-source only.
> > The build directory is removed completely before calling cmake.
> >
> > > If so, then, maybe, we could have a solution.
> > >
> > > In a fresh tree, the file lyx_date.h is missing.
> >
> > Yes it is missing. That's the error message and I've verified that and
> > created it manually as a temporary work-around.
>
> In that case, 'cmake -E copy_if_different' is not working as described.
> Try the attached please.
>
> > Stephan
>
> Kornel
> <LyXGetVersion.cmake>
This one works, thank you. The relevant output is:
Build target lyx_version
PhaseScriptExecution "CMake Rules"
/Users/stephan/git/lyx-build/cmake/2.1.0dev/LyX.build/Debug/lyx_version.build/Script-62C5E8565A0E43C7A37591A3.sh
cd /Users/stephan/git/lyx
/bin/sh -c
/Users/stephan/git/lyx-build/cmake/2.1.0dev/LyX.build/Debug/lyx_version.build/Script-62C5E8565A0E43C7A37591A3.sh
echo ""
/opt/local/bin/cmake -DTOP_SRC_DIR=/Users/stephan/git/lyx
-DTOP_CMAKE_PATH=/Users/stephan/git/lyx/development/cmake
-DTOP_BINARY_DIR=/Users/stephan/git/lyx-build/cmake/2.1.0dev
-DLYX_DATE=2011-04-29 -P
/Users/stephan/git/lyx/development/cmake/scripts/LyXGetVersion.cmake
-- Git-hash = df57b70
Stephan