Hi,
On Monday 15 August 2011, Micha Renner wrote:
> This 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)
>
> ...generates still the message:
> The ASM_MASM compiler identification is unknown <----------------------!
> Found assembler: C:/Program Files/Microsoft Visual Studio
> 10.0/VC/bin/ml.exe
How does your CMakeLists.txt look like ?
Please create an entry in the cmake bug tracker at
http://public.kitware.com/Bug
Please try to create a small example which you can attach there which
reproduces the problem.
Which version of cmake are you using ?
Which generator ?
ASM is currently only supported for the makefile-based generators, some
special support still has to be added for VisualStudio, I don't know about
Xcode.
Alex
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake