[CMake] Cross-compiling on OS X/x86 for Linux/ARM, linking alibrary
Vladimir Lebedev-Schmidthof
vlebedev at envionsoftware.com
Tue Oct 20 10:18:47 EDT 2009
Hello Hendrik,
On Oct 20, 2009, at 17:50 PM, Hendrik Sattler wrote:
> Zitat von Vladimir Lebedev-Schmidthof <vlebedev at envionsoftware.com>:
> > I tried having toochain.cmake file in the same dir as CMakeLists.txt
> >
> > using
> > cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake .
> >
> > does not seem to even read that file. I tried to state full path,
> move
> > the file away, no luck.
>
> Since you are doing an in-source build: did you make sure prior to
> issuing the above command that you cleaned the source directory from
> all cmake-generated files from previous runs (especially removing any
> CMakeCache.txt files)?
>
>
No I didn't. I just did and all compiled and linked successfully.
Sorry for stupid questions then, I will remember to clean cmake-
generated files in future.
Thank you very much.
--
Sincerely Yours,
Vladimir Lebedev-Schmidthof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091020/64e0e094/attachment.htm>
More information about the CMake
mailing list