[CMake] Visual Studio and Windows Mobile SDKs

Andreas Pokorny andreas.pokorny at gmail.com
Tue Jul 1 05:39:33 EDT 2008


Hi Clemens,

2008/7/1 Clemens Arth <Clemens.Arth at gmx.at>:
> Hi again,
>
>> I took a look at your files and I think you have done a pretty good job
>> and that should work out well. For some reason I had to force the compiler
>> setting to be MSVC, because cmake did not set it automatically.
>
> I also had to force the CXX compiler setting to MSVC.
>
>> However, the linker returns an error for mobile 5 and 6:
>>
>> module machine type 'X86' conflicts with target machine type 'THUMB'
>
> Well, the main problem seems to be the fact, that after all the configuration stuff cmake still sticks to the usual x86 compiler for compiling the test program:

Could you check that the path to cl.exe or clarm.exe set inside the
TOOLCHAIN File is correct?
I do not know how cmake behaves when it cannot find the compiler. But
accordung to the output,
it looks like the normal windows cl compiler.

kind regards
Andreas


More information about the CMake mailing list