[CMake] JWASM support

Hendrik Sattler post at hendrik-sattler.de
Tue Feb 3 08:43:26 EST 2009


Dmitry Bely schrieb:
> On Tue, Feb 3, 2009 at 1:09 AM, Alexander Neundorf
> <a.neundorf-work at gmx.net> wrote:
>> On Saturday 31 January 2009, Dmitry Bely wrote:
>>> I am trying to use JWASM (http://www.japheth.de/JWasm.html) with CMake
>>> 2.6.2 to do rather unusual thing: cross-compile a C++ project with
>>> MASM-syntax .asm files for Linux under Windows.
>> Hmm, if it is able to build masm files I think it should be added as an
>> additional compiler name in CMakeDetermineASM_MASMCompiler.cmake, I think a
>> separate ASM "dialect" shouldn't be necessary here.
> 
> OK, but then how to select which assembler should be used: masm or
> jwasm? Both can be present.

By presetting the right cmake variable? If both output for the same
architecture and both accept the same input, why does it matter which
one you use?
If you use a toolchain file because you are cross-compiling, then you do
not have this problem.

HS



More information about the CMake mailing list