Re: [CMake] The else() in CMAKE_TOOLCHAIN_FILE

2013-04-06 Thread Ashi
Yeah, my current approach is exactly creating different toolchain files. Best Regards, ashi On Wed, Apr 3, 2013 at 8:19 PM, Yngve Inntjore Levinsen < yngve.levin...@gmail.com> wrote: > On 03. april 2013 13:13, Johannes Zarl wrote: > > Hi, > > > > On Tuesday, 2. April

Re: [CMake] The else() in CMAKE_TOOLCHAIN_FILE

2013-04-06 Thread Ashi
Hi, Daniel, I've tried this, but it doesn't work, it returns same error as before. And there are 2 lines in CMakeCache.txt: //No help, variable specified on the command line. A:BOOL=ON Best Regards, ashi On Tue, Apr 2, 2013 at 7:44 PM, Daniel Pfeifer wrote: > http://cmake.o

Re: [CMake] The else() in CMAKE_TOOLCHAIN_FILE

2013-04-01 Thread Ashi
value set in cmake. Could anyone give me some suggestion? Thanks! On Mon, Apr 1, 2013 at 7:47 PM, Ashi wrote: > Hi all, I've a problem in using else() in CMAKE_TOOLCHAIN_FILE, all files > are: > > #==CMakeLists.txt== > message("TEST") > > #==config.cmake==

[CMake] The else() in CMAKE_TOOLCHAIN_FILE

2013-04-01 Thread Ashi
or, TryCompile configure of cmake failed -- Configuring incomplete, errors occurred! My problem is why the else() statement is still run when A=true? Thanks, ashi -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please k