Hello Hendrik,

On Oct 20, 2009, at 17:50 PM, Hendrik Sattler wrote:
Zitat von Vladimir Lebedev-Schmidthof <vlebe...@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

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to