Hi Ravi,
I've never used ASM_MASM (or any other language beside C, CXX and Fortran),
but if it follows normal CMake language rules, the following variables
should exist:
CMAKE_ASM_MASM_FLAGS
CMAKE_ASM_MASM_FLAGS_CONFIG
(where CONFIG is a placeholder for uppercase configuration name).
See the
Hi,
Thanks Petr for your comments. We had already tried this approach. But it did
not work.
We set the option “/D _WIN64” in CMAKE_ASM_MASM_FLAGS but it has no impact on
the execution of ml64.exe.
ml64.exe execution always shows only the following options i.e. does not
include “/D _WIN64”.
Hi,
In our cmake project, there is an assembler file (.asm extension) that needs to
be compiled to create object file (.obj) using microsoft macro assembler
(ml.exe for 32-bit and ml64.exe for 64-bit)
This is happening successfully.
But there is a preprocessor directive (_WIN64) as follows