[cmake-developers] [CMake 0012465]: masm & msvc
Mantis Bug Tracker
mantis at public.kitware.com
Mon Sep 19 04:20:58 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12465
======================================================================
Reported By: Micha Renner
Assigned To:
======================================================================
Project: CMake
Issue ID: 12465
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-09-19 04:20 EDT
Last Modified: 2011-09-19 04:20 EDT
======================================================================
Summary: masm & msvc
Description:
as requested (http://www.cmake.org/pipermail/cmake/2011-August/045960.html)
The script...
# Copy & paste from CMake Wiki
# Works only if CMake runs in the Visual Studio DOS Window
SET(MASMFound FALSE)
# test whether it is a x86 machine and masm is available
IF("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86")
ENABLE_LANGUAGE(ASM_MASM)
IF(CMAKE_ASM_MASM_COMPILER_WORKS)
SET(MASMFound TRUE)
ENDIF(CMAKE_ASM_MASM_COMPILER_WORKS)
ENDIF("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86")
# no assembler found
IF(NOT MASMFound)
MESSAGE(STATUS NOT)
ENDIF(NOT MASMFound)
...still generates the message:
The ASM_MASM compiler identification is unknown <----------------------!
Found assembler: C:/Program Files/Microsoft Visual Studio
10.0/VC/bin/ml.exe
A subsequent...
ADD_EXECUTABLE(cTest CTest.c cAsm2.asm)
does not invoke the MASM
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-09-19 04:20 Micha Renner New Issue
2011-09-19 04:20 Micha Renner File Added: tm.zip
======================================================================
More information about the cmake-developers
mailing list