[CMake] toolchain file and initial cache

2011-12-13 Thread Tom Deblauwe
Hello, I have a question: Using the -C option you can specify an initial cache file. I have this case where I like to specify some initial cache values, but also a toolchain file. Can I combine this and add a line in the initial cache file: set(CMAKE_TOOLCHAIN_FILE toolchain.cmake CACHE

Re: [CMake] toolchain file and initial cache

2011-12-13 Thread Alexander Neundorf
On Tuesday 13 December 2011, Tom Deblauwe wrote: Hello, I have a question: Using the -C option you can specify an initial cache file. I have this case where I like to specify some initial cache values, but also a toolchain file. Can I combine this and add a line in the initial cache file: